Skip to main content

database_token_response

Function database_token_response 

Source
fn database_token_response(
    token: String,
    info: &DatabaseTokenInfo,
) -> RegistrationToken
Expand description

Map a token and its stored metadata into the admin API wire shape. pending is always zero: tuwunel consumes uses in a single step with no two-phase registration model.