JwtAuthModel Class
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.
Model for API authentication with JWT. Simple exchange between user name + password to access token.
public class JwtAuthModel : Azure.ResourceManager.SecurityInsights.Models.CcpAuthConfig, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.JwtAuthModel>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.JwtAuthModel>
type JwtAuthModel = class
inherit CcpAuthConfig
interface IJsonModel<JwtAuthModel>
interface IPersistableModel<JwtAuthModel>
Public Class JwtAuthModel
Inherits CcpAuthConfig
Implements IJsonModel(Of JwtAuthModel), IPersistableModel(Of JwtAuthModel)
- Inheritance
- Implements
Constructors
JwtAuthModel(String, IDictionary<String,String>, IDictionary<String,String>) |
Initializes a new instance of JwtAuthModel. |
Properties
Headers |
The custom headers we want to add once we send request to token endpoint. |
IsCredentialsInHeaders |
Flag indicating whether we want to send the user name and password to token endpoint in the headers. |
IsJsonRequest |
Flag indicating whether the body request is JSON (header Content-Type = application/json), meaning its a Form URL encoded request (header Content-Type = application/x-www-form-urlencoded). |
Password |
The password. |
QueryParameters |
The custom query parameter we want to add once we send request to token endpoint. |
RequestTimeoutInSeconds |
Request timeout in seconds. |
TokenEndpoint |
Token endpoint to request JWT. |
UserName |
The user name. If user name and password sent in header request we only need to populate the |
Explicit Interface Implementations
Applies to
Azure SDK for .NET