Package org.keycloak.models
Enum Class IdentityProviderStorageProvider.FetchMode
java.lang.Object
java.lang.Enum<IdentityProviderStorageProvider.FetchMode>
org.keycloak.models.IdentityProviderStorageProvider.FetchMode
- All Implemented Interfaces:
Serializable
,Comparable<IdentityProviderStorageProvider.FetchMode>
,Constable
- Enclosing interface:
- IdentityProviderStorageProvider
public static enum IdentityProviderStorageProvider.FetchMode
extends Enum<IdentityProviderStorageProvider.FetchMode>
Enum to control how login identity providers should be fetched.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionall providers should fetched, regardless of being linked to an organization or notonly providers linked to organizations should be fetchedonly realm-level providers should be fetched (not linked to any organization) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REALM_ONLY
only realm-level providers should be fetched (not linked to any organization) -
ORG_ONLY
only providers linked to organizations should be fetched -
ALL
all providers should fetched, regardless of being linked to an organization or not
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-