Skip to content

TenantRefusal Class

Why a check of a tenant list refuses some of its tenants.

C#
public sealed record TenantRefusal : System.IEquatable<Abblix.Oidc.Server.Features.MultiTenancy.TenantRefusal>

Inheritance System.Object → TenantRefusal

Implements System.IEquatable<TenantRefusal>

Constructors

TenantRefusal(IReadOnlyCollection<string>, string) Constructor

Why a check of a tenant list refuses some of its tenants.

C#
public TenantRefusal(System.Collections.Generic.IReadOnlyCollection<string> TenantIds, string Message);

Parameters

TenantIds System.Collections.Generic.IReadOnlyCollection<System.String>

The tenants refused: one for a mistake of its own, every party to a conflict between several.

Message System.String

What is wrong, naming the tenants.

Properties

TenantRefusal.Message Property

What is wrong, naming the tenants.

C#
public string Message { get; init; }

Property Value

System.String

TenantRefusal.PartyMessage Property

What is wrong with a conflict between several tenants as told to one of them, naming none of the tenants, since the party changing one tenant may not be entitled to learn which others exist; null for a refusal of one tenant alone. A host's own check may leave it null for a conflict too, and the party is then told only that its tenant conflicts with another, which the host's log names.

C#
public string? PartyMessage { get; init; }

Property Value

System.String

TenantRefusal.TenantIds Property

The tenants refused: one for a mistake of its own, every party to a conflict between several.

C#
public System.Collections.Generic.IReadOnlyCollection<string> TenantIds { get; init; }

Property Value

System.Collections.Generic.IReadOnlyCollection<System.String>

Methods

TenantRefusal.Of(TenantDefinition, string) Method

A refusal of tenant alone.

C#
public static Abblix.Oidc.Server.Features.MultiTenancy.TenantRefusal Of(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition tenant, string message);

Parameters

tenant TenantDefinition
message System.String

Returns

TenantRefusal