Skip to main content

seed_session

Function seed_session 

Source
pub async fn seed_session(pool: &SqlitePool, did: &str, handle: &str) -> String
Expand description

Seed a session into the test database for a given user.

Returns the session ID that can be used in Authorization: Bearer <id> or Cookie: atrg_session=<id> headers.