Cloud Identity-Aware Proxy v1 API - Class OAuthSettings (2.10.0)

public sealed class OAuthSettings : IMessage<OAuthSettings>, IEquatable<OAuthSettings>, IDeepCloneable<OAuthSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class OAuthSettings.

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

Inheritance

object > OAuthSettings

Namespace

Google.Cloud.Iap.V1

Assembly

Google.Cloud.Iap.V1.dll

Constructors

OAuthSettings()

public OAuthSettings()

OAuthSettings(OAuthSettings)

public OAuthSettings(OAuthSettings other)
Parameter
Name Description
other OAuthSettings

Properties

ClientId

public string ClientId { get; set; }

Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for client sharing. The risks of client sharing are outlined here: https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.

Property Value
Type Description
string

ClientSecret

public string ClientSecret { get; set; }

Optional. Input only. OAuth secret paired with client ID.

Property Value
Type Description
string

ClientSecretSha256

public string ClientSecretSha256 { get; set; }

Output only. OAuth secret SHA256 paired with client ID.

Property Value
Type Description
string

LoginHint

public string LoginHint { get; set; }

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.

Property Value
Type Description
string

ProgrammaticClients

public RepeatedField<string> ProgrammaticClients { get; }

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

Property Value
Type Description
RepeatedFieldstring