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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eOAuthSettings\u003c/code\u003e class within the Google Cloud Identity-Aware Proxy (IAP) v1 API, detailing its configuration for OAuth login and consent flow behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOAuthSettings\u003c/code\u003e class is implemented as part of the \u003ccode\u003eGoogle.Cloud.Iap.V1\u003c/code\u003e namespace and includes properties like \u003ccode\u003eLoginHint\u003c/code\u003e and \u003ccode\u003eProgrammaticClients\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists version history for the \u003ccode\u003eOAuthSettings\u003c/code\u003e class in the Google Cloud IAP v1 API, ranging from version 1.0.0 to the latest version, 2.7.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOAuthSettings\u003c/code\u003e implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, as well as inherits from the object class, including methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eOAuthSettings\u003c/code\u003e: one parameterless, and one that accepts another \u003ccode\u003eOAuthSettings\u003c/code\u003e object, to be used for the deep cloning of data.\u003c/p\u003e\n"]]],[],null,["# Cloud Identity-Aware Proxy v1 API - Class OAuthSettings (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.7.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.6.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.5.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.4.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.3.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.2.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.1.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.0.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/1.2.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/1.1.0/Google.Cloud.Iap.V1.OAuthSettings)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/1.0.0/Google.Cloud.Iap.V1.OAuthSettings) \n\n public sealed class OAuthSettings : IMessage\u003cOAuthSettings\u003e, IEquatable\u003cOAuthSettings\u003e, IDeepCloneable\u003cOAuthSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class OAuthSettings.\n\nConfiguration for OAuth login\\&consent flow behavior as well as for OAuth\nCredentials. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OAuthSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OAuthSettings](/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.OAuthSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OAuthSettings](/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.OAuthSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OAuthSettings](/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.OAuthSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Iap.V1](/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iap.V1.dll\n\nConstructors\n------------\n\n### OAuthSettings()\n\n public OAuthSettings()\n\n### OAuthSettings(OAuthSettings)\n\n public OAuthSettings(OAuthSettings other)\n\nProperties\n----------\n\n### LoginHint\n\n public string LoginHint { get; set; }\n\nDomain hint to send as hd=? parameter in OAuth request flow. Enables\nredirect to primary IDP by skipping Google's login screen.\n\u003chttps://developers.google.com/identity/protocols/OpenIDConnect#hd-param\u003e\nNote: IAP does not verify that the id token's hd claim matches this value\nsince access behavior is managed by IAM policies.\n\n### ProgrammaticClients\n\n public RepeatedField\u003cstring\u003e ProgrammaticClients { get; }\n\nOptional. List of client ids allowed to use IAP programmatically."]]