Skip to main content

start_new_session

Function start_new_session 

Source
async fn start_new_session(
    credentials: &Credentials,
    account_key: &AccountKey,
    client_info: &ClientInfo,
    rest: &RestClient,
) -> Result<(String, SrpInfo), OnePasswordError>
Expand description

Starts a new session, looping through device registration/reauthorization until the server returns SRP parameters.