JwtTokenExtractor Constructors

Definitie

Overloads

JwtTokenExtractor(HttpClient, TokenValidationParameters, String, HashSet<String>)

Initialiseert een nieuw exemplaar van de JwtTokenExtractor klasse. Hiermee worden relevante gegevens uit JWT-tokens geëxtraheerd.

JwtTokenExtractor(HttpClient, TokenValidationParameters, String, HashSet<String>, ConfigurationManager<IDictionary<String,HashSet<String>>>)

Initialiseert een nieuw exemplaar van de JwtTokenExtractor klasse. Hiermee worden relevante gegevens uit JWT-tokens geëxtraheerd.

JwtTokenExtractor(HttpClient, TokenValidationParameters, String, HashSet<String>)

Initialiseert een nieuw exemplaar van de JwtTokenExtractor klasse. Hiermee worden relevante gegevens uit JWT-tokens geëxtraheerd.

public JwtTokenExtractor(System.Net.Http.HttpClient httpClient, Microsoft.IdentityModel.Tokens.TokenValidationParameters tokenValidationParameters, string metadataUrl, System.Collections.Generic.HashSet<string> allowedSigningAlgorithms);
new Microsoft.Bot.Connector.Authentication.JwtTokenExtractor : System.Net.Http.HttpClient * Microsoft.IdentityModel.Tokens.TokenValidationParameters * string * System.Collections.Generic.HashSet<string> -> Microsoft.Bot.Connector.Authentication.JwtTokenExtractor
Public Sub New (httpClient As HttpClient, tokenValidationParameters As TokenValidationParameters, metadataUrl As String, allowedSigningAlgorithms As HashSet(Of String))

Parameters

httpClient
HttpClient

Als onderdeel van het valideren van JWT-tokens moeten goedkeuringen worden opgehaald uit bronnen die zijn opgegeven door de relevante beveiligings-URL's. Deze HttpClient wordt gebruikt om het groeperen van resources rond deze ophaalprogramma's toe te staan. Omdat voor deze resources TLS-delen is vereist, is de HttpClient belangrijk voor de algehele prestaties.

tokenValidationParameters
TokenValidationParameters

tokenValidationParameters.

metadataUrl
String

metadataUrl.

allowedSigningAlgorithms
HashSet<String>

allowedSigningAlgorithms.

Van toepassing op

JwtTokenExtractor(HttpClient, TokenValidationParameters, String, HashSet<String>, ConfigurationManager<IDictionary<String,HashSet<String>>>)

Initialiseert een nieuw exemplaar van de JwtTokenExtractor klasse. Hiermee worden relevante gegevens uit JWT-tokens geëxtraheerd.

public JwtTokenExtractor(System.Net.Http.HttpClient httpClient, Microsoft.IdentityModel.Tokens.TokenValidationParameters tokenValidationParameters, string metadataUrl, System.Collections.Generic.HashSet<string> allowedSigningAlgorithms, Microsoft.IdentityModel.Protocols.ConfigurationManager<System.Collections.Generic.IDictionary<string,System.Collections.Generic.HashSet<string>>> customEndorsementsConfig);
new Microsoft.Bot.Connector.Authentication.JwtTokenExtractor : System.Net.Http.HttpClient * Microsoft.IdentityModel.Tokens.TokenValidationParameters * string * System.Collections.Generic.HashSet<string> * Microsoft.IdentityModel.Protocols.ConfigurationManager<System.Collections.Generic.IDictionary<string, System.Collections.Generic.HashSet<string>>> -> Microsoft.Bot.Connector.Authentication.JwtTokenExtractor
Public Sub New (httpClient As HttpClient, tokenValidationParameters As TokenValidationParameters, metadataUrl As String, allowedSigningAlgorithms As HashSet(Of String), customEndorsementsConfig As ConfigurationManager(Of IDictionary(Of String, HashSet(Of String))))

Parameters

httpClient
HttpClient

Als onderdeel van het valideren van JWT-tokens moeten goedkeuringen worden opgehaald uit bronnen die zijn opgegeven door de relevante beveiligings-URL's. Deze HttpClient wordt gebruikt om het groeperen van resources rond deze ophaalprogramma's toe te staan. Omdat voor deze resources TLS-delen is vereist, is de HttpClient belangrijk voor de algehele prestaties.

tokenValidationParameters
TokenValidationParameters

tokenValidationParameters.

metadataUrl
String

metadataUrl.

allowedSigningAlgorithms
HashSet<String>

allowedSigningAlgorithms.

customEndorsementsConfig
ConfigurationManager<IDictionary<String,HashSet<String>>>

Aangepaste goedkeuringsconfiguratie die moet worden gebruikt door de JwtTokenExtractor.

Van toepassing op