Partilhar via


JwtAuthentication Construtores

Definição

Sobrecargas

JwtAuthentication()

Inicializa uma nova instância da classe JwtAuthentication.

JwtAuthentication(IList<String>, IList<String>, IList<TokenClaim>, IList<TokenKey>)

Inicializa uma nova instância da classe JwtAuthentication.

JwtAuthentication()

Inicializa uma nova instância da classe JwtAuthentication.

public JwtAuthentication ();
Public Sub New ()

Aplica-se a

JwtAuthentication(IList<String>, IList<String>, IList<TokenClaim>, IList<TokenKey>)

Inicializa uma nova instância da classe JwtAuthentication.

public JwtAuthentication (System.Collections.Generic.IList<string> issuers = default, System.Collections.Generic.IList<string> audiences = default, System.Collections.Generic.IList<Microsoft.Azure.Management.VideoAnalyzer.Models.TokenClaim> claims = default, System.Collections.Generic.IList<Microsoft.Azure.Management.VideoAnalyzer.Models.TokenKey> keys = default);
new Microsoft.Azure.Management.VideoAnalyzer.Models.JwtAuthentication : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.VideoAnalyzer.Models.TokenClaim> * System.Collections.Generic.IList<Microsoft.Azure.Management.VideoAnalyzer.Models.TokenKey> -> Microsoft.Azure.Management.VideoAnalyzer.Models.JwtAuthentication
Public Sub New (Optional issuers As IList(Of String) = Nothing, Optional audiences As IList(Of String) = Nothing, Optional claims As IList(Of TokenClaim) = Nothing, Optional keys As IList(Of TokenKey) = Nothing)

Parâmetros

issuers
IList<String>

Lista de emissores de token esperados. O emissor do token será válido se corresponder a pelo menos um dos valores fornecidos.

audiences
IList<String>

Lista de audiências de token esperadas. O público-alvo do token será válido se corresponder a pelo menos um dos valores fornecidos.

claims
IList<TokenClaim>

Lista de declarações de token adicionais a serem validadas. O token deve conter todas as declarações e os respectivos valores para que ele seja válido.

keys
IList<TokenKey>

Lista de chaves que podem ser usadas para validar tokens de acesso. Ter várias chaves permite a rotação perfeita de chaves da chave de assinatura de token. A assinatura do token deve corresponder exatamente a uma chave.

Aplica-se a