@Deprecated public interface OAuth2ClientContext
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
getAccessToken()
Deprecated.
|
AccessTokenRequest |
getAccessTokenRequest()
Deprecated.
|
Object |
removePreservedState(String stateKey)
Deprecated.
|
void |
setAccessToken(OAuth2AccessToken accessToken)
Deprecated.
|
void |
setPreservedState(String stateKey,
Object preservedState)
Deprecated.
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.