MobileOAuth class
Constructors
- MobileOAuth.new(Config config)
-
Instantiating MobileAadOAuth authentication.
config
Parameters according to official Microsoft Documentation.
Properties
-
hasCachedAccountInformation
→ Future<
bool> -
no setteroverride
- 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.
override
-
getIdToken(
) → Future< String?> -
Retrieve cached OAuth Id Token.
override
-
login(
{bool refreshIfAvailable = false}) → Future< Either< Failure, Token> > -
Perform Azure AD login.
override
-
logout(
) → Future< void> -
Perform Azure AD logout.
override
-
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