public interface AuthenticationClaims
Authentication JWT claims.| Modifier and Type | Field and Description |
|---|---|
static String |
CLAIM_NAME_PERMISSIONS
Claim name for
Authentication.getPermissions(). |
static String |
CLAIM_NAME_ROOT
Claim name for
Authentication.isRoot() attribute. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String claimName,
Class<T> requiredType)
Get a claim value by name, if exists
|
static final String CLAIM_NAME_ROOT
Authentication.isRoot() attribute. Claim value will be a boolean.static final String CLAIM_NAME_PERMISSIONS
Authentication.getPermissions(). Claim value will be a String array.Copyright © 2019 The Holon Platform. All rights reserved.