#![warn(missing_docs)]
#[cfg(feature = "api")]
pub mod api;
pub mod bastion_login;
mod error;
mod net;
mod request;
mod revocation;
mod token;
mod verifier;
pub mod vocabulary;
pub use biscuit_auth::{KeyPair, PrivateKey, PublicKey};
pub use error::Error;
pub use net::Network;
pub use request::{AccessRequest, Command, Mode, Name};
pub use revocation::RevocationList;
pub use token::{BlockInfo, attenuate, granted_rights, inspect, mint};
pub use verifier::{Authorization, DEFAULT_POLICY, MAX_LIFETIME, MAX_TOKEN_LEN, Verifier, failed_checks};
pub use vocabulary::{Restriction, Right};