ws-auth 0.0.3

A library to help build authentication services and client libraries for web services.
Documentation
pub struct User {
    /// The object identifier
    id: String,
}

pub struct ServicePrincipal {
    /// The object identifier
    id: String,

    // The client_id of this service principal
    client_id: String,

    // Scopes that this service principal offers
    scopes: Vec<String>,
}

pub struct Group {
    /// The object identifier
    id: String,

    // Direct members of this group
    //
    members: Vec<String>,
}