(subject: &str)
| 1404 | } |
| 1405 | |
| 1406 | fn user_principal(subject: &str) -> Principal { |
| 1407 | Principal::User(UserPrincipal { |
| 1408 | identity: Identity { |
| 1409 | subject: subject.to_string(), |
| 1410 | display_name: None, |
| 1411 | roles: vec![], |
| 1412 | scopes: vec![], |
| 1413 | provider: IdentityProvider::Oidc, |
| 1414 | }, |
| 1415 | }) |
| 1416 | } |
| 1417 | |
| 1418 | fn mtls_identity(subject: &str) -> Identity { |
| 1419 | Identity { |
no outgoing calls
no test coverage detected