public enum AuthenticationMode extends Enum<AuthenticationMode>
| Enum Constant and Description |
|---|
COOKIE
The request is from a logged in user of the receiving domain
|
OAUTH
A fully validated 3-legged OAuth call by a 3rd party on behalf of a user of the
receiving domain. viewerid should always be available
|
OAUTH_CONSUMER_REQUEST
A call by a validated 3rd party on its own behalf.
|
SECURITY_TOKEN_URL_PARAMETER
Used by rendered gadgets to authenticate calls to the container
|
UNAUTHENTICATED
The request has no authentication associated with it.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMode UNAUTHENTICATED
public static final AuthenticationMode SECURITY_TOKEN_URL_PARAMETER
public static final AuthenticationMode OAUTH
public static final AuthenticationMode OAUTH_CONSUMER_REQUEST
public static final AuthenticationMode COOKIE
public static AuthenticationMode[] values()
for (AuthenticationMode c : AuthenticationMode.values()) System.out.println(c);
public static AuthenticationMode 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 © 2007-2012. All Rights Reserved.