Table of Contents

Class OnAuthenticatedResult

Namespace
GroupeIsa.Neos.Application
Assembly
GroupeIsa.Neos.Application.Abstractions.dll

Represents the on authenticated server method result.

public class OnAuthenticatedResult
Inheritance
OnAuthenticatedResult
Inherited Members

Constructors

OnAuthenticatedResult(bool, string?, IEnumerable<AuthorizedTenant>?)

Initializes a new instance of the OnAuthenticatedResult class.

public OnAuthenticatedResult(bool authorized, string? tenantId, IEnumerable<AuthorizedTenant>? tenants = null)

Parameters

authorized bool

The value indicating whether the user is authorized.

tenantId string

The tenant id.

tenants IEnumerable<AuthorizedTenant>

The authorized tenants.

Properties

Authorized

Gets a value indicating whether the user is authorized.

public bool Authorized { get; }

Property Value

bool

TenantId

Gets the tenant identifier.

public string? TenantId { get; }

Property Value

string

Tenants

Gets the authorized tenants of the connected user.

public ReadOnlyArray<AuthorizedTenant> Tenants { get; }

Property Value

ReadOnlyArray<AuthorizedTenant>