Interface TokenContextEncoderProvider
- All Superinterfaces:
 Provider
- All Known Implementing Classes:
 DefaultTokenContextEncoderProvider
Provides ability to encode some context into access token ID, so this information can be later retrieved from the token without the need to use some proprietary/non-standard claims.
 For example token context can contain info whether it is lightweight access token or regular token, whether it is coming from online session or offline session etc.
- Author:
 - Marek Posolda
 
- 
Method Summary
Modifier and TypeMethodDescriptionencodeTokenId(AccessTokenContext tokenContext) getTokenContextFromClientSessionContext(ClientSessionContext clientSessionContext, String rawTokenId) getTokenContextFromTokenId(String encodedTokenId)  
- 
Method Details
- 
getTokenContextFromClientSessionContext
AccessTokenContext getTokenContextFromClientSessionContext(ClientSessionContext clientSessionContext, String rawTokenId)  - 
getTokenContextFromTokenId
 - 
encodeTokenId
 
 -