FlutterMsalMobilePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterMsalMobilePlatform
Implementers

Constructors

FlutterMsalMobilePlatform()
Constructs a FlutterMsalMobilePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acquireToken({required List<String> scopes}) Future<MsalUser?>
Acquire a token interactively for the given scopes return UserAdModel contains user information but token and expiration date
acquireTokenSilent({required List<String> scopes}) Future<MsalUser?>
Acquire a token silently, with no user interaction, for the given scopes return UserAdModel contains user information but token and expiration date
init({required String clientId, String? loginHint, AndroidConfig? androidConfig, IosConfig? iosConfig}) Future<void>
Initializes MSAL with required data.
logout() Future<void>
Logout user from Microsoft account.
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

Static Properties

instance FlutterMsalMobilePlatform
The default instance of FlutterMsalMobilePlatform to use.
getter/setter pair