Skip to main content

token_response

Function token_response 

Source
fn token_response(token: String, info: TokenInfo) -> RegistrationToken
Expand description

Map a validated token into the admin API wire shape. Config-file tokens carry no usage state, so they read as unlimited, never expiring, and unused.