Class JwtTokenTypeConfiguration

    • Method Detail

      • keyLocationAsString

        public final String keyLocationAsString()

        The location of the key.

        If the service returns an enum value that is not available in the current SDK version, keyLocation will return KeyLocation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from keyLocationAsString().

        Returns:
        The location of the key.
        See Also:
        KeyLocation
      • url

        public final String url()

        The signing key URL.

        Returns:
        The signing key URL.
      • secretManagerArn

        public final String secretManagerArn()

        The Amazon Resource Name (arn) of the secret.

        Returns:
        The Amazon Resource Name (arn) of the secret.
      • userNameAttributeField

        public final String userNameAttributeField()

        The user name attribute field.

        Returns:
        The user name attribute field.
      • groupAttributeField

        public final String groupAttributeField()

        The group attribute field.

        Returns:
        The group attribute field.
      • issuer

        public final String issuer()

        The issuer of the token.

        Returns:
        The issuer of the token.
      • claimRegex

        public final String claimRegex()

        The regular expression that identifies the claim.

        Returns:
        The regular expression that identifies the claim.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)