Module server

Module server 

Source
Expand description

OAuth2ResourceServer is what underpins the tower middleware, and actually performs JWT validation.

In addition, it queries and maintains a state of public keys used by the external authorization server.

It’s recommended to keep a single instance of this in an Arc and provide references to it to the different routes where JWT validation is needed.

Structs§

OAuth2ResourceServer
OAuth2ResourceServer