uniauth 2.1.1

Easy-to-use abstraction over authentication
Documentation
//! Status codes

/// Normal response data follows
pub const SUCCESS: u8 = 0;

/// Unknown request sent to daemon
pub const UNKNOWN_REQUEST: u8 = 1;

/// Key of given name does not exist
pub const UNKNOWN_KEY: u8 = 2;

/// Key was invalid
pub const INVALID_KEY: u8 = 3;

/// Key algorithm is not supported by the daemon
pub const UNSUPPORTED_KEY: u8 = 4;

/// Key already exists with that name
pub const KEY_EXISTS: u8 = 5;

/// User didn't allow the request
pub const USER_DENIED: u8 = 6;

/// General error in daemon backend
pub const GENERAL_FAILURE: u8 = 7;