Interface IdentifierAccessTokenCodec


  • @ThreadSafe
    public interface IdentifierAccessTokenCodec
    Service Provider Interface (SPI) for generating and decoding identifier-based access tokens. Implementations must be thread-safe.
    • Method Detail

      • decode

        com.nimbusds.oauth2.sdk.id.Identifier decode​(String tokenValue,
                                                     TokenCodecContext context)
                                              throws TokenDecodeException
        Decodes the specified bearer access token value to extract the token identifier.
        Parameters:
        tokenValue - The bearer access token value. Not null.
        context - The token codec context. Not null.
        Returns:
        The access token identifier.
        Throws:
        TokenDecodeException - If decoding failed.