Table of Contents

Class ProviderInfo

Namespace
OpenSettings.Models
Assembly
OpenSettings.dll

Represents information about a provider, including client details, authorization status, version information, and configuration related to OpenSettings, OAuth2, and Redis.

public class ProviderInfo
Inheritance
ProviderInfo
Inherited Members

Properties

Authorize

Gets or sets a value indicating whether the provider is authorized.

public bool Authorize { get; set; }

Property Value

bool

Client

Gets or sets the client information associated with the provider.

public ProviderInfoClient Client { get; set; }

Property Value

ProviderInfoClient

IsPreviewVersion

Specifies whether the OpenSettings version is a preview version.

public bool IsPreviewVersion { get; set; }

Property Value

bool

OAuth2

Gets or sets the OAuth2 configuration for the provider.

public OAuth2Info OAuth2 { get; set; }

Property Value

OAuth2Info

PackVersion

Gets or sets the version of the OpenSettings.

public string PackVersion { get; set; }

Property Value

string

Remarks

e.g. "1.0.0"

PackVersionScore

Gets or sets the numerical score of the OpenSettings version, used for comparing versions. A higher score indicates a more recent version.

public long PackVersionScore { get; set; }

Property Value

long

Remarks

e.g. "1000000500000"

Redis

Gets or sets the Redis configuration for the provider.

public RedisInfo Redis { get; set; }

Property Value

RedisInfo

Version

Gets or sets the client's version.

public string Version { get; set; }

Property Value

string

Remarks

e.g. "1.0.0"