Interface IAuthenticationHeaderValueFactory

The IAuthenticationHeaderValueFactory interface describes a component capable of creating 'Authorization' headers for requests.

Namespace: EPiServer.Social.Common.Rest
Assembly: EPiServer.Social.Common.Rest.dll
Version: 1.5.4
Syntax
public interface IAuthenticationHeaderValueFactory

Methods

CreateAsync(HttpRequestMessage)

Creates an AuthenticationHeaderValue for the provided request.

Declaration
Task<AuthenticationHeaderValue> CreateAsync(HttpRequestMessage message)
Parameters
Type Name Description
System.Net.Http.HttpRequestMessage message

Request to be authenticated

Returns
Type Description
System.Threading.Tasks.Task<System.Net.Http.Headers.AuthenticationHeaderValue>

AuthenticationHeaderValue for the request

arrow_upward