Klasse TokenGeneratorConfig

java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.TokenGeneratorConfig

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class TokenGeneratorConfig extends Object
TokenGeneratorConfig
  • Felddetails

    • accessTokenExpInterval

      protected Integer accessTokenExpInterval
      Expiry interval in seconds for the generated access token
    • algorithm

      Type of algorithm that needs to be used for signing the JWT
    • audience

      protected String audience
      Default audience value that needs to be added in the generated JWT
    • authCodeExpInterval

      protected Integer authCodeExpInterval
      Expiry interval in seconds for the generated authorization code in Authorization code grant type
    • enforcePKCE

      protected Boolean enforcePKCE
      Global option to apply PKCE security, for the public clients using authorization code grant type. Applicable only for local auth server
    • expiry

      protected Long expiry
      Expiry interval of the JWT in minutes
  • Konstruktordetails

    • TokenGeneratorConfig

      public TokenGeneratorConfig(Consumer<TokenGeneratorConfig> spec)
      Constructs a validated instance of TokenGeneratorConfig.
      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 of TokenGeneratorConfig.

      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 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
    • TokenGeneratorConfig

      protected TokenGeneratorConfig()
  • Methodendetails

    • builder

    • accessTokenExpInterval

      public Integer accessTokenExpInterval()
      Expiry interval in seconds for the generated access token
    • algorithm

      Type of algorithm that needs to be used for signing the JWT
    • audience

      public String audience()
      Default audience value that needs to be added in the generated JWT
    • authCodeExpInterval

      public Integer authCodeExpInterval()
      Expiry interval in seconds for the generated authorization code in Authorization code grant type
    • enforcePKCE

      public Boolean enforcePKCE()
      Global option to apply PKCE security, for the public clients using authorization code grant type. Applicable only for local auth server
    • expiry

      public Long expiry()
      Expiry interval of the JWT in minutes
    • accessTokenExpInterval

      public TokenGeneratorConfig accessTokenExpInterval(Integer 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

      public TokenGeneratorConfig audience(String audience)
      Default audience value that needs to be added in the generated JWT
      Gibt zurück:
      this.
    • authCodeExpInterval

      public TokenGeneratorConfig authCodeExpInterval(Integer authCodeExpInterval)
      Expiry interval in seconds for the generated authorization code in Authorization code grant type
      Gibt zurück:
      this.
    • enforcePKCE

      public TokenGeneratorConfig enforcePKCE(Boolean 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

      public TokenGeneratorConfig expiry(Long expiry)
      Expiry interval of the JWT in minutes
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object