Function josekit::jwt::encode_with_signer [−][src]
pub fn encode_with_signer(
payload: &JwtPayload,
header: &JwsHeader,
signer: &dyn JwsSigner
) -> Result<String, JoseError>
Expand description
Return the string repsentation of the JWT with the siginig algorithm.
Arguments
payload
- The payload data.header
- The JWS heaser claims.signer
- a signer object.