Mint a fresh token. Tokens are not cached, so this is identical to [`get_token`]; kept for call-site compatibility (e.g. retry-after-401).
(server: &str, identity: &Identity)
| 73 | /// Mint a fresh token. Tokens are not cached, so this is identical to |
| 74 | /// [`get_token`]; kept for call-site compatibility (e.g. retry-after-401). |
| 75 | pub async fn refresh_token(server: &str, identity: &Identity) -> CliResult<String> { |
| 76 | mint_token(server, identity) |
| 77 | } |
| 78 | |
| 79 | // --------------------------------------------------------------------------- |
| 80 | // Minting |
nothing calls this directly
no test coverage detected