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
Classes in com.google.api.client.auth.oauth2 that implement Credential.AccessMethod Modifier and Type Class Description (package private) static class
BearerToken.AuthorizationHeaderAccessMethod
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Authorization Request Header Field.(package private) static class
BearerToken.FormEncodedBodyAccessMethod
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Form-Encoded Body Parameter.(package private) static class
BearerToken.QueryParameterAccessMethod
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the URI Query Parameter.Fields in com.google.api.client.auth.oauth2 declared as Credential.AccessMethod Modifier and Type Field Description (package private) Credential.AccessMethod
AuthorizationCodeFlow.Builder. method
Method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).private Credential.AccessMethod
AuthorizationCodeFlow. method
Method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).(package private) Credential.AccessMethod
Credential.Builder. method
Method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod
).private Credential.AccessMethod
Credential. method
Method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod
).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, java.lang.String clientId, java.lang.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, java.lang.String clientId, java.lang.String authorizationServerEncodedUrl)
Builder(Credential.AccessMethod method)
Credential(Credential.AccessMethod method)
Constructor with the ability to access protected resources, but not refresh tokens.
-