Skip to main content

rotate_credentials

Function rotate_credentials 

Source
pub fn rotate_credentials(
    user_id: &str,
    device_id: &str,
    token: &str,
    hostname: &str,
) -> Result<(), CredentialError>
Expand description

rotate_credentials persists a new token after a WS token_rotated event.