C# 클래스 Dev2.Services.Security.AuthorizationHelpers

파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf

공개 메소드들

메소드 설명
CanDebug ( this permissions ) : bool
IsContributor ( this permissions ) : bool
Matches ( this permission, string resource ) : bool
ToPermissions ( this context ) : Permissions
ToReason ( this value, bool isAuthorized = false ) : string

메소드 상세

CanDebug() 공개 정적인 메소드

public static CanDebug ( this permissions ) : bool
permissions this
리턴 bool

IsContributor() 공개 정적인 메소드

public static IsContributor ( this permissions ) : bool
permissions this
리턴 bool

Matches() 공개 정적인 메소드

public static Matches ( this permission, string resource ) : bool
permission this
resource string
리턴 bool

ToPermissions() 공개 정적인 메소드

public static ToPermissions ( this context ) : Permissions
context this
리턴 Permissions

ToReason() 공개 정적인 메소드

public static ToReason ( this value, bool isAuthorized = false ) : string
value this
isAuthorized bool
리턴 string