public sealed class OAuth2 : IMessage<OAuth2>, IEquatable<OAuth2>, IDeepCloneable<OAuth2>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class OAuth2.
The OAuth 2.0 Settings
Namespace
Google.Cloud.Iap.V1Assembly
Google.Cloud.Iap.V1.dll
Constructors
OAuth2()
public OAuth2()
OAuth2(OAuth2)
public OAuth2(OAuth2 other)
Parameter | |
---|---|
Name | Description |
other |
OAuth2 |
Properties
ClientId
public string ClientId { get; set; }
The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
Property Value | |
---|---|
Type | Description |
string |
ClientSecret
public string ClientSecret { get; set; }
Input only. The OAuth 2.0 client secret created while registering the client ID.
Property Value | |
---|---|
Type | Description |
string |
ClientSecretSha256
public string ClientSecretSha256 { get; set; }
Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.
Property Value | |
---|---|
Type | Description |
string |