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 |
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. |
static final java.lang.String DEFAULT_ROLES_NAME
static final java.lang.String DEFAULT_NAME_KEY
@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.