Klasse TokenGeneratorConfig
java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.TokenGeneratorConfig
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class TokenGeneratorConfig
extends Object
TokenGeneratorConfig
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enum
Type of algorithm that needs to be used for signing the JWTstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Integer
Expiry interval in seconds for the generated access tokenprotected TokenGeneratorConfig.AlgorithmEnum
Type of algorithm that needs to be used for signing the JWTprotected String
Default audience value that needs to be added in the generated JWTprotected Integer
Expiry interval in seconds for the generated authorization code in Authorization code grant typeprotected Boolean
Global option to apply PKCE security, for the public clients using authorization code grant type.protected Long
Expiry interval of the JWT in minutes -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
TokenGeneratorConfig
(Integer accessTokenExpInterval, TokenGeneratorConfig.AlgorithmEnum algorithm, String audience, Integer authCodeExpInterval, Boolean enforcePKCE, Long expiry) Constructs a validated instance ofTokenGeneratorConfig
.Constructs a validated instance ofTokenGeneratorConfig
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungExpiry interval in seconds for the generated access tokenaccessTokenExpInterval
(Integer accessTokenExpInterval) Expiry interval in seconds for the generated access tokenType of algorithm that needs to be used for signing the JWTalgorithm
(TokenGeneratorConfig.AlgorithmEnum algorithm) Type of algorithm that needs to be used for signing the JWTaudience()
Default audience value that needs to be added in the generated JWTDefault audience value that needs to be added in the generated JWTExpiry interval in seconds for the generated authorization code in Authorization code grant typeauthCodeExpInterval
(Integer authCodeExpInterval) Expiry interval in seconds for the generated authorization code in Authorization code grant typebuilder()
protected boolean
Global option to apply PKCE security, for the public clients using authorization code grant type.enforcePKCE
(Boolean enforcePKCE) Global option to apply PKCE security, for the public clients using authorization code grant type.boolean
expiry()
Expiry interval of the JWT in minutesExpiry interval of the JWT in minutesint
hashCode()
toString()
-
Felddetails
-
accessTokenExpInterval
Expiry interval in seconds for the generated access token -
algorithm
Type of algorithm that needs to be used for signing the JWT -
audience
Default audience value that needs to be added in the generated JWT -
authCodeExpInterval
Expiry interval in seconds for the generated authorization code in Authorization code grant type -
enforcePKCE
Global option to apply PKCE security, for the public clients using authorization code grant type. Applicable only for local auth server -
expiry
Expiry interval of the JWT in minutes
-
-
Konstruktordetails
-
TokenGeneratorConfig
Constructs a validated instance ofTokenGeneratorConfig
.- Parameter:
spec
- the specification to process
-
TokenGeneratorConfig
@Internal public TokenGeneratorConfig(Integer accessTokenExpInterval, TokenGeneratorConfig.AlgorithmEnum algorithm, String audience, Integer authCodeExpInterval, Boolean enforcePKCE, Long expiry) Constructs a validated instance ofTokenGeneratorConfig
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
TokenGeneratorConfig(Consumer)
instead.- Parameter:
accessTokenExpInterval
- Expiry interval in seconds for the generated access tokenalgorithm
- Type of algorithm that needs to be used for signing the JWTaudience
- Default audience value that needs to be added in the generated JWTauthCodeExpInterval
- Expiry interval in seconds for the generated authorization code in Authorization code grant typeenforcePKCE
- Global option to apply PKCE security, for the public clients using authorization code grant type. Applicable only for local auth serverexpiry
- Expiry interval of the JWT in minutes
-
TokenGeneratorConfig
protected TokenGeneratorConfig()
-
-
Methodendetails
-
builder
-
accessTokenExpInterval
Expiry interval in seconds for the generated access token -
algorithm
Type of algorithm that needs to be used for signing the JWT -
audience
Default audience value that needs to be added in the generated JWT -
authCodeExpInterval
Expiry interval in seconds for the generated authorization code in Authorization code grant type -
enforcePKCE
Global option to apply PKCE security, for the public clients using authorization code grant type. Applicable only for local auth server -
expiry
Expiry interval of the JWT in minutes -
accessTokenExpInterval
Expiry interval in seconds for the generated access token- Gibt zurück:
this
.
-
algorithm
Type of algorithm that needs to be used for signing the JWT- Gibt zurück:
this
.
-
audience
Default audience value that needs to be added in the generated JWT- Gibt zurück:
this
.
-
authCodeExpInterval
Expiry interval in seconds for the generated authorization code in Authorization code grant type- Gibt zurück:
this
.
-
enforcePKCE
Global option to apply PKCE security, for the public clients using authorization code grant type. Applicable only for local auth server- Gibt zurück:
this
.
-
expiry
Expiry interval of the JWT in minutes- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-