Show / Hide Table of Contents

Class OAuthSettings

Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.

Inheritance
object
OAuthSettings
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudIAP.v1.Data
Assembly: Google.Apis.CloudIAP.v1.dll
Syntax
public class OAuthSettings : IDirectResponseSchema

Properties

ClientId

Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field is set, you can skip obtaining the OAuth credentials in this step: https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.

Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
Type Description
string

ClientSecret

Optional. Input only. OAuth secret paired with client ID

Declaration
[JsonProperty("clientSecret")]
public virtual string ClientSecret { get; set; }
Property Value
Type Description
string

ClientSecretSha256

Output only. OAuth secret sha256 paired with client ID

Declaration
[JsonProperty("clientSecretSha256")]
public virtual string ClientSecretSha256 { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

LoginHint

Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by skipping Google's login screen. https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by IAM policies.

Declaration
[JsonProperty("loginHint")]
public virtual string LoginHint { get; set; }
Property Value
Type Description
string

ProgrammaticClients

Optional. List of client ids allowed to use IAP programmatically.

Declaration
[JsonProperty("programmaticClients")]
public virtual IList<string> ProgrammaticClients { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX