Class AuthenticationCookieSettingsOption
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
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
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
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; }