Class CustomOAuthConfig
Message for a customized OAuth config.
Implements
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1.Data
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class CustomOAuthConfig : IDirectResponseSchema
Properties
AuthUri
Required. Immutable. The OAuth2 authorization server URL.
Declaration
[JsonProperty("authUri")]
public virtual string AuthUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientId
Required. The client ID of the OAuth application.
Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientSecret
Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output.
Declaration
[JsonProperty("clientSecret")]
public virtual string ClientSecret { 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 |
HostUri
Required. The host URI of the OAuth application.
Declaration
[JsonProperty("hostUri")]
public virtual string HostUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PkceDisabled
Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.
Declaration
[JsonProperty("pkceDisabled")]
public virtual bool? PkceDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ScmProvider
Required. The type of the SCM provider.
Declaration
[JsonProperty("scmProvider")]
public virtual string ScmProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Scopes
Required. The scopes to be requested during OAuth.
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ServerVersion
Output only. SCM server version installed at the host URI.
Declaration
[JsonProperty("serverVersion")]
public virtual string ServerVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServiceDirectoryConfig
Optional. Configuration for using Service Directory to connect to a private service.
Declaration
[JsonProperty("serviceDirectoryConfig")]
public virtual ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| ServiceDirectoryConfig |
SslCaCertificate
Optional. SSL certificate to use for requests to a private service.
Declaration
[JsonProperty("sslCaCertificate")]
public virtual string SslCaCertificate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TokenUri
Required. Immutable. The OAuth2 token request URL.
Declaration
[JsonProperty("tokenUri")]
public virtual string TokenUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |