C# 클래스 cloudscribe.Core.Identity.ClaimsPrincipalExtensions

파일 보기 프로젝트 열기: joeaudette/cloudscribe

공개 메소드들

메소드 설명
GetDisplayName ( this principal ) : string
GetEmail ( this principal ) : string
GetUserId ( this principal ) : string
IsInRoles ( this principal, string allowedRolesCsv ) : bool

메소드 상세

GetDisplayName() 공개 정적인 메소드

public static GetDisplayName ( this principal ) : string
principal this
리턴 string

GetEmail() 공개 정적인 메소드

public static GetEmail ( this principal ) : string
principal this
리턴 string

GetUserId() 공개 정적인 메소드

public static GetUserId ( this principal ) : string
principal this
리턴 string

IsInRoles() 공개 정적인 메소드

public static IsInRoles ( this principal, string allowedRolesCsv ) : bool
principal this
allowedRolesCsv string
리턴 bool