AadOAuth class

Authenticates a user with Azure Active Directory using OAuth2.0.

Constructors

AadOAuth(Config config)

Properties

hasCachedAccountInformation Future<bool>
Checks if MSAL has cached information
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAccessToken() Future<String?>
Retrieve cached OAuth Access Token.
getIdToken() Future<String?>
Retrieve cached OAuth Id Token.
login({bool refreshIfAvailable = false}) Future<Either<Failure, Token>>
Perform Azure AD login.
logout({bool showWebPopup = true}) Future<void>
Perform Azure AD logout.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshToken() Future<Either<Failure, Token>>
Tries to silently login. will try to use the existing refresh token to get a new token.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited