Class ActionAuthConfig
- Namespace
- AntRunnerLib.Functions
- Assembly
- AntRunnerLib.dll
Represents the authorization configuration for a specific action. This record holds various settings for different authentication types.
public class ActionAuthConfig : IEquatable<ActionAuthConfig>
- Inheritance
-
System.ObjectActionAuthConfig
- Implements
-
System.IEquatable<ActionAuthConfig>
- Inherited Members
-
System.Object.Equals(System.Object)System.Object.Equals(System.Object, System.Object)System.Object.GetHashCode()System.Object.GetType()System.Object.MemberwiseClone()System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ToString()
Properties
AuthType
Gets or sets the type of authentication.
[JsonPropertyName("auth_type")]
public AuthType AuthType { get; set; }
Property Value
HeaderKey
Gets or sets the header key name for the HTTP request. Ignored when null during JSON serialization.
[JsonPropertyName("header_name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string HeaderKey { get; set; }
Property Value
- System.String
HeaderValueEnvironmentVariable
Gets or sets the environment variable name for the header value. Ignored when null during JSON serialization.
[JsonPropertyName("header_value_env_var")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string HeaderValueEnvironmentVariable { get; set; }
Property Value
- System.String
OAuthClientId
Gets or sets the OAuth client ID. Ignored when null during JSON serialization.
[JsonPropertyName("oauth_clientId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string OAuthClientId { get; set; }
Property Value
- System.String
OAuthClientSecretEnvironmentVariable
Gets or sets the environment variable name for the OAuth client secret. Ignored when null during JSON serialization.
[JsonPropertyName("oauth_secret_env_var")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string OAuthClientSecretEnvironmentVariable { get; set; }
Property Value
- System.String