AadOAuth class
Authenticates a user with Azure Active Directory using OAuth2.0.
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(
) → Future< void> - Perform Azure AD logout.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited