Table of Contents

Struct AuthorisationResult

Namespace
The.Security
Assembly
Instagile.dll

Stores the result of an authorisation lookup - named roles and granted permissions.

public record struct AuthorisationResult : IEquatable<AuthorisationResult>
Implements
Inherited Members

Constructors

AuthorisationResult(IReadOnlySet<Role>, IReadOnlySet<Permission>)

Stores the result of an authorisation lookup - named roles and granted permissions.

public AuthorisationResult(IReadOnlySet<Role> Roles, IReadOnlySet<Permission> Permissions)

Parameters

Roles IReadOnlySet<Role>
Permissions IReadOnlySet<Permission>

Properties

Permissions

public IReadOnlySet<Permission> Permissions { readonly get; set; }

Property Value

IReadOnlySet<Permission>

Roles

public IReadOnlySet<Role> Roles { readonly get; set; }

Property Value

IReadOnlySet<Role>

Methods

ToString()

Returns the fully qualified type name of this instance.

public override readonly string ToString()

Returns

string

The fully qualified type name.