public static enum Principal.WebIdentityProviders extends Enum<Principal.WebIdentityProviders>
Enum Constant and Description |
---|
AllProviders |
Amazon |
Facebook |
Google |
Modifier and Type | Method and Description |
---|---|
static Principal.WebIdentityProviders |
fromString(String webIdentityProvider)
Construct the Services object from a string representing web identity provider.
|
String |
getWebIdentityProvider() |
static Principal.WebIdentityProviders |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Principal.WebIdentityProviders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Principal.WebIdentityProviders Facebook
public static final Principal.WebIdentityProviders Google
public static final Principal.WebIdentityProviders Amazon
public static final Principal.WebIdentityProviders AllProviders
public static Principal.WebIdentityProviders[] values()
for (Principal.WebIdentityProviders c : Principal.WebIdentityProviders.values()) System.out.println(c);
public static Principal.WebIdentityProviders valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getWebIdentityProvider()
public static Principal.WebIdentityProviders fromString(String webIdentityProvider)
Copyright © 2019. All rights reserved.