MSALNativeAuthUserAccountResult
@objc
public class MSALNativeAuthUserAccountResult : NSObject
Class that groups account and token information.
-
The account object that holds account information.
Declaration
Swift
@objc public let account: MSALAccount
-
Get the ID token for the account.
Declaration
Swift
@objc public var idToken: String? { get }
-
Removes all the data from the cache.
Declaration
Swift
@objc public func signOut()
-
Retrieves an access token for the account.
Declaration
Swift
@objc public func getAccessToken(forceRefresh: Bool = false, correlationId: UUID? = nil, delegate: CredentialsDelegate)
Parameters
forceRefresh
Ignore any existing access token in the cache and force MSAL to get a new access token from the service.
correlationId
Optional. UUID to correlate this request with the server for debugging.
delegate
Delegate that receives callbacks for the Get Access Token flow.