public static enum Principal.WebIdentityProvider extends Enum<Principal.WebIdentityProvider>
| Enum Constant and Description |
|---|
AllProviders |
Amazon |
Facebook |
Google |
| Modifier and Type | Method and Description |
|---|---|
static Principal.WebIdentityProvider |
fromString(String webIdentityProvider)
Construct the Services object from a string representing web identity provider.
|
String |
getWebIdentityProvider() |
static Principal.WebIdentityProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Principal.WebIdentityProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Principal.WebIdentityProvider Facebook
public static final Principal.WebIdentityProvider Google
public static final Principal.WebIdentityProvider Amazon
public static final Principal.WebIdentityProvider AllProviders
public static Principal.WebIdentityProvider[] values()
for (Principal.WebIdentityProvider c : Principal.WebIdentityProvider.values()) System.out.println(c);
public static Principal.WebIdentityProvider 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 static Principal.WebIdentityProvider fromString(String webIdentityProvider)
public String getWebIdentityProvider()
Copyright © 2020. All rights reserved.