Crates.io | rust-keycloak |
lib.rs | rust-keycloak |
version | 0.0.7 |
source | src |
created_at | 2019-01-08 12:26:49.451921 |
updated_at | 2021-08-16 13:10:21.459814 |
description | rust-keycloak is a Rust crate providing access to the Keycloak API. |
homepage | |
repository | https://github.com/tritone11/rust-keycloak |
max_upload_size | |
id | 107392 |
size | 63,551 |
rust-keycloak is a Rust crate providing access to the Keycloak API.
rust-keycloak is a Rust crate providing access to the Keycloak API.
let token_request = rust_keycloak::serde_json::json!({
"grant_type":"password".to_string(),
"username":"admin".to_string(),
"password":"password".to_string(),
"realm":"realm_name".to_string(),
"client_id":"client_id".to_string(),
"redirect_uri":"".to_string(),
"code":"".to_string()});
let tok = rust_keycloak::keycloak::OpenId::token("http://localhost/auth/",token_request,"realm_name");