BotAuthenticator.GenerateUnauthorizedResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- request
- HttpRequestMessage
- reason
- String