Show / Hide Table of Contents

Class SingleTenantAccessor

Represent a single tenant, which is useful in single-tenant systems.

Inheritance
Object
SingleTenantAccessor
Inherited Members
System.Object.ToString()
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
Namespace: IRM.IdentityModel
Assembly: IRM.dll
Syntax
public class SingleTenantAccessor : ITenantAccessor

Constructors

SingleTenantAccessor(Guid)

Creates a new instance of SingleTenantAccessor.

Declaration
public SingleTenantAccessor(Guid tenantId)
Parameters
System.Guid tenantId

The unique identifier to use for the only tenant.

Methods

GetTenantId()

Gets the tenant id.

Declaration
public Guid GetTenantId()
Returns
System.Guid

The unique identifier of the tenant.

Implements
ITenantAccessor.GetTenantId()

Extension Methods

ObjectExtensions.DeepClone<T>(T)
TenantAccessorDecoratorExtensions.SetCurrentEvent(ITenantAccessor, IEvent)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX