Type Alias matrix_sdk::oidc::types::client_credentials::JwtSigningFn

source ยท
pub type JwtSigningFn = dyn Fn(HashMap<String, Value>, JsonWebSignatureAlg) -> Result<String, Box<dyn Error + Sync + Send>> + Sync + Send;
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.