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)
| 112 | /// Mint a fresh token. Tokens are not cached, so this is identical to |
| 113 | /// [`get_token`]; kept for call-site compatibility (e.g. retry-after-401). |
| 114 | pub async fn refresh_token(server: &str, identity: &Identity) -> CliResult<String> { |
| 115 | mint_token(server, identity) |
| 116 | } |
| 117 | |
| 118 | // --------------------------------------------------------------------------- |
| 119 | // Minting |
nothing calls this directly
no test coverage detected