Enum IdentityProviderCallbackStatus

    • Enum Constant Detail

      • LOGIN_EMAIL

        public static final IdentityProviderCallbackStatus LOGIN_EMAIL
        Successful login, and the user was not previously linked to the provider, but was matched by e-mail. The link was automatically created.
      • LOGIN_NO_MATCH

        public static final IdentityProviderCallbackStatus LOGIN_NO_MATCH
        No matching user was found for this provider, neither by id nor e-mail. On the next login, if the user posts together the 'requestId' value and it matches a previously authenticated user, a link was automatically created.
      • LOGIN_NO_EMAIL

        public static final IdentityProviderCallbackStatus LOGIN_NO_EMAIL
        No matching user was found for this provider, and no e-mail could be read from the provider. On the next login, if the user posts together the 'requestId' and it matches a previously authenticated user, a link was automatically created.
      • REGISTRATION_DATA

        public static final IdentityProviderCallbackStatus REGISTRATION_DATA
        The profile data was read, and is available to get data for filling up the registration form
      • REGISTRATION_DONE

        public static final IdentityProviderCallbackStatus REGISTRATION_DONE
        The profile data was read, the user has been directly registered and a session has been created for the user.
      • WIZARD

        public static final IdentityProviderCallbackStatus WIZARD
        The profile data was read and was associated on the server with the given wizard execution.
    • Method Detail

      • values

        public static IdentityProviderCallbackStatus[] 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 (IdentityProviderCallbackStatus c : IdentityProviderCallbackStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IdentityProviderCallbackStatus 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