Share via


BotAuthenticator.GenerateUnauthorizedResponse Method

Definition

public static System.Net.Http.HttpResponseMessage GenerateUnauthorizedResponse (System.Net.Http.HttpRequestMessage request, string reason = "");
static member GenerateUnauthorizedResponse : System.Net.Http.HttpRequestMessage * string -> System.Net.Http.HttpResponseMessage
Public Shared Function GenerateUnauthorizedResponse (request As HttpRequestMessage, Optional reason As String = "") As HttpResponseMessage

Parameters

reason
String

Returns

Applies to