Uses of Interface
com.google.api.client.auth.oauth2.Credential.AccessMethod
Packages that use Credential.AccessMethod
-
Uses of Credential.AccessMethod in com.google.api.client.auth.oauth2
Classes in com.google.api.client.auth.oauth2 that implement Credential.AccessMethodModifier and TypeClassDescription(package private) static final class
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Authorization Request Header Field.(package private) static final class
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Form-Encoded Body Parameter.(package private) static final class
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.AccessMethodModifier and TypeFieldDescription(package private) Credential.AccessMethod
AuthorizationCodeFlow.Builder.method
Method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).private final Credential.AccessMethod
AuthorizationCodeFlow.method
Method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).(package private) final Credential.AccessMethod
Credential.Builder.method
Method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod
).private final 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.AccessMethodModifier and TypeMethodDescriptionstatic 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.final Credential.AccessMethod
AuthorizationCodeFlow.Builder.getMethod()
Returns the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).final Credential.AccessMethod
AuthorizationCodeFlow.getMethod()
Returns the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).final Credential.AccessMethod
Credential.Builder.getMethod()
Returns the method of presenting the access token to the resource server (for exampleBearerToken.AuthorizationHeaderAccessMethod
).final 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.AccessMethodModifier and TypeMethodDescriptionAuthorizationCodeFlow.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.AccessMethodModifierConstructorDescriptionAuthorizationCodeFlow
(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.