Show / Hide Table of Contents

Class TenantSettings

Represents tenant specific authentication settings.

Inheritance
Object
TenantSettings
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 TenantSettings

Properties

PasswordOptions

Gets or sets the tenant password options.

Declaration
public TenantPasswordOptions PasswordOptions { get; set; }
Property Value
TenantPasswordOptions

SignInOptions

Gets the tenant sign-in options.

Declaration
public TenantSignInOptions SignInOptions { get; set; }
Property Value
TenantSignInOptions

TenantId

Gets or sets the unique identifier of the tenant.

Declaration
public Guid TenantId { get; set; }
Property Value
System.Guid

UniqueTenantUrl

Gets or sets a unique string identifier that can be used in the url for different custom authentication schemes. This is required to be able to add any custom authentication schemes.

Declaration
public string UniqueTenantUrl { get; set; }
Property Value
String

UserOptions

Gets or sets the tenant user options.

Declaration
public TenantUserOptions UserOptions { get; set; }
Property Value
TenantUserOptions

Methods

AddOpenIdConnect(String, IEnumerable<AuthenticationScheme>)

Adds a new OpenId Connect authentication scheme to the tenant. The scheme will not be allowed to use after this operation.

Declaration
public IdentityAuthenticationScheme AddOpenIdConnect(string displayName, IEnumerable<AuthenticationScheme> allExistingSchemes)
Parameters
String displayName

The display name of the authentication scheme.

IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme> allExistingSchemes

All previously existing schemes.

Returns
IdentityAuthenticationScheme

The IdentityAuthenticationScheme added to TenantAuthenticationSchemes.

Extension Methods

TenantSettingsExtensions.GetAllAuthenticationSchemes(TenantSettings, DynamicAuthenticationOptions)
Back to top Generated by DocFX