JwtAuthentication Constructors
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.
Overloads
JwtAuthentication() |
Initializes a new instance of the JwtAuthentication class. |
JwtAuthentication(IList<String>, IList<String>, IList<TokenClaim>, IList<TokenKey>) |
Initializes a new instance of the JwtAuthentication class. |
JwtAuthentication()
Initializes a new instance of the JwtAuthentication class.
public JwtAuthentication ();
Public Sub New ()
Applies to
JwtAuthentication(IList<String>, IList<String>, IList<TokenClaim>, IList<TokenKey>)
Initializes a new instance of the JwtAuthentication class.
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)
Parameters
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
- claims
- IList<TokenClaim>
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
Applies to
Azure SDK for .NET