Class OidcTenantConfig.TokenStateManager

  • Enclosing class:
    OidcTenantConfig

    public static class OidcTenantConfig.TokenStateManager
    extends Object
    Default Authorization Code token state manager configuration
    • Field Detail

      • splitTokens

        @ConfigItem(defaultValue="false")
        public boolean splitTokens
        Default TokenStateManager keeps all tokens (ID, access and refresh) returned in the authorization code grant response in a single session cookie by default. Enable this property to minimize a session cookie size
      • encryptionSecret

        @ConfigItem
        public Optional<String> encryptionSecret
        Secret which will be used to encrypt the tokens. This secret must be set if the token encryption is required but no client secret is set. The length of the secret which will be used to encrypt the tokens must be 32 characters long.
    • Constructor Detail

      • TokenStateManager

        public TokenStateManager()