AuthProvider class

Constructors

AuthProvider({required String authEndpoint, required String tokenEndpoint})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securedStorage ↔ SecuredStorage
latefinal

Methods

authorizeAndExchangeCode({required String clientID, required AuthEndpointsData authEndpointsData}) → Future<AuthorizationTokenResponse>
getFreshAuthTokens({required String clientID, required AuthEndpointsData authEndpointsData, String? staticRefreshToken}) → Future<TokenResponse?>
getMicrosoftAccessToken({required String tokenEndpoint, required String clientIDIdepack, required String clientSecret, Json? getMSAccessTokenExtra}) → Future<Response<Json>>
getUserDetails({required DioClient microsoftDioClient, required String userInfoEndpoint, Options? getUserDetailsOptions}) → Future<Response>
getUserPhoto({required DioClient dioClient, required User user, Json? getUserPhotoExtra}) → Future<Response?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signOut() → Future<EndSessionResponse?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited