Class OAuthOptions
Options for OAuth 2.0 / OpenID Connect authentication.
public class OAuthOptions
- Inheritance
-
OAuthOptions
- Inherited Members
Properties
Audience
The audience to request an authentication token for.
public string? Audience { get; set; }
Property Value
ClientId
The client identifier to present to the identity server.
public string ClientId { get; set; }
Property Value
ClientSecret
The client secret to present to the identity server.
public string ClientSecret { get; set; }
Property Value
Scope
The scope to request an authentication token for.
public string? Scope { get; set; }
Property Value
TokenLifetimeBuffer
How long before a token expires to request a new one.
public TimeSpan TokenLifetimeBuffer { get; set; }
Property Value
Uri
The URI of the identity server to request an authentication token from.
public Uri Uri { get; set; }