Path to the stored OIDC token bundle for a gateway.
(gateway_name: &str)
| 36 | |
| 37 | /// Path to the stored OIDC token bundle for a gateway. |
| 38 | pub fn oidc_token_path(gateway_name: &str) -> Result<PathBuf> { |
| 39 | Ok(user_gateway_dir(gateway_name)?.join("oidc_token.json")) |
| 40 | } |
| 41 | |
| 42 | /// Store an OIDC token bundle for a gateway. |
| 43 | pub fn store_oidc_token(gateway_name: &str, bundle: &OidcTokenBundle) -> Result<()> { |
no test coverage detected