Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Validation.​JwtRequestValidator
Assembly: Duende.IdentityServer
Inheritance: object → JwtRequestValidator
Implemented Interfaces
Validates JWT authorization request objects
Fields and Constants
Handler
JWT handler
protected readonly
Microsoft.​Extensions.​Logging.​ILogger
Logger
The logger
protected readonly
Configuration.​IdentityServerOptions
Options
The options
protected readonly
Services.​IIssuerNameService
IssuerNameService
The issuer name service
Methods
protected
System.​Threading.​Tasks.​Task<​string>
GetAudienceUri​()
The audience URI to use
public
System.​Threading.​Tasks.​Task<​JwtRequestValidationResult>
ValidateAsync​(JwtRequestValidationContext context)
protected
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​List<​Microsoft.​IdentityModel.​Tokens.​SecurityKey>>
GetKeysAsync​(Models.​Client client)
Retrieves keys for a given client
client
The client
protected
System.​Threading.​Tasks.​Task<​Microsoft.​IdentityModel.​JsonWebTokens.​JsonWebToken>
ValidateJwtAsync​(JwtRequestValidationContext context,
System.​Collections.​Generic.​IEnumerable<​Microsoft.​IdentityModel.​Tokens.​SecurityKey> keys)
Validates the JWT token
protected
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​List<​System.​Security.​Claims.​Claim>>
ProcessPayloadAsync​(JwtRequestValidationContext context,
Microsoft.​IdentityModel.​JsonWebTokens.​JsonWebToken token)
Processes the JWT contents
token
The JWT token
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object