AuthProvider class

Constructors

AuthProvider.new({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

getAuthTokens({required String clientID, required AuthEndpointsData authEndpointsData}) Future<AuthorizationTokenResponse>
getFreshAuthTokens({required String clientID, required AuthEndpointsData authEndpointsData}) Future<TokenResponse?>
getMicrosoftAccessToken({required String tokenEndpoint, required String clientIDIdepack, required String clientSecret, Json? getMSAccessTokenExtra}) Future<Response<Json>>
getPhoto({required DioClient dioClient, required User user, Json? getUserPhotoExtra}) Future<Response?>
getUserDetails({required DioClient microsoftDioClient, required String userInfoEndpoint, Options? getUserDetailsOptions}) 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