| 163 | } |
| 164 | |
| 165 | std::string_view getAlgorithmName(Algorithm alg) { |
| 166 | if (alg == Algorithm::RS256) |
| 167 | return { "RS256" }; |
| 168 | else if (alg == Algorithm::ES256) |
| 169 | return { "ES256" }; |
| 170 | else |
| 171 | UNREACHABLE(); |
| 172 | } |
| 173 | |
| 174 | } // namespace authz |
| 175 |
no outgoing calls
no test coverage detected