sos_login/
lib.rs

1#![deny(missing_docs)]
2#![forbid(unsafe_code)]
3#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
4//! Identity folder protects delegated passwords and
5//! is used to authenticate an account.
6
7mod delegated_access;
8pub mod device;
9mod error;
10mod identity;
11mod identity_folder;
12mod private_identity;
13
14pub use delegated_access::DelegatedAccess;
15pub use identity::*;
16pub use identity_folder::IdentityFolder;
17pub use private_identity::PrivateIdentity;
18
19// DO NOT USE - backwards compatible re-exports
20pub use sos_core::PublicIdentity;
21
22pub use error::Error;
23
24/// Result type for the library.
25pub(crate) type Result<T> = std::result::Result<T, Error>;