Package org.forgerock.am.cts.api.tokens
Interface TokenFactory
public interface TokenFactory
Creates a
Token object that can then be stored into the CTS.
None of the methods on this interface cause any change to what is currently stored in the CTS.
-
Method Summary
-
Method Details
-
create
Create aTokenobject that can then be stored into the CTS.- Parameters:
tokenId- The ID of the token.type- The type of the token.- Returns:
- A new
Tokeninstance.
-
create
Create aTokenobject that can then be stored into the CTS.- Parameters:
token- The token object to copy.etag- The etag for the new token.- Returns:
- A new
Tokeninstance.
-