Skip to main content

sign

Function sign 

Source
pub(crate) fn sign(
    state: &AppState,
    did: &str,
    token: ServiceAuth<'_>,
) -> Result<String, ApiError>
Expand description

Signs token as did, through the registry that holds its key.