public interface OAuth2ClientContext
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
getAccessToken() |
AccessTokenRequest |
getAccessTokenRequest() |
Object |
removePreservedState(String stateKey) |
void |
setAccessToken(OAuth2AccessToken accessToken) |
void |
setPreservedState(String stateKey,
Object preservedState)
Convenience method for saving state in the
OAuth2ClientContext . |
OAuth2AccessToken getAccessToken()
void setAccessToken(OAuth2AccessToken accessToken)
accessToken
- the current access tokenAccessTokenRequest getAccessTokenRequest()
void setPreservedState(String stateKey, Object preservedState)
OAuth2ClientContext
.stateKey
- the key to use to save the statepreservedState
- the state to be savedCopyright © 2019. All rights reserved.