Class Oauth2AuthCodeFlow
Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
Implements
Inherited Members
Namespace: Google.Apis.Connectors.v1.Data
Assembly: Google.Apis.Connectors.v1.dll
Syntax
public class Oauth2AuthCodeFlow : IDirectResponseSchema
Properties
AuthCode
Authorization code to be exchanged for access and refresh tokens.
Declaration
[JsonProperty("authCode")]
public virtual string AuthCode { get; set; }
Property Value
Type | Description |
---|---|
string |
AuthUri
Auth URL for Authorization Code Flow
Declaration
[JsonProperty("authUri")]
public virtual string AuthUri { get; set; }
Property Value
Type | Description |
---|---|
string |
ClientId
Client ID for user-provided OAuth app.
Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
Type | Description |
---|---|
string |
ClientSecret
Client secret for user-provided OAuth app.
Declaration
[JsonProperty("clientSecret")]
public virtual Secret ClientSecret { get; set; }
Property Value
Type | Description |
---|---|
Secret |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnablePkce
Whether to enable PKCE when the user performs the auth code flow.
Declaration
[JsonProperty("enablePkce")]
public virtual bool? EnablePkce { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PkceVerifier
PKCE verifier to be used during the auth code exchange.
Declaration
[JsonProperty("pkceVerifier")]
public virtual string PkceVerifier { get; set; }
Property Value
Type | Description |
---|---|
string |
RedirectUri
Redirect URI to be provided during the auth code exchange.
Declaration
[JsonProperty("redirectUri")]
public virtual string RedirectUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Scopes
Scopes the connection will request when the user performs the auth code flow.
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |