Struct AuthorisationResult
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
RolesIReadOnlySet<Role>PermissionsIReadOnlySet<Permission>
Properties
Permissions
public IReadOnlySet<Permission> Permissions { readonly get; set; }
Property Value
Roles
public IReadOnlySet<Role> Roles { readonly get; set; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.