Share via


JwtFormat Constructor (IEnumerable<String>, IEnumerable<IIssuerSecurityTokenProvider>)

Initializes a new instance of the JwtFormat class.

Namespace:  Microsoft.Owin.Security.Jwt
Assembly:  Microsoft.Owin.Security.Jwt (in Microsoft.Owin.Security.Jwt.dll)

Syntax

'Declaration
Public Sub New ( _
    allowedAudiences As IEnumerable(Of String), _
    issuerCredentialProviders As IEnumerable(Of IIssuerSecurityTokenProvider) _
)
'Usage
Dim allowedAudiences As IEnumerable(Of String)
Dim issuerCredentialProviders As IEnumerable(Of IIssuerSecurityTokenProvider)

Dim instance As New JwtFormat(allowedAudiences, _
    issuerCredentialProviders)
public JwtFormat(
    IEnumerable<string> allowedAudiences,
    IEnumerable<IIssuerSecurityTokenProvider> issuerCredentialProviders
)
public:
JwtFormat(
    IEnumerable<String^>^ allowedAudiences, 
    IEnumerable<IIssuerSecurityTokenProvider^>^ issuerCredentialProviders
)
new : 
        allowedAudiences:IEnumerable<string> * 
        issuerCredentialProviders:IEnumerable<IIssuerSecurityTokenProvider> -> JwtFormat
public function JwtFormat(
    allowedAudiences : IEnumerable<String>, 
    issuerCredentialProviders : IEnumerable<IIssuerSecurityTokenProvider>
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown if the issuerCredentialProviders is null.

See Also

Reference

JwtFormat Class

JwtFormat Overload

Microsoft.Owin.Security.Jwt Namespace