Module auth_resolver

Module auth_resolver 

Source
Expand description

AuthorizerResolver is used to decide what Authorizer that will validate a request.

By default, either SingleAuthorizerResolver or IssuerAuthorizerResolver will be used.

You can also provide your own implementation of AuthorizerResolver to customize the behavior.

Structs§

IssuerAuthorizerResolver
Selects an authorizer based on iss claim of JWTs.
KidAuthorizerResolver
Selects an authorizer based on kid of JWTs.
SingleAuthorizerResolver
Selects the first of the configured authorizers.

Traits§

AuthorizerResolver