Skip to main content

resource_token

Function resource_token 

Source
pub fn resource_token(
    key: &SigningKey,
    params: &ResourceTokenParams<'_>,
) -> Result<String>
Expand description

Mint a resource token for a requirement=auth-token challenge, addressed to the Person Server that issued the presented token, and carrying its sub, mission_s256 and tenant unchanged.