Klasse TokenGeneratorConfig.TokenGeneratorConfigBuilder
java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.TokenGeneratorConfig.TokenGeneratorConfigBuilder
- Umschließende Klasse:
TokenGeneratorConfig
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccessTokenExpInterval(Integer accessTokenExpInterval) Expiry interval in seconds for the generated access tokenalgorithm(TokenGeneratorConfig.AlgorithmEnum algorithm) Type of algorithm that needs to be used for signing the JWTDefault audience value that needs to be added in the generated JWTauthCodeExpInterval(Integer authCodeExpInterval) Expiry interval in seconds for the generated authorization code in Authorization code grant typebuild()enforcePKCE(Boolean enforcePKCE) Global option to apply PKCE security, for the public clients using authorization code grant type.Expiry interval of the JWT in minutestoString()
-
Methodendetails
-
accessTokenExpInterval
public TokenGeneratorConfig.TokenGeneratorConfigBuilder accessTokenExpInterval(Integer accessTokenExpInterval) Expiry interval in seconds for the generated access token- Gibt zurück:
this.
-
algorithm
public TokenGeneratorConfig.TokenGeneratorConfigBuilder algorithm(TokenGeneratorConfig.AlgorithmEnum 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
public TokenGeneratorConfig.TokenGeneratorConfigBuilder authCodeExpInterval(Integer 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.
-
build
-
toString
-