Show / Hide Table of Contents

Class V1betaResource.TokenRequest

Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within a workload identity pool, or it applies a Credential Access Boundary to a Google access token. When you call this method, do not send the Authorization HTTP header in the request. This method does not require the Authorization header, and using the header can cause the request to fail.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>
V1betaResource.TokenRequest
Implements
IClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>
IClientServiceRequest
Inherited Members
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.Xgafv
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.AccessToken
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.Alt
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.Callback
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.Fields
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.Key
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.OauthToken
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.PrettyPrint
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.QuotaUser
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.UploadType
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.UploadProtocol
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.Execute()
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ExecuteAsync()
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ETagAction
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ModifyRequest
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ValidateParameters
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.ApiVersion
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.RequestParameters
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSecurityToken.v1beta
Assembly: Google.Apis.CloudSecurityToken.v1beta.dll
Syntax
public class V1betaResource.TokenRequest : CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>, IClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>, IClientServiceRequest

Constructors

TokenRequest(IClientService, GoogleIdentityStsV1betaExchangeTokenRequest)

Constructs a new Token request.

Declaration
public TokenRequest(IClientService service, GoogleIdentityStsV1betaExchangeTokenRequest body)
Parameters
Type Name Description
IClientService service
GoogleIdentityStsV1betaExchangeTokenRequest body

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.GetBody()

InitParameters()

Initializes Token parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudSecurityTokenBaseServiceRequest<GoogleIdentityStsV1betaExchangeTokenResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX