public static interface JWTGenerator.Builder
Modifier and Type | Method and Description |
---|---|
JWTGenerator |
build()
Creates a generator using the configuration of this builder.
|
JWTGenerator.Builder |
encryption(JWE operator)
Sets the JWE operator to use for encryption operations.
|
JWTGenerator.Builder |
signature(JWS operator)
Sets the JWS operator to use for signature operations.
|
JWTGenerator.Builder encryption(JWE operator)
operator
- JWE operatorJWTGenerator.Builder signature(JWS operator)
operator
- JWS operatorJWTGenerator build() throws JWTConfigurationException
JWTConfigurationException
Copyright © 2019. All rights reserved.