Skip to main content

with_auth_layer

Function with_auth_layer 

Source
pub fn with_auth_layer(router: Router, jwks_cache: JwksCache) -> Router
Expand description

Wrap a router with Bearer-token authentication backed by a JWKS cache.