ClientSecrets Class

Defines the OAuth 2.0 client details, often sourced from a configuration file or similar resource.

Definition

Namespace: GenerativeAI.Core
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public class ClientSecrets
Inheritance
Object    ClientSecrets
Derived

Constructors

ClientSecretsInitializes a new instance of the ClientSecrets class

Properties

AuthProviderX509CertUrl The location of X.509 certificates for verifying token authenticity.
AuthUri The authorization endpoint used during the OAuth 2.0 process.
ClientId A unique identifier for the client within an OAuth 2.0 flow.
ClientSecret A secret key used during OAuth 2.0 credential exchange.
RedirectUris An array of URIs which the identity provider can redirect to after user authentication.
TokenUri The token endpoint used for exchanging credentials in an OAuth 2.0 flow.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also