ScheduledJobAuthorizationManager.IsAuthorized 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.
Determines whether a particular HttpRequestMessage is authorized to initiate the
IScheduledJob identified by the jobName
.
public bool IsAuthorized (System.Net.Http.HttpRequestMessage request, string jobName);
abstract member IsAuthorized : System.Net.Http.HttpRequestMessage * string -> bool
override this.IsAuthorized : System.Net.Http.HttpRequestMessage * string -> bool
Public Function IsAuthorized (request As HttpRequestMessage, jobName As String) As Boolean
Parameters
- request
- HttpRequestMessage
The HttpRequestMessage to evaluate.
- jobName
- String
The name of the IScheduledJob.
Returns
true
if the request is authorized, false
otherwise.
Implements
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET