Search Results for

    Show / Hide Table of Contents

    Class UserPrivileges

    the priviledges of the user which will be embedded in the jwt or cookie

    Inheritance
    object
    UserPrivileges
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public sealed class UserPrivileges

    Properties

    Claims

    claims of the user

    Declaration
    public List<Claim> Claims { get; }
    Property Value
    Type Description
    List<Claim>

    this[string]

    shortcut for adding a new Claim to the claim list for the given claim type and value

    Declaration
    public string this[string claimType] { set; }
    Parameters
    Type Name Description
    string claimType

    the claim type to add

    Property Value
    Type Description
    string

    Permissions

    allowed permissions for the user

    Declaration
    public List<string> Permissions { get; }
    Property Value
    Type Description
    List<string>

    Roles

    roles of the user

    Declaration
    public List<string> Roles { get; }
    Property Value
    Type Description
    List<string>
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX