Class DefaultTokenContextEncoderProvider
java.lang.Object
org.keycloak.protocol.oidc.encode.DefaultTokenContextEncoderProvider
- All Implemented Interfaces:
TokenContextEncoderProvider
,Provider
public class DefaultTokenContextEncoderProvider
extends Object
implements TokenContextEncoderProvider
- Author:
- Marek Posolda
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTokenContextEncoderProvider
(KeycloakSession session, DefaultTokenContextEncoderProviderFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
encodeTokenId
(AccessTokenContext tokenContext) getTokenContextFromClientSessionContext
(ClientSessionContext clientSessionContext, String rawTokenId) getTokenContextFromTokenId
(String encodedTokenId)
-
Field Details
-
UNKNOWN
- See Also:
-
-
Constructor Details
-
DefaultTokenContextEncoderProvider
public DefaultTokenContextEncoderProvider(KeycloakSession session, DefaultTokenContextEncoderProviderFactory factory)
-
-
Method Details
-
getTokenContextFromClientSessionContext
public AccessTokenContext getTokenContextFromClientSessionContext(ClientSessionContext clientSessionContext, String rawTokenId) - Specified by:
getTokenContextFromClientSessionContext
in interfaceTokenContextEncoderProvider
-
getTokenContextFromTokenId
- Specified by:
getTokenContextFromTokenId
in interfaceTokenContextEncoderProvider
-
encodeTokenId
- Specified by:
encodeTokenId
in interfaceTokenContextEncoderProvider
-
close
public void close()
-