Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class Permission

    Represents a permission entity.

    Inheritance
    object
    ValueObject
    ValueObject<Guid>
    Permission
    Inherited Members
    ValueObject<Guid>.Id
    ValueObject.Equals(object)
    ValueObject.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Domain.Security
    Assembly: Innovt.Domain.dll
    Syntax
    public class Permission : ValueObject<Guid>

    Constructors

    | Edit this page View Source

    Permission()

    Initializes a new instance of the Permission class.

    Declaration
    public Permission()

    Properties

    | Edit this page View Source

    Name

    The custom name that you need to show to your customer.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Resource

      • mean that you want to authorize the full path/domain Controller/* mean that you can authorize all actions Controller/Action mean that you want to authorize only this action
    Declaration
    public string Resource { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Scope

    Can be the area in your Controller

    Declaration
    public string Scope { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX