(&self)
| 42 | |
| 43 | impl Authentication { |
| 44 | pub fn token(&self) -> Option<&str> { |
| 45 | match self { |
| 46 | Authentication::Oidc(token) |
| 47 | | Authentication::RunToken(token) |
| 48 | | Authentication::CliLogin(token) => Some(token), |
| 49 | Authentication::Tokenless => None, |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | /// How to name it in the runner output. |
| 54 | pub fn label(&self, run_environment: &RunEnvironment) -> String { |
no outgoing calls
no test coverage detected