@ThreadSafe public interface IdentifierAccessTokenCodec
Modifier and Type | Method and Description |
---|---|
com.nimbusds.oauth2.sdk.id.Identifier |
decode(String tokenValue,
TokenCodecContext context)
Decodes the specified bearer access token value to extract the token
identifier.
|
IdentifierAccessToken |
generate(AccessTokenAuthorization tokenAuthz,
TokenEncoderContext context)
Generates a new identifier-based access token.
|
IdentifierAccessToken generate(AccessTokenAuthorization tokenAuthz, TokenEncoderContext context)
tokenAuthz
- The access token authorisation. Not null
.context
- The token encoder context. Not null
.com.nimbusds.oauth2.sdk.id.Identifier decode(String tokenValue, TokenCodecContext context) throws TokenDecodeException
tokenValue
- The bearer access token value. Not null
.context
- The token codec context. Not null
.TokenDecodeException
- If decoding failed.Copyright © 2020 Connect2id Ltd.. All rights reserved.