@Requires(property="micronaut.security.token.jwt.bearer.enabled", notEquals="false") @ConfigurationProperties(value="micronaut.security.token.jwt.bearer") public class BearerTokenConfigurationProperties extends Object implements BearerTokenConfiguration
BearerTokenConfiguration.| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
DEFAULT_ENABLED  | 
static String | 
PREFIX  | 
| Constructor and Description | 
|---|
BearerTokenConfigurationProperties()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getHeaderName()  | 
String | 
getPrefix()  | 
boolean | 
isEnabled()  | 
void | 
setEnabled(boolean enabled)
Set whether to enable basic auth. 
 | 
void | 
setHeaderName(String headerName)
Sets the header name to use. 
 | 
void | 
setPrefix(String prefix)
Sets the prefix to use for the auth token. 
 | 
public static final String PREFIX
public static final boolean DEFAULT_ENABLED
public boolean isEnabled()
isEnabled in interface ToggleableisEnabled in interface BearerTokenConfigurationpublic String getPrefix()
getPrefix in interface BearerTokenConfigurationpublic String getHeaderName()
getHeaderName in interface BearerTokenConfigurationpublic void setEnabled(boolean enabled)
enabled - True if enabledpublic void setHeaderName(String headerName)
headerName - The header name to use