pub async fn complete(
runtime: &OauthRuntime,
http: &Client,
pool: &SqlitePool,
params: &CallbackParams,
presented_cookie: Option<&str>,
now: i64,
) -> Result<CompletedLogin>Expand description
Finish a login from the callback’s query parameters.
The session is stored before this returns, so by the time the caller mints a cookie the tokens are already durable. The reverse would leave a browser holding a session the server cannot serve.