| Package | Description |
|---|---|
| com.holonplatform.auth.jwt | |
| com.holonplatform.spring.boot |
| Modifier and Type | Method and Description |
|---|---|
JwtConfiguration |
JwtConfiguration.Builder.build()
Build
JwtConfiguration instance |
static JwtConfiguration |
JwtConfiguration.build(JwtConfigProperties properties)
Build a
JwtConfiguration instance using given configuration properties. |
JwtConfiguration |
JwtAuthenticator.getConfiguration()
Get the
JwtConfiguration to use to validate and authenticate the JWT tokens |
| Modifier and Type | Method and Description |
|---|---|
static Optional<JwtConfiguration> |
JwtConfiguration.getCurrent()
Convenience method to obtain the current
JwtConfiguration made available as Context resource,
using default ClassLoader. |
| Modifier and Type | Method and Description |
|---|---|
default String |
JwtTokenBuilder.buildJwt(JwtConfiguration configuration,
Authentication authentication)
Build a JSON Web Token using given
JwtConfiguration for given Authentication. |
String |
JwtTokenBuilder.buildJwt(JwtConfiguration configuration,
Authentication authentication,
String jwtTokenId)
Build a JSON Web Token using given
JwtConfiguration for given Authentication. |
static String |
JwtTokenBuilder.buildJwtToken(JwtConfiguration configuration,
Authentication authentication,
String jwtTokenId)
Deprecated.
Use
JwtTokenBuilder.get() to obtain the default JwtTokenBuilder on which to call the
JwtTokenBuilder.buildJwt(JwtConfiguration, Authentication, String) method |
JwtAuthenticator.Builder |
JwtAuthenticator.Builder.configuration(JwtConfiguration configuration)
Set the
JwtConfiguration to use to perform authentication and token validation |
Authentication.Builder |
JwtTokenParser.parseJwt(JwtConfiguration configuration,
String jwt)
Parse given JWT and obtain it as an
Authentication instance. |
| Modifier and Type | Method and Description |
|---|---|
JwtConfiguration |
JwtAutoConfiguration.JwtConfigurationConfiguration.jwtConfiguration() |
Copyright © 2019 The Holon Platform. All rights reserved.