public interface TokenConfiguration
extends io.micronaut.core.util.Toggleable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME_KEY |
static java.lang.String |
DEFAULT_ROLES_NAME |
static java.lang.String |
DEFAULT_ROLES_SEPARATOR |
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getNameKey()
Key which will be used in the
Authentication.getAttributes() for the User`s name. |
default java.lang.String |
getRolesName()
Key which will be used in the
Authentication.getAttributes() for the User`s roles. |
default java.lang.String |
getRolesSeparator()
Separator which will be used for splitting the roles before processing the
Authentication . |
static final java.lang.String DEFAULT_ROLES_NAME
static final java.lang.String DEFAULT_NAME_KEY
static final java.lang.String DEFAULT_ROLES_SEPARATOR
@NonNull default java.lang.String getRolesName()
Authentication.getAttributes()
for the User`s roles.@NonNull default java.lang.String getNameKey()
Authentication.getAttributes()
for the User`s name.@Nullable default java.lang.String getRolesSeparator()
Authentication
.