Crate okta[][src]

A rust library for interacting with the Okta API.

For more information, the Okta API is documented at developer.okta.com.

Example:

use okta::Okta;
use serde::{Deserialize, Serialize};

async fn get_current_user() {
    // Initialize the Okta client.
    let okta = Okta::new_from_env();

    // List users.
    let users = okta.list_users().await.unwrap();

    println!("{:?}", users);
}

Modules

deserialize_null_string

Structs

APIError

Error type returned by our library.

ChangePassword
Credentials
Group
GroupProfile
Links
Logo
NewGroup
NewUser
Okta

Entrypoint for interacting with the Okta API.

Password
Profile
Provider
RecoveryQuestion
User