AuthenticationService class
Constructors
-
AuthenticationService({required MSALPublicClientApplicationConfig config, required List<
String> defaultScopes, MSALWebviewParameters? webParams})
Properties
-
accounts
→ Stream<
List< MSALAccount> ?> -
no setter
-
authenticationStatus
→ Stream<
AuthenticationStatus> -
Stream for updates to authentication status
no setter
- config → MSALPublicClientApplicationConfig
-
final
- currentAccount → MSALAccount?
-
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
- webParams → MSALWebviewParameters?
-
final
Methods
-
acquireToken(
{MSALInteractiveTokenParameters? params}) → Future< MSALResult?> -
acquireTokenSilently(
{MSALSilentTokenParameters? params}) → Future< MSALResult?> -
dispose(
) → void -
init(
) → Future< void> -
loadAccounts(
) → Future< void> -
login(
{Uri? authorityOverride}) → Future -
logout(
{MSALSignoutParameters? signoutParameters, MSALAccount? account}) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCurrentAccount(
MSALAccount account) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited