Parameters that configure the authorization request.
| class | AuthorizationRequest.Builder | Builder for
AuthorizationRequest. |
|
| public static final Creator<AuthorizationRequest> | CREATOR |
| static AuthorizationRequest.Builder |
builder()
Returns a new
AuthorizationRequest.Builder.
|
| boolean | |
| Account |
getAccount()
Returns the account that should be used.
|
| String |
getHostedDomain()
Returns the hosted domain restriction for accounts.
|
| List<Scope> |
getRequestedScopes()
Returns list of OAuth 2.0 scopes that the application is requesting.
|
| String |
getServerClientId()
Returns the requested audience for the ID token that is returned, or client ID
of the server that will need the auth code.
|
| int |
hashCode()
|
| boolean |
isForceCodeForRefreshToken()
Returns
true if the granted code should be exchanged for an access
token and a refresh token.
|
| boolean |
isOfflineAccessRequested()
Returns
true if offline access is requested.
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Returns a new
AuthorizationRequest.Builder.
Returns the account that should be used.
Returns the hosted domain restriction for accounts.
Returns list of OAuth 2.0 scopes that the application is requesting.
Returns the requested audience for the ID token that is returned, or client ID of the server that will need the auth code.
Returns true if the granted code should be exchanged for an access
token and a refresh token.
Returns true if offline access is requested.