public class OAuth2Parameters extends Object
Constructor and Description |
---|
OAuth2Parameters(OAuth2Profile profile)
Constructs an OAuth2Parameters object
|
Modifier and Type | Method and Description |
---|---|
void |
applyRetrievedAccessToken(String accessToken) |
List<String> |
getJavaScripts() |
OAuth2Profile.OAuth2Flow |
getOAuth2Flow() |
boolean |
isAccessTokenRetrivedFromServer() |
void |
receivedAuthorizationCode() |
void |
retrivalCanceled() |
void |
setAccessTokenExpirationTimeInProfile(long expirationTime) |
void |
setAccessTokenIssuedTimeInProfile(long issuedTime) |
void |
setRefreshTokenInProfile(String refreshToken) |
void |
waitingForAuthorization() |
public OAuth2Parameters(OAuth2Profile profile)
profile
- the profile to be wrappedpublic void setRefreshTokenInProfile(String refreshToken)
public void setAccessTokenExpirationTimeInProfile(long expirationTime)
public void setAccessTokenIssuedTimeInProfile(long issuedTime)
public void waitingForAuthorization()
public void receivedAuthorizationCode()
public void retrivalCanceled()
public void applyRetrievedAccessToken(String accessToken)
public OAuth2Profile.OAuth2Flow getOAuth2Flow()
public boolean isAccessTokenRetrivedFromServer()
Copyright © 2019. All Rights Reserved.