Package org.keycloak.protocol.oidc.utils
Class OAuth2Code
- java.lang.Object
- 
- org.keycloak.protocol.oidc.utils.OAuth2Code
 
- 
 public class OAuth2Code extends Object Data associated with the oauth2 code. Those data are typically valid just for the very short time - they're created at the point before we redirect to the application after successful and they're removed when application sends requests to the token endpoint (code-to-token endpoint) to exchange the single-use OAuth2 code parameter for those data.- Author:
- Marek Posolda
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OAuth2CodedeserializeCode(Map<String,String> data)StringgetCodeChallenge()StringgetCodeChallengeMethod()intgetExpiration()StringgetId()StringgetNonce()StringgetRedirectUriParam()StringgetScope()StringgetUserSessionId()Map<String,String>serializeCode()
 
- 
- 
- 
Method Detail- 
deserializeCodepublic static final OAuth2Code deserializeCode(Map<String,String> data) 
 - 
getIdpublic String getId() 
 - 
getExpirationpublic int getExpiration() 
 - 
getNoncepublic String getNonce() 
 - 
getScopepublic String getScope() 
 - 
getRedirectUriParampublic String getRedirectUriParam() 
 - 
getCodeChallengepublic String getCodeChallenge() 
 - 
getCodeChallengeMethodpublic String getCodeChallengeMethod() 
 - 
getUserSessionIdpublic String getUserSessionId() 
 
- 
 
-