Class OidcCommonConfig.Credentials.Jwt

    • Field Detail

      • keyStoreFile

        @ConfigItem
        public Optional<String> keyStoreFile
        If provided, indicates that JWT is signed using a private key from a key store
      • keyStorePassword

        @ConfigItem(defaultValue="password")
        public String keyStorePassword
        A parameter to specify the password of the key store file. If not given, the default ("password") is used.
      • audience

        @ConfigItem
        public Optional<String> audience
        JWT audience ('aud') claim value. By default, the audience is set to the address of the OpenId Connect Provider's token endpoint.
      • issuer

        @ConfigItem
        public Optional<String> issuer
        Issuer of the signing key added as a JWT 'iss' claim (default: client id)
      • subject

        @ConfigItem
        public Optional<String> subject
        Subject of the signing key added as a JWT 'sub' claim (default: client id)
      • signatureAlgorithm

        @ConfigItem
        public Optional<String> signatureAlgorithm
        Signature algorithm, also used for the keyFile property. Supported values: RS256, RS384, RS512, PS256, PS384, PS512, ES256, ES384, ES512, HS256, HS384, HS512.
      • lifespan

        @ConfigItem(defaultValue="10")
        public int lifespan
        JWT life-span in seconds. It will be added to the time it was issued at to calculate the expiration time.
    • Constructor Detail

      • Jwt

        public Jwt()