Class ProviderConfiguration
The OpenID provider configuration.
Inheritance
System.Object
ProviderConfiguration
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()
Namespace: ComponentSpace.OpenID.Configuration
Assembly: ComponentSpace.OpenID.dll
Syntax
public class ProviderConfiguration
Properties
AccessTokenExpiry
Gets or sets the access token expiry.
Declaration
public TimeSpan? AccessTokenExpiry { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> | The access token expiry. |
AuthCodeExpiry
Gets or sets the authorization code expiry.
Declaration
public TimeSpan? AuthCodeExpiry { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> | The authorization code expiry. |
ClockSkew
Gets or sets the permitted clock skew.
Declaration
public TimeSpan? ClockSkew { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> | The clock skew. |
Description
Gets or sets the description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description. |
IdTokenExpiry
Gets or sets the ID token expiry.
Declaration
public TimeSpan? IdTokenExpiry { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> | The ID token expiry. |
ProviderCertificates
Gets or sets the OpenID provider certificates.
Declaration
public Certificate[] ProviderCertificates { get; set; }
Property Value
Type | Description |
---|---|
Certificate[] | The OpenID provider certificates. |
ProviderMetadata
Gets or sets the OpenID provider metadata.
Declaration
public ProviderMetadata ProviderMetadata { get; set; }
Property Value
Type | Description |
---|---|
ProviderMetadata | The OpenID provider metadata. |
RefreshTokenExpiry
Gets or sets the refresh token expiry.
Declaration
public TimeSpan? RefreshTokenExpiry { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> | The refresh token expiry. |
Methods
GetProviderCertificates(CertificateStatus, CertificateUse)
Gets the provider certificates with the specified use.
Declaration
public IList<Certificate> GetProviderCertificates(CertificateStatus certificateStatus = CertificateStatus.Active, CertificateUse certificateUse = CertificateUse.Any)
Parameters
Type | Name | Description |
---|---|---|
CertificateStatus | certificateStatus | The certificate status. |
CertificateUse | certificateUse | The certificate use. |
Returns
Type | Description |
---|---|
IList<Certificate> | The provider certificates. |
GetProviderMetadata()
Gets the provider metadata.
Declaration
public ProviderMetadata GetProviderMetadata()
Returns
Type | Description |
---|---|
ProviderMetadata | The provider metadata. |