Enum IdentityProviderNotLinkReason

    • Enum Constant Detail

      • GLOBAL_USER_NETWORK_IDP_IGNORED

        public static final IdentityProviderNotLinkReason GLOBAL_USER_NETWORK_IDP_IGNORED
        The user is global but the provider belongs to a network.
      • UNSUPPORTED_PRINCIPAL_TYPE

        public static final IdentityProviderNotLinkReason UNSUPPORTED_PRINCIPAL_TYPE
        The principal type used for login is not supported (e.g trusted device).
        It's quite strange situation because it means the user choose to login with an identity provider, then the user doesn't match and at the moment of perform the login to Cyclos he/her choose to login with a trusted device. The login with trusted device and with an identity provider both offer the same kind of ease for a quick login the probably the user will choose to login with a trusted device from the beginning.
    • Method Detail

      • values

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

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