MicrosoftAuthService class
- Implemented types
Constructors
- MicrosoftAuthService.new({required String clientId, String? redirectUri, Client? httpClient})
-
factory
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
-
cacheMicrosoftRefreshToken(
String refreshToken) → void -
clearCache(
) → void -
closeLocalServer(
) → void -
override
-
getAccessToken(
String deviceCode) → Future< String> -
override
-
getAccessTokenWithLocalServer(
) → Future< String> -
override
-
getAccountprofile(
) → Future< MicrosoftAccount> -
override
-
getDeviceCode(
) → Future< DeviceCodeResponse> -
override
-
getMicrosoftAccount(
) → Future< MicrosoftAccount> -
override
-
getRefreshToken(
) → String? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshAccessToken(
String refreshToken) → Future< String?> -
override
-
refreshAccessTokenWithProfile(
String refreshToken) → Future< MicrosoftAccount?> -
Refreshes the access token using the provided refresh token and returns the Microsoft account profile.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited