create_user_and_session

Function create_user_and_session 

Source
pub async fn create_user_and_session(
    username: String,
    password_bytes: Vec<u8>,
    duration_secs: u64,
) -> Result<String>
Expand description

Create user and session: creates a new user, registers session, and returns session token.