C# 클래스 PhotoSharingApp.AppService.Helpers.DefaultUserRegistrationReferenceProvider

Provides operations to help identify the User accessing the service via HttpRequest.
상속: IUserRegistrationReferenceProvider
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing

공개 메소드들

메소드 설명
GetCurrentUserRegistrationReferenceAsync ( ClaimsPrincipal principal, HttpRequestMessage request ) : Task

Extracts the User details accessing the service as a unique id in the form of "{authprovider}:{uniqueId}" using ProviderCrednetials for the logged in user.

메소드 상세

GetCurrentUserRegistrationReferenceAsync() 공개 메소드

Extracts the User details accessing the service as a unique id in the form of "{authprovider}:{uniqueId}" using ProviderCrednetials for the logged in user.
public GetCurrentUserRegistrationReferenceAsync ( ClaimsPrincipal principal, HttpRequestMessage request ) : Task
principal System.Security.Claims.ClaimsPrincipal The principal accessing the service.
request System.Net.Http.HttpRequestMessage The HttpRequest used to access the service.
리턴 Task