Table of Contents

Class OAuthOptions

Namespace
TypedRest.OAuth
Assembly
TypedRest.OAuth.dll

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

string

ClientId

The client identifier to present to the identity server.

public string ClientId { get; set; }

Property Value

string

ClientSecret

The client secret to present to the identity server.

public string ClientSecret { get; set; }

Property Value

string

Scope

The scope to request an authentication token for.

public string? Scope { get; set; }

Property Value

string

TokenLifetimeBuffer

How long before a token expires to request a new one.

public TimeSpan TokenLifetimeBuffer { get; set; }

Property Value

TimeSpan

Uri

The URI of the identity server to request an authentication token from.

public Uri Uri { get; set; }

Property Value

Uri