1using System.Collections.Generic;
4using Swashbuckle.AspNetCore.SwaggerGen;
68 public IDictionary<OAuthProvider, OAuthConfiguration>?
OAuth
76 .Where(property => property.CanWrite && property.SetMethod!.IsPublic)
80 kvp => !publicProperties.All(
81 prop => prop.GetValue(kvp.Value) == prop.PropertyType.GetDefaultValue()))
82 .ToDictionary(kvp => kvp.Key, kvp => kvp.Value);
89 IDictionary<OAuthProvider, OAuthConfiguration>?
oAuth;
OAuth configuration options.
Configuration options pertaining to user security.
uint TokenSigningKeyByteCount
Amount of bytes to use in the Microsoft.IdentityModel.Tokens.TokenValidationParameters....
string? CustomTokenSigningKeyBase64
A custom token signing key. Overrides TokenSigningKeyByteCount.
uint TokenClockSkewMinutes
Amount of minutes to skew the clock for Api.Models.Response.TokenResponse validation.
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the SecurityConfiguration re...
const uint DefaultTokenSigningKeyByteAmount
Default value of TokenSigningKeyByteCount.
uint OAuthTokenExpiryMinutes
Amount of minutes until Api.Models.Response.TokenResponses generated from OAuth logins expire.
const uint DefaultOAuthTokenExpiryMinutes
Default value of OAuthTokenExpiryMinutes.
const uint DefaultTokenClockSkewMinutes
Default value of TokenClockSkewMinutes.
IDictionary< OAuthProvider, OAuthConfiguration >? oAuth
Backing field for OAuth.
uint TokenExpiryMinutes
Amount of minutes until Api.Models.Response.TokenResponses generated from passwords expire.
const uint DefaultTokenExpiryMinutes
Default value of TokenExpiryMinutes.
IDictionary< OAuthProvider, OAuthConfiguration >? OAuth
OAuth provider settings.