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.AccessMethodBearerToken. 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.AccessMethodBearerToken. 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.AccessMethodAuthorizationCodeFlow.Builder. getMethod()Returns the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()).Credential.AccessMethodAuthorizationCodeFlow. getMethod()Returns the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()).Credential.AccessMethodCredential.Builder. getMethod()Returns the method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod).Credential.AccessMethodCredential. getMethod()Return the method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod).static Credential.AccessMethodBearerToken. 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.BuilderAuthorizationCodeFlow.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.
-