Show / Hide Table of Contents

Class ConfigureMultitenantIdentityOptions

Configures options for TenantIdentityOptions then a system is configured as multi tenant.

Inheritance
Object
ConfigureMultitenantIdentityOptions
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class ConfigureMultitenantIdentityOptions : IConfigureOptions<TenantIdentityOptions>

Constructors

ConfigureMultitenantIdentityOptions(IOptionsMonitor<CookieAuthenticationOptions>, ICache<TenantSettings>, ITenantSettingsStore, IHttpContextAccessor, IOptions<ExtendedIdentityOptions>, ILogger<ConfigureMultitenantIdentityOptions>)

Intialize a new instance of the ConfigureMultitenantIdentityOptions class.

Declaration
public ConfigureMultitenantIdentityOptions(IOptionsMonitor<CookieAuthenticationOptions> cookieAuthOptionsMonitor, ICache<TenantSettings> cache, ITenantSettingsStore tenantSettingsStore, IHttpContextAccessor httpContextAccessor, IOptions<ExtendedIdentityOptions> options, ILogger<ConfigureMultitenantIdentityOptions> logger)
Parameters
Microsoft.Extensions.Options.IOptionsMonitor<CookieAuthenticationOptions> cookieAuthOptionsMonitor

The cookie

ICache<TenantSettings> cache

The cache used for caching TenantSettings.

ITenantSettingsStore tenantSettingsStore

The ITenantSettingsStore to be used to get TenantSettings from storage.

Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor

The Microsoft.AspNetCore.Http.IHttpContextAccessor used to access the Microsoft.AspNetCore.Http.HttpContext.

Microsoft.Extensions.Options.IOptions<ExtendedIdentityOptions> options

The ExtendedIdentityOptions that is used as input for TenantIdentityOptions.

Microsoft.Extensions.Logging.ILogger<ConfigureMultitenantIdentityOptions> logger

Methods

Configure(TenantIdentityOptions)

Invoked to to configure a TenantIdentityOptions instance.

Declaration
public void Configure(TenantIdentityOptions options)
Parameters
TenantIdentityOptions options

The TenantIdentityOptions instance to configure.

Implements
Microsoft.Extensions.Options.IConfigureOptions<TOptions>.Configure(TOptions)
Back to top Generated by DocFX