JwtAuthModel Constructor

Definition

Initializes a new instance of JwtAuthModel.

public JwtAuthModel (string tokenEndpoint, System.Collections.Generic.IDictionary<string,string> userName, System.Collections.Generic.IDictionary<string,string> password);
new Azure.ResourceManager.SecurityInsights.Models.JwtAuthModel : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.SecurityInsights.Models.JwtAuthModel
Public Sub New (tokenEndpoint As String, userName As IDictionary(Of String, String), password As IDictionary(Of String, String))

Parameters

tokenEndpoint
String

Token endpoint to request JWT.

userName
IDictionary<String,String>

The user name. If user name and password sent in header request we only need to populate the value property with the user name (Same as basic auth). If user name and password sent in body request we need to specify the Key and Value.

password
IDictionary<String,String>

The password.

Exceptions

tokenEndpoint, userName or password is null.

Applies to