| Index: chromeos/login/auth/user_context.h
|
| diff --git a/chromeos/login/auth/user_context.h b/chromeos/login/auth/user_context.h
|
| index bac7f4f5d4ea1a908ddd53db2cc1077b14f953a3..727df7f484649b5759be9fdac81eb0bd310f0d45 100644
|
| --- a/chromeos/login/auth/user_context.h
|
| +++ b/chromeos/login/auth/user_context.h
|
| @@ -48,6 +48,7 @@ class CHROMEOS_EXPORT UserContext {
|
| Key* GetKey();
|
| const std::string& GetAuthCode() const;
|
| const std::string& GetRefreshToken() const;
|
| + const std::string& GetAccessToken() const;
|
| const std::string& GetUserIDHash() const;
|
| bool IsUsingOAuth() const;
|
| AuthFlow GetAuthFlow() const;
|
| @@ -63,6 +64,7 @@ class CHROMEOS_EXPORT UserContext {
|
| void SetKey(const Key& key);
|
| void SetAuthCode(const std::string& auth_code);
|
| void SetRefreshToken(const std::string& refresh_token);
|
| + void SetAccessToken(const std::string& access_token);
|
| void SetUserIDHash(const std::string& user_id_hash);
|
| void SetIsUsingOAuth(bool is_using_oauth);
|
| void SetAuthFlow(AuthFlow auth_flow);
|
| @@ -79,6 +81,7 @@ class CHROMEOS_EXPORT UserContext {
|
| Key key_;
|
| std::string auth_code_;
|
| std::string refresh_token_;
|
| + std::string access_token_; // OAuthLogin scoped access token.
|
| std::string user_id_hash_;
|
| bool is_using_oauth_;
|
| AuthFlow auth_flow_;
|
|
|