Class OAuthMetadataElement
Represents a configuration element providing settings for OAuth2/OIDC metadata manager.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Configuration
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class OAuthMetadataElement : ConfigurationElement
Constructors
OAuthMetadataElement()
Declaration
public OAuthMetadataElement()
Fields
HttpTimeoutAttributeName
Name of the attribute representing HttpTimeout property in the configuration element.
Declaration
public const string HttpTimeoutAttributeName = "httpTimeout"
Field Value
| Type | Description |
|---|---|
| string |
InactivityIntervalAttributeName
Name of the attribute representing InactivityInterval property in the configuration element.
Declaration
public const string InactivityIntervalAttributeName = "inactivityInterval"
Field Value
| Type | Description |
|---|---|
| string |
MinimumRetryIntervalAttributeName
Name of the attribute representing MinimumRetryInterval property in the configuration element.
Declaration
public const string MinimumRetryIntervalAttributeName = "minRetryInterval"
Field Value
| Type | Description |
|---|---|
| string |
RefreshIntervalAttributeName
Name of the attribute representing RefreshInterval property in the configuration element.
Declaration
public const string RefreshIntervalAttributeName = "refreshInterval"
Field Value
| Type | Description |
|---|---|
| string |
Properties
HttpTimeout
Gets or sets the time to wait until the metadata HTTP request time out. Default is 15 seconds.
Declaration
[ConfigurationProperty("httpTimeout")]
public TimeSpan HttpTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
InactivityInterval
Gets or sets the time to store metadata in the cache before, it will be evicted, if it has not been accessed in a given span of time. Default is 12 hours.
Declaration
[ConfigurationProperty("inactivityInterval")]
public TimeSpan InactivityInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
MinimumRetryInterval
Gets or sets the minimum time interval between the metadata HTTP requests. Even if the first request was unsuccessful, the second request will not be made until this time expires. Default is 1 minute.
Declaration
[ConfigurationProperty("minRetryInterval")]
public TimeSpan MinimumRetryInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Properties
Gets collection of configuration element properties.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
| Type | Description |
|---|---|
| ConfigurationPropertyCollection |
Overrides
RefreshInterval
Gets or sets the time to store metadata in the cache before automatically refreshing it. Default is 24 hours.
Declaration
[ConfigurationProperty("refreshInterval")]
public TimeSpan RefreshInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |