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
11
12
13
14
15
error[E0624]: associated function `new_sealed` is private
 --> tests/compile_fail/verified_user_construct.rs:9:27
  |
9 |       let _ = VerifiedUser::new_sealed(
  |                             ^^^^^^^^^^ private associated function
  |
 ::: src/verified_user.rs
  |
  | /     pub(crate) fn new_sealed(
  | |         user_id: String,
  | |         issuer: String,
  | |         issued_at: i64,
  | |         expires_at: i64,
  | |     ) -> Self {
  | |_____________- private associated function defined here