JwtTokenExtractor 建構函式

定義

多載

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

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

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

參數

httpClient
System.Net.Http.HttpClient
tokenValidationParameters
Microsoft.IdentityModel.Tokens.TokenValidationParameters
metadataUrl
System.String
allowedSigningAlgorithms
System.Collections.Generic.HashSet<System.String>

適用於

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

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.SkillAuthentication.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.SkillAuthentication.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))))

參數

httpClient
System.Net.Http.HttpClient
tokenValidationParameters
Microsoft.IdentityModel.Tokens.TokenValidationParameters
metadataUrl
System.String
allowedSigningAlgorithms
System.Collections.Generic.HashSet<System.String>
customEndorsementsConfig
Microsoft.IdentityModel.Protocols.ConfigurationManager<System.Collections.Generic.IDictionary<System.String,System.Collections.Generic.HashSet<System.String>>>

適用於