public enum AuthenticatorType extends Enum<AuthenticatorType>
| Enum Constant and Description |
|---|
Facebook
This authenticator uses Facebook's OAuth2 protocol as a simple IdP,
discarding the received tokens after use.
|
Google
This authenticator uses Google's OAuth2 protocol as a simple IdP,
discarding the received tokens after use.
|
Password
This type describes the password authenticator, which drives our Owner
Credentials flow.
|
Test
The test authenticator type, used mostly for our test harness.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
in(AuthenticatorType... types)
Return true if the current type is in a list of types.
|
Boolean |
isPrivate()
Is this a private authenticator or not?
|
static AuthenticatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticatorType Facebook
public static final AuthenticatorType Google
public static final AuthenticatorType Password
public static final AuthenticatorType Test
public static AuthenticatorType[] values()
for (AuthenticatorType c : AuthenticatorType.values()) System.out.println(c);
public static AuthenticatorType 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 Boolean isPrivate()
public Boolean in(AuthenticatorType... types)
types - The list of types to check.Copyright © 2018 krotscheck.net. All rights reserved.