Skip to main content

create_session

Function create_session 

Source
pub async fn create_session(
    pool: &SqlitePool,
    session_id: &str,
    did: &str,
    handle: &str,
    access_token: &str,
    refresh_token: Option<&str>,
    expires_at: i64,
) -> Result<()>
Expand description

Insert a new session into the database.