Rust Keycloak

rust-keycloak is a Rust crate providing access to the Keycloak API.

Rust Keycloak

0.0.1

rust-keycloak is a Rust crate providing access to the Keycloak API.

Features

OpenId

Admin

Example usage

``` let tokenrequest = rustkeycloak::serdejson::json!({ "granttype":"password".tostring(), "username":"admin".tostring(), "password":"password".tostring(), "realm":"realmname".tostring(), "clientid":"clientid".tostring(), "redirecturi":"".tostring(), "code":"".to_string()});

let tok = rust_keycloak::keycloak::OpenId::token("http://localhost/auth/",token_request,"realm_name");

```