|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.auth.oauth2.BearerToken
public class BearerToken
OAuth 2.0 helper for accessing protected resources using the Bearer Token specification.
| Constructor Summary | |
|---|---|
BearerToken()
|
|
| Method Summary | |
|---|---|
static Credential.AccessMethod |
authorizationHeaderAccessMethod()
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Authorization Request Header Field. |
static Credential.AccessMethod |
formEncodedBodyAccessMethod()
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Form-Encoded Body Parameter. |
static Credential.AccessMethod |
queryParameterAccessMethod()
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected resources using the URI Query Parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BearerToken()
| Method Detail |
|---|
public static Credential.AccessMethod authorizationHeaderAccessMethod()
According to the specification, this method MUST be supported by resource servers.
public static Credential.AccessMethod formEncodedBodyAccessMethod()
public static Credential.AccessMethod queryParameterAccessMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||