AzureADApi class
- Inheritance
-
- Object
- Api
- AuthenticatedApi
- OAuthApi
- AzureADApi
Constructors
Properties
- authenticator ↔ OAuthAuthenticator?
-
getter/setter pairinherited
-
getter/setter pairinherited
- baseUrl ↔ String?
-
getter/setter pairinherited
- clientId ↔ String?
-
getter/setter pairinherited
- clientSecret ↔ String?
-
getter/setter pairinherited
- converter ↔ Converter?
-
getter/setter pairinherited
- currentAccount ↔ Account?
-
getter/setter pairinherited
- currentOauthAccount → OAuthAccount?
-
no setterinherited
-
defaultHeaders
↔ Map<
String, String> ? -
getter/setter pairinherited
- defaultMediaType ↔ String
-
getter/setter pairinherited
- forceRefresh ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
finalinherited
- identifier → String?
-
finalinherited
- jsonConverter → JsonConverter
-
finalinherited
- redirectUrl ↔ String?
-
getter/setter pairinherited
- resource ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
↔ List<
String> ? -
getter/setter pairinherited
- scopesRequired ↔ bool
-
getter/setter pairinherited
- showAuthenticator ↔ ShowAuthenticator?
-
getter/setter pairinherited
- tokenUrl ↔ String?
-
getter/setter pairinherited
- useClientSecret ↔ bool?
-
getter/setter pair
- useragent ↔ String?
-
getter/setter pairinherited
Methods
-
authenticate(
) → Future< Account?> -
Call this method to get the Authenticated user.
inherited
-
authenticateRequest(
Request request) → Future< Request> -
Called internally to apply the credentials to a request
inherited
-
decodeResponse<
Value> (Response< String?> response, Type responseType, bool responseIsList) → Future<Response< Value?> > -
Used to decode the response body before returning from an API call
inherited
-
encodeRequest(
Request request) → Future< Request> -
Used to encode the body of the request before sending it.
inherited
-
getAccountFromAuthCode(
WebAuthenticator authenticator) → Future< OAuthAccount> -
inherited
-
getAccountFromMap<
T extends Account> (Map< String, dynamic> data) → dynamic -
inherited
-
getAuthenticator(
) → Authenticator -
override
-
getRefreshTokenPostData(
Account account) → Future< Map< String, String?> > -
override
-
interceptRequest(
Request request) → Future< Request> -
Called before a request is sent across the wire.
inherited
-
interceptResponse(
Response response) → Future< Response> -
Called before the response is returned to the user
inherited
-
loadAccountFromCache<
T extends Account> () → Future< T?> -
This should not be called, it is used to cache the account locally
inherited
-
logOut(
) → Future -
Log the user out
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performAuthenticate(
) → Future< Account?> -
This method is for subclasses only. Call authenticate() instead.
inherited
-
ping(
) → Future< bool> -
inherited
-
pingUrl(
String url) → Future< bool> -
inherited
-
refreshAccount(
Account _account) → Future< bool> -
inherited
-
saveAccountToCache(
Account account) → Future -
This should not be called, it is used to cache the account locally
inherited
-
send<
Value> (Request request, {Type? responseType, bool responseIsList = false}) → Future< Response< Value?> > -
Used to send a request
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyCredentials(
) → Future< bool> -
Called to determine if the current credentials are valid.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited