public enum SalesforceOAuthPrompt extends Enum<SalesforceOAuthPrompt>
Enum Constant and Description |
---|
CONSENT
The authorization server must prompt the user for reapproval before returning information to the client.
|
LOGIN
The authorization server must prompt the user for reauthentication, forcing the user to log in again.
|
Modifier and Type | Method and Description |
---|---|
static SalesforceOAuthPrompt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SalesforceOAuthPrompt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SalesforceOAuthPrompt LOGIN
public static final SalesforceOAuthPrompt CONSENT
public static SalesforceOAuthPrompt[] values()
for (SalesforceOAuthPrompt c : SalesforceOAuthPrompt.values()) System.out.println(c);
public static SalesforceOAuthPrompt 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 nullCopyright © 2010–2020. All rights reserved.