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
boolThe value indicating whether the user is authorized.
tenantId
stringThe 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
TenantId
Gets the tenant identifier.
public string? TenantId { get; }
Property Value
Tenants
Gets the authorized tenants of the connected user.
public ReadOnlyArray<AuthorizedTenant> Tenants { get; }