kiwi-sdk 0.1.1

The Kiwi SDK allows you to write pluggable modules that hook into the Kiwi runtime.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Types and macros for building authentication hooks

pub use kiwi_macro::authenticate;

/// The outcome of an authentication hook
pub enum Outcome {
    /// Authenticate the connection
    Authenticate,
    /// Reject the connection
    Reject,
    /// Authenticate the connection and attach custom context for use in the
    /// intercept hook
    WithContext(Vec<u8>),
}