Table of Contents

Class AuthenticationCookieSettingsOption

Namespace
Arc4u.Blazor.Options
Assembly
Arc4u.OAuth2.Blazor.dll

The settings of the cookie based authentication of a Blazor WebAssembly application: the application calls its Blazor server (SSR) backend, with the browser cookies, to get a token. The options are read from the Authentication:OAuth2.Settings section by default and registered as the key/value settings named OAuth2 (see CookieAuthenticationExtensions).

public class AuthenticationCookieSettingsOption
Inheritance
AuthenticationCookieSettingsOption
Inherited Members

Properties

BaseUri

Gets or sets the base uri of the Blazor SSR application. The default is https://localhost.

public Uri BaseUri { get; set; }

Property Value

Uri

HttpClientName

Gets or sets the name of the HttpClient, created by the IHttpClientFactory, used to call the authentication server. The default is Authentication.

public string HttpClientName { get; set; }

Property Value

string

ProviderId

Gets or sets the key of the token provider performing the authentication. The default is Client (ClientTokenProvider).

public string ProviderId { get; set; }

Property Value

string

TokenRequestUrl

Gets or sets the url, on the Blazor SSR application, called to get the token. The default is /authentication/token.

public string TokenRequestUrl { get; set; }

Property Value

string