public static enum AuthorizationRequest.Scope extends Enum<AuthorizationRequest.Scope>
| Enum Constant and Description |
|---|
API |
CHATTER_API |
FULL |
ID |
REFRESH_TOKEN |
VISUALFORCE |
WEB |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationRequest.Scope |
and(AuthorizationRequest.Scope addlScope) |
String |
toString() |
static AuthorizationRequest.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationRequest.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationRequest.Scope ID
public static final AuthorizationRequest.Scope API
public static final AuthorizationRequest.Scope VISUALFORCE
public static final AuthorizationRequest.Scope WEB
public static final AuthorizationRequest.Scope FULL
public static final AuthorizationRequest.Scope REFRESH_TOKEN
public static final AuthorizationRequest.Scope CHATTER_API
public static AuthorizationRequest.Scope[] values()
for (AuthorizationRequest.Scope c : AuthorizationRequest.Scope.values()) System.out.println(c);
public static AuthorizationRequest.Scope 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 AuthorizationRequest.Scope and(AuthorizationRequest.Scope addlScope)
public String toString()
toString in class Enum<AuthorizationRequest.Scope>Copyright © 2016. All rights reserved.