Uses of Interface
com.google.api.client.auth.oauth2.Credential.AccessMethod
-
Packages that use Credential.AccessMethod Package Description com.google.api.client.auth.oauth2 Implementation of the OAuth 2.0 Authorization Framework. -
-
Uses of Credential.AccessMethod in com.google.api.client.auth.oauth2
Methods in com.google.api.client.auth.oauth2 that return Credential.AccessMethod Modifier and Type Method Description static Credential.AccessMethod
BearerToken. 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
BearerToken. 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.Credential.AccessMethod
AuthorizationCodeFlow.Builder. getMethod()
Returns the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).Credential.AccessMethod
AuthorizationCodeFlow. getMethod()
Returns the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).Credential.AccessMethod
Credential.Builder. getMethod()
Returns the method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod
).Credential.AccessMethod
Credential. getMethod()
Return the method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod
).static Credential.AccessMethod
BearerToken. 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 in com.google.api.client.auth.oauth2 with parameters of type Credential.AccessMethod Modifier and Type Method Description AuthorizationCodeFlow.Builder
AuthorizationCodeFlow.Builder. setMethod(Credential.AccessMethod method)
Sets the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).Constructors in com.google.api.client.auth.oauth2 with parameters of type Credential.AccessMethod Constructor Description AuthorizationCodeFlow(Credential.AccessMethod method, com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, com.google.api.client.http.GenericUrl tokenServerUrl, com.google.api.client.http.HttpExecuteInterceptor clientAuthentication, String clientId, String authorizationServerEncodedUrl)
Builder(Credential.AccessMethod method, com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, com.google.api.client.http.GenericUrl tokenServerUrl, com.google.api.client.http.HttpExecuteInterceptor clientAuthentication, String clientId, String authorizationServerEncodedUrl)
Builder(Credential.AccessMethod method)
Credential(Credential.AccessMethod method)
Constructor with the ability to access protected resources, but not refresh tokens.
-