Package org.keycloak.protocol.oidc.utils
Class OAuth2Code
java.lang.Object
org.keycloak.protocol.oidc.utils.OAuth2Code
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 and 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
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2Code(String id, int expiration, String nonce, String scope, String userSessionId) OAuth2Code(String id, int expiration, String nonce, String scope, String resource, String redirectUriParam, String codeChallenge, String codeChallengeMethod, String dpopJkt, String userSessionId) -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2CodedeserializeCode(Map<String, String> data) intgetId()getNonce()getScope()
-
Constructor Details
-
OAuth2Code
-
OAuth2Code
-
-
Method Details
-
deserializeCode
-
serializeCode
-
getId
-
getExpiration
public int getExpiration() -
getNonce
-
getScope
-
getResource
-
getRedirectUriParam
-
getCodeChallenge
-
getCodeChallengeMethod
-
getDpopJkt
-
getUserSessionId
-