Ejemplo n.º 1
0
 /// <summary>Constructs a new Token request.</summary>
 public TokenRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudSecurityToken.v1.Data.GoogleIdentityStsV1ExchangeTokenRequest body) : base(service)
 {
     Body = body;
     InitParameters();
 }
Ejemplo n.º 2
0
 /// <summary>Exchanges a credential for a Google OAuth 2.0 access token.</summary>
 /// <param name="body">The body of the request.</param>
 public virtual TokenRequest Token(Google.Apis.CloudSecurityToken.v1.Data.GoogleIdentityStsV1ExchangeTokenRequest body)
 {
     return(new TokenRequest(service, body));
 }