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
//! AUTHZ-CRED-CORE-1 acceptance criterion 7: `Credential<T>` does not
//! implement `Default`. A default credential would be an unsigned,
//! anonymously-minted value with no metadata — a security footgun.

use plexus_auth_core::Credential;

fn main() {
    let _: Credential<String> = Default::default();
}