Docs.rs
  • cc-auth-0.2.1
    • cc-auth 0.2.1
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • markcda
    • Dependencies
      • chrono ^0.4 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • sha3 ^0.10 normal
      • cc-utils ^0.2.7 normal
      • bb8-redis ^0.15 normal
      • cc-utils ^0.2.7 normal
      • passwords ^3.1 normal
    • Versions
    • 87.5% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

cc_auth0.2.1

  • Structs
  • Constants
  • Functions
  • Type Aliases

List of all items

Structs

  • UserToken

Functions

  • check_and_remove_token
  • check_token
  • generate_salt
  • generate_token
  • get_user_tokens_list_name
  • hash_password
  • hashes_eq
  • log_in

Type Aliases

  • ApiToken
  • UserId

Constants

  • DAYS_VALID
  • MAX_TOKENS_PER_USER