Class JwtReaderFactory
Create IJwtReader instances for the specified issuer and audience, that will validate using the supplied JSON Web Keyset URI.
public static class JwtReaderFactory- Inheritance
- 
      
      JwtReaderFactory
- Inherited Members
Methods
CreateReader(IHttpClientFactory, string?, TimeSpan?, Uri, IJwksStore, string?, IIssuerProvider)
Creates a new IJwtReader.
public static IJwtReader CreateReader(IHttpClientFactory httpClientFactory, string? httpClientName, TimeSpan? httpTimeout, Uri jsonWebKeysetUri, IJwksStore jwksStore, string? audience, IIssuerProvider issuerProvider)Parameters
- httpClientFactoryIHttpClientFactory
- Factory to create an HttpClient instance to request the JSON Web Keyset. 
- httpClientNamestring
- The name of the HttpClient to use to request the JSON Web Keyset. 
- httpTimeoutTimeSpan?
- Timeout setting for HTTP request. 
- jsonWebKeysetUriUri
- URI for JSON Web Keyset. 
- jwksStoreIJwksStore
- Store for JSON Web Keys 
- audiencestring
- The expected audience for the JSON Web Token(s). 
- issuerProviderIIssuerProvider
- Provides the list of valid issuers for the JSON Web Token(s). 
Returns
- IJwtReader
- IJwtReader configure to parse and validate JSON Web Tokens from the specified source.