Enum IDTokenClaims

    • Enum Constant Detail

      • AUTHENTICATION_TIME

        public static final IDTokenClaims AUTHENTICATION_TIME
        Time when the End-User authentication occurred.
      • NONCE

        public static final IDTokenClaims NONCE
        String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
      • AUTHENTICATION_CONTEXT_CLASS_REFERENCE

        public static final IDTokenClaims AUTHENTICATION_CONTEXT_CLASS_REFERENCE
        Authentication Context Class Reference.
      • AUTHENTICATION_METHODS_REFERENCES

        public static final IDTokenClaims AUTHENTICATION_METHODS_REFERENCES
        Authentication Methods References.
      • AUTHORIZED_PARTY

        public static final IDTokenClaims AUTHORIZED_PARTY
        Authorized party - the party to which the ID Token was issued.
    • Field Detail

      • claimName

        @Nonnull
        @NotEmpty
        private final String claimName
        The registered claim name.
    • Constructor Detail

      • IDTokenClaims

        private IDTokenClaims​(@Nonnull @NotEmpty
                              String name)
        Constructor.
        Parameters:
        name - the registered claim name.
    • Method Detail

      • values

        public static IDTokenClaims[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IDTokenClaims c : IDTokenClaims.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IDTokenClaims valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getClaimName

        @Nonnull
        public String getClaimName()
        Get the registered claim name.
        Returns:
        the registered claim name.