C# Класс PhotoSharingApp.AppService.Tests.Helpers.UserRegistrationReferenceProviderMock

Helper class for mocking the user registration reference provider.
Наследование: 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