public static enum OAuth2FlowGoogleBuilder.Prompt extends Enum<OAuth2FlowGoogleBuilder.Prompt>
Enum Constant and Description |
---|
CONSENT
User will be asked for approval each time the authorization is performed.
|
NONE |
SELECT_ACCOUNT |
Modifier and Type | Method and Description |
---|---|
static String |
getKey() |
String |
getValue() |
static OAuth2FlowGoogleBuilder.Prompt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2FlowGoogleBuilder.Prompt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2FlowGoogleBuilder.Prompt NONE
public static final OAuth2FlowGoogleBuilder.Prompt CONSENT
public static final OAuth2FlowGoogleBuilder.Prompt SELECT_ACCOUNT
public static OAuth2FlowGoogleBuilder.Prompt[] values()
for (OAuth2FlowGoogleBuilder.Prompt c : OAuth2FlowGoogleBuilder.Prompt.values()) System.out.println(c);
public static OAuth2FlowGoogleBuilder.Prompt 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 getValue()
public static String getKey()
Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.