MethodChannelFlutterMsalMobile class

An implementation of FlutterMsalMobilePlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
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
override
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
override
init({required String clientId, String? loginHint, AndroidConfig? androidConfig, IosConfig? iosConfig}) Future<void>
Initializes MSAL with required data.
override
logout() Future<void>
Logout user from Microsoft account.
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