C# Класс PhotoSharingApp.AppService.Helpers.DefaultUserRegistrationReferenceProvider

Provides operations to help identify the User accessing the service via HttpRequest.
Наследование: IUserRegistrationReferenceProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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