Package restapi.utils.security.token
Interface TokenService
- All Known Implementing Classes:
JWTTokenService
public interface TokenService
Creates and validates credentials.
-
Method Summary
Modifier and TypeMethodDescriptionChecks the validity of the given credentials.Checks the validity of the given credentials.
-
Method Details
-
permanent
-
expiring
-
untrusted
Checks the validity of the given credentials.- Parameters:
token
-- Returns:
- attributes if verified
-
verify
Checks the validity of the given credentials.- Parameters:
token
-- Returns:
- attributes if verified
-