MSALAccount
Objective-C
@interface MSALAccount : NSObject <MSALAccount, NSCopying>
Swift
class MSALAccount : NSObject, MSALAccountProtocol, NSCopying
Representation of an authenticated account in the Microsoft identity platform. MSALAccount class implements MSALAccount
protocol.
Note
MSALAccount should be never created directly by an application. Instead, it is returned by MSAL as a result of getting a token interactively or silently (seeMSALResult
), or looked up by MSAL from cache (e.g. see -[MSALPublicClientApplication allAccounts:]
)
-
Unavailable
-[MSALAccount new]
is unavailable.Note
MSALAccount should be never created directly.Declaration
Objective-C
+ (nonnull instancetype)new;
-
Unavailable
-[[MSALAccount alloc] init]
is unavailable.Note
MSALAccount should be never created directly.Declaration
Objective-C
- (nonnull instancetype)init;