- getToken
Optional. Returns the authentication token if exists.
- getUser
Optional. Returns the user principal.
- isAuthenticated
Returns true if the authentication is authenticated.
- getClient
Optional. Returns the client principal.
- getCredentials
Required. Returns the authentication credentials.
- getPermissions
Returns the granted permissions.
- getRoles
Returns the granted roles.
- isClientAuthenticated
Returns true if client is not null and not anonymous.
- isClientOnly
Returns true if the authentication only contains client, no user.
- isRememberMe
Returns true if the authentication is authenticated from remember-me store.
- isUserAuthenticated
Returns true if the user is not null and not anonymous.
- setPermissions
Sets the granted permissions.