Package | Description |
---|---|
com.neovisionaries.android.oauth20 |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<AccessToken> |
AccessToken.CREATOR
CREATER required by
Parcelable interface. |
Modifier and Type | Method and Description |
---|---|
AccessToken |
AccessToken.setAccessToken(String accessToken)
Set the access token (= the value of
access_token
(REQUIRED parameter)). |
AccessToken |
AccessToken.setExpiresIn(int expiresIn)
Set the lifetime of the access token in seconds (= the value of
expires_in parameter (RECOMMENDED parameter)). |
AccessToken |
AccessToken.setRefreshToken(String refreshToken)
Set the refresh token (= the value of
refresh_token parameter
(OPTIONAL parameter)). |
AccessToken |
AccessToken.setScope(String scope)
Set the space-delimited scope list (= the value of
scope
parameter (OPTIONAL parameter)). |
AccessToken |
AccessToken.setTokenType(String tokenType)
Set the token type (= the value of
token_type
(REQUIRED parameter)). |
Modifier and Type | Method and Description |
---|---|
void |
OAuth20ViewListener.onTokenIssued(OAuth20View view,
AuthorizationRequest request,
AccessToken accessToken,
String state)
Called when an access token was issued by the authorization server.
|
Copyright © 2016. All rights reserved.