Enum AuthenticationMethod
- java.lang.Object
-
- java.lang.Enum<AuthenticationMethod>
-
- com.blackberry.workspaces.api.sdk.enums.AuthenticationMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticationMethod>
public enum AuthenticationMethod extends Enum<AuthenticationMethod>
An enum of authentication methods
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_SSO
AD SSOEID_ACCOUNT
Enterprise IDEMAIL_SELF_ENROLLMENT
Email self-enrollmentGENERAL_OAUTH
General OAUTHMULTI_METHODS
Multi-methodsOIDC_ACCOUNT
Enterprise IDSAML
SAMLSYSTEM_ACCOUNT
System accountUSER_PASSWORD
Username-password
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthenticationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMAIL_SELF_ENROLLMENT
public static final AuthenticationMethod EMAIL_SELF_ENROLLMENT
Email self-enrollment
-
USER_PASSWORD
public static final AuthenticationMethod USER_PASSWORD
Username-password
-
AD_SSO
public static final AuthenticationMethod AD_SSO
AD SSO
-
GENERAL_OAUTH
public static final AuthenticationMethod GENERAL_OAUTH
General OAUTH
-
SAML
public static final AuthenticationMethod SAML
SAML
-
MULTI_METHODS
public static final AuthenticationMethod MULTI_METHODS
Multi-methods
-
SYSTEM_ACCOUNT
public static final AuthenticationMethod SYSTEM_ACCOUNT
System account
-
EID_ACCOUNT
public static final AuthenticationMethod EID_ACCOUNT
Enterprise ID
-
OIDC_ACCOUNT
public static final AuthenticationMethod OIDC_ACCOUNT
Enterprise ID
-
-
Method Detail
-
values
public static AuthenticationMethod[] 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 (AuthenticationMethod c : AuthenticationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationMethod 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 nameNullPointerException
- if the argument is null
-
-