(sandbox_id: &str)
| 864 | } |
| 865 | |
| 866 | fn sandbox_principal(sandbox_id: &str) -> Principal { |
| 867 | Principal::Sandbox(SandboxPrincipal { |
| 868 | sandbox_id: sandbox_id.to_string(), |
| 869 | source: SandboxIdentitySource::BootstrapJwt { |
| 870 | issuer: "openshell-gateway:test".to_string(), |
| 871 | }, |
| 872 | trust_domain: Some("openshell".to_string()), |
| 873 | }) |
| 874 | } |
| 875 | |
| 876 | fn user_principal(subject: &str) -> Principal { |
| 877 | Principal::User(UserPrincipal { |