#tokens #auth-token

modality-auth-token

Provides standardized access to local modality auth tokens

3 unstable releases

0.2.0 Feb 27, 2024
0.1.1 May 23, 2023
0.1.0 Jan 6, 2023

#728 in Authentication


Used in 5 crates (3 directly)

Apache-2.0

12KB
230 lines

modality-auth-token

Provides standardized access to local modality auth tokens.

Documentation: https://docs.rs/modality-auth-token/latest/modality_auth_token/


lib.rs:

Library relating to the handling of modality's auth tokens:

  • Representation in memory
  • Stringy-hexy serialization
  • A tiny file format that pairs an auth token with a plaintext user name

Dependencies

~0.3–2.2MB
~42K SLoC