Interface AuthenticationTokenService
- All Known Implementing Classes:
UserDetailsAuthenticationTokenService
public interface AuthenticationTokenService
API for a service that performs functions on authentication data tokens.
- Since:
- 1.10
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte[]computeAuthenticationTokenSigningKey(net.solarnetwork.web.jakarta.security.AuthenticationScheme scheme, SecurityToken token, Map<String, ?> properties) Compute a token signing key from a token and properties.
-
Field Details
-
SIGN_DATE_PROP
AnInstantproperty to be used as the signing date.- See Also:
-
-
Method Details
-
computeAuthenticationTokenSigningKey
byte[] computeAuthenticationTokenSigningKey(net.solarnetwork.web.jakarta.security.AuthenticationScheme scheme, SecurityToken token, Map<String, ?> properties) Compute a token signing key from a token and properties.The following properties are used:
SIGN_DATE_PROP- For the V2 scheme, the signing date to use. Must be a
Instantobject.
- Parameters:
scheme- the token scheme to usetoken- the tokenproperties- the signing properties- Returns:
- the new signing key to use
-