pub fn auth_layer_for(auth: AuthConfig) -> Router
Build the auth middleware as a Layer for use with .layer().
.layer()