Show / Hide Table of Contents

Class OrganisationOptions

Options for configuring organisations.

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

Properties

AllowMultipleOrganisationsWithSameIdentityNumber

Gets or sets if we allow multiple organisations with same identity number.

Declaration
public bool AllowMultipleOrganisationsWithSameIdentityNumber { get; set; }
Property Value
Boolean

Remarks

Defaults to false. A use case for enabling this could be if we need to support swedish "kommuner" where it is possible to have different names but with the same identity number

ReservedDomainNames

Gets or sets the list of reserved domain names.

Declaration
public List<string> ReservedDomainNames { get; set; }
Property Value
List<String>

Remarks

A reserved domain name is not allowed to be used as a trusted domain.

Methods

IsTrustedDomainAllowed(String)

Gets if the supplied domainName is allowed as a trusted domain.

Declaration
public bool IsTrustedDomainAllowed(string domainName)
Parameters
String domainName

The domain name.

Returns
Boolean

true if the domainName is allowed as a trusted domain; otherwise false.

Back to top Generated by DocFX