pub type JwtSigningFn = dyn Fn(HashMap<String, Value>, JsonWebSignatureAlg) -> Result<String, Box<dyn Error + Send + Sync>> + Send + Sync;
Available on crate feature experimental-oidc only.
Expand description

A function that takes a map of claims and a signing algorithm and returns a signed JWT.