Search Results for

    Show / Hide Table of Contents

    Class SecurityOptions

    global security options

    Inheritance
    object
    SecurityOptions
    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 SecurityOptions

    Properties

    NameClaimType

    specify a custom claim type used to identity the name of a user principal. defaults to name.

    WARNING: do not change the default unless you fully comprehend what you're doing!!!

    Declaration
    public string NameClaimType { set; }
    Property Value
    Type Description
    string

    PermissionsClaimType

    specify a custom claim type used to identify permissions of a user principal. defaults to permissions.

    WARNING: do not change the default unless you fully comprehend what you're doing!!!

    Declaration
    public string PermissionsClaimType { set; }
    Property Value
    Type Description
    string

    RoleClaimType

    specify a custom claim type used to identify roles of a user principal. defaults to role.

    WARNING: do not change the default unless you fully comprehend what you're doing!!!

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