plexus-auth-core 0.1.0

Sealed-type primitives for the Plexus auth framework: AuthContext, VerifiedUser, Principal.
Documentation
1
2
3
4
5
6
7
8
9
10
error[E0624]: associated function `try_new` is private
  --> tests/compile_fail/tenant_construct.rs:13:21
   |
13 |     let _ = Tenant::try_new("victim-tenant");
   |                     ^^^^^^^ private associated function
   |
  ::: src/tenant/types.rs
   |
   |     pub(crate) fn try_new(s: impl Into<String>) -> Result<Self, TenantError> {
   |     ------------------------------------------------------------------------ private associated function defined here