- The account selector now has Add Account item - Last selected account is kept - Account token refreshment is done on startup and on select if need - Moved JIT status to LauncherMenuViewController's toolbar - Primary View Controller is now LauncherSplitViewController - More unmentioned(?), see diff.
18 lines
478 B
Objective-C
18 lines
478 B
Objective-C
#import "BaseAuthenticator.h"
|
|
|
|
@implementation LocalAuthenticator
|
|
|
|
- (void)loginWithCallback:(Callback)callback {
|
|
self.authData[@"oldusername"] = self.authData[@"username"] = self.authData[@"input"];
|
|
self.authData[@"accessToken"] = @"0";
|
|
self.authData[@"profileId"] = @"00000000-0000-0000-0000-000000000000";
|
|
callback(nil, [super saveChanges]);
|
|
}
|
|
|
|
- (void)refreshTokenWithCallback:(Callback)callback {
|
|
// Nothing to do
|
|
callback(nil, YES);
|
|
}
|
|
|
|
@end
|