Interface TokenProvider
- All Known Implementing Classes:
JWTTokenProvider,SAMLTokenProvider,SCTProvider
public interface TokenProvider
An interface that can provide a security token.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandleToken(String tokenType) Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenTypebooleancanHandleToken(String tokenType, String realm) Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenType in a given realmcreateToken(TokenProviderParameters tokenParameters) Create a token given a TokenProviderParameters
-
Method Details
-
canHandleToken
Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenType -
canHandleToken
Return true if this TokenProvider implementation is capable of providing a token that corresponds to the given TokenType in a given realm -
createToken
Create a token given a TokenProviderParameters
-