C# 클래스 WorldDomination.Security.ClaimsExtensions

파일 보기 프로젝트 열기: PureKrome/WorldDomination.Security

공개 메소드들

메소드 설명
WithDisplayName ( this claimsPrincipal ) : string

The Display Name claim, if one exists.

WithPictureUri ( this claimsPrincipal ) : string

The Avatar/Profile picture Uri claim, if one exists.

WithUserId ( this claimsPrincipal ) : string

The UserId claim, if one exists.

메소드 상세

WithDisplayName() 공개 정적인 메소드

The Display Name claim, if one exists.
public static WithDisplayName ( this claimsPrincipal ) : string
claimsPrincipal this ClaimsPrincipal: the claims principal.
리턴 string

WithPictureUri() 공개 정적인 메소드

The Avatar/Profile picture Uri claim, if one exists.
public static WithPictureUri ( this claimsPrincipal ) : string
claimsPrincipal this ClaimsPrincipal: the claims principal.
리턴 string

WithUserId() 공개 정적인 메소드

The UserId claim, if one exists.
public static WithUserId ( this claimsPrincipal ) : string
claimsPrincipal this ClaimsPrincipal: the claims principal.
리턴 string