Table of Contents

Class AuthDataDto

Namespace
KadicAuth.Application.Auth.DTOs
Assembly
KadicAuth.Application.dll
public sealed record AuthDataDto
Inheritance
object
AuthDataDto

Constructors

AuthDataDto(Guid, Guid, Guid, IEnumerable<Guid>, string, string, IEnumerable<string>, IEnumerable<Guid>, bool)

public AuthDataDto(Guid UserId, Guid TenantId, Guid PrimaryTenantBranchId, IEnumerable<Guid> TenantBranchIds, string Email, string Username, IEnumerable<string> Roles, IEnumerable<Guid> RoleIds, bool IsPlatformAdmin = false)

Parameters

UserId Guid
TenantId Guid
PrimaryTenantBranchId Guid
TenantBranchIds IEnumerable<Guid>
Email string
Username string
Roles IEnumerable<string>
RoleIds IEnumerable<Guid>
IsPlatformAdmin bool

Properties

Email

public string Email { get; init; }

Property Value

string

IsPlatformAdmin

public bool IsPlatformAdmin { get; init; }

Property Value

bool

PrimaryTenantBranchId

public Guid PrimaryTenantBranchId { get; init; }

Property Value

Guid

RoleIds

public IEnumerable<Guid> RoleIds { get; init; }

Property Value

IEnumerable<Guid>

Roles

public IEnumerable<string> Roles { get; init; }

Property Value

IEnumerable<string>

TenantBranchIds

public IEnumerable<Guid> TenantBranchIds { get; init; }

Property Value

IEnumerable<Guid>

TenantId

public Guid TenantId { get; init; }

Property Value

Guid

UserId

public Guid UserId { get; init; }

Property Value

Guid

Username

public string Username { get; init; }

Property Value

string