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
    System.Object
    UserPrivileges
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.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
    System.Collections.Generic.List<System.Security.Claims.Claim>

    Item[String]

    shortcut for adding a new System.Security.Claims.Claim to the claim list for the given claim type and value

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

    the claim type to add

    Property Value
    Type Description
    System.String

    Permissions

    allowed permissions for the user

    Declaration
    public List<string> Permissions { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    Roles

    roles of the user

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