Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: remoting/client/ios/domain/user_info.h

Issue 2854273002: [CRD iOS] Implementing save to keychain and user defaults for login info. Refactor remoting service. (Closed)
Patch Set: Removing authenticate with refresh token from pub api. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/ios/domain/host_info.h ('k') | remoting/client/ios/domain/user_info.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/domain/user_info.h
diff --git a/remoting/client/ios/domain/user_info.h b/remoting/client/ios/domain/user_info.h
index 5bbae710ff5aede3b7c499df3ebadfb79fe93b1c..8c463317839959a8ad2282d65446236e4c0e56e6 100644
--- a/remoting/client/ios/domain/user_info.h
+++ b/remoting/client/ios/domain/user_info.h
@@ -14,9 +14,15 @@
@property(nonatomic, copy) NSString* userId;
@property(nonatomic, copy) NSString* userFullName;
@property(nonatomic, copy) NSString* userEmail;
+@property(nonatomic, copy) NSString* refreshToken;
+// Convert a json blob into a |UserInfo| object. Most useful for test.
+// TODO(nicholss): Might move this out into a catagory.
+ (UserInfo*)parseListFromJSON:(NSMutableData*)data;
+// This returns the authenticated state of the this user info object.
+- (BOOL)isAuthenticated;
+// Compare two |UserInfo| objects.
- (NSComparisonResult)compare:(UserInfo*)user;
@end
« no previous file with comments | « remoting/client/ios/domain/host_info.h ('k') | remoting/client/ios/domain/user_info.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698