use-authn 0.0.1

Authentication metadata primitives for RustUse
Documentation
  • Coverage
  • 23.68%
    18 out of 76 items documented1 out of 18 items with examples
  • Size
  • Source code size: 9.54 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.05 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • RustUse/use-security
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-authn

Authentication primitive metadata for RustUse.

Experimental

use-authn is experimental while the use-security workspace remains below 0.3.0. Expect small API adjustments during the first release wave.

Example

use use_authn::{AuthenticationFactor, AuthenticationMethod, MfaStatus};

assert_eq!(AuthenticationMethod::Passkey.as_str(), "passkey");
assert_eq!(AuthenticationFactor::Possession.as_str(), "possession");
assert_eq!(MfaStatus::Enforced.to_string(), "enforced");

Scope

  • Authentication methods, factors, schemes, credential kinds, session kinds, token-binding labels, password-policy levels, and MFA status labels.
  • Local metadata for tools, documentation, and application glue code.

Non-goals

  • Authenticating users.
  • Password hashing.
  • Token generation, validation, or storage.
  • Identity provider or session server behavior.

License

Licensed under either of the following, at your option:

  • Apache License, Version 2.0
  • MIT license