TenantRefusal Class
Why a check of a tenant list refuses some of its tenants.
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.
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.
public string Message { get; init; }Property Value
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.
public string? PartyMessage { get; init; }Property Value
TenantRefusal.TenantIds Property
The tenants refused: one for a mistake of its own, every party to a conflict between several.
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.
public static Abblix.Oidc.Server.Features.MultiTenancy.TenantRefusal Of(Abblix.Oidc.Server.Features.MultiTenancy.TenantDefinition tenant, string message);