Struct AuthType
Type of auth scheme. This enum is not supported in Gemini API.
[JsonConverter(typeof(AuthTypeConverter))]
public readonly record struct AuthType : IEquatable<AuthType>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<AuthType> AllValues { get; }
Property Value
ApiKeyAuth
API Key Auth.
public static AuthType ApiKeyAuth { get; }
Property Value
AuthTypeUnspecified
public static AuthType AuthTypeUnspecified { get; }
Property Value
GoogleServiceAccountAuth
Google Service Account Auth.
public static AuthType GoogleServiceAccountAuth { get; }
Property Value
HttpBasicAuth
HTTP Basic Auth.
public static AuthType HttpBasicAuth { get; }
Property Value
NoAuth
No Auth.
public static AuthType NoAuth { get; }
Property Value
Oauth
OAuth auth.
public static AuthType Oauth { get; }
Property Value
OidcAuth
OpenID Connect (OIDC) Auth.
public static AuthType OidcAuth { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(AuthType)
public bool Equals(AuthType other)
Parameters
otherAuthType
Returns
FromString(string)
public static AuthType FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator AuthType(string)
public static implicit operator AuthType(string value)
Parameters
valuestring