(&self)
| 23 | Bearer, |
| 24 | ApiKey, |
| 25 | } |
| 26 | |
| 27 | impl AuthType { |
| 28 | pub fn as_str(&self) -> &'static str { |
| 29 | match self { |
| 30 | AuthType::None => "No Auth", |
| 31 | AuthType::Basic => "Basic Auth", |
| 32 | AuthType::Bearer => "Bearer Token", |
| 33 | AuthType::ApiKey => "API Key", |
| 34 | } |
| 35 | } |
no outgoing calls
no test coverage detected