15 unstable releases (4 breaking)

0.7.1 Sep 1, 2023
0.7.0 Jul 19, 2023
0.7.0-rc.1 Jun 12, 2023
0.4.0 Mar 31, 2023
0.0.3 Mar 10, 2021

#774 in Authentication

Download history 52/week @ 2023-12-17 5/week @ 2023-12-24 73/week @ 2023-12-31 65/week @ 2024-01-07 93/week @ 2024-01-14 91/week @ 2024-01-21 76/week @ 2024-01-28 179/week @ 2024-02-04 83/week @ 2024-02-11 291/week @ 2024-02-18 240/week @ 2024-02-25 187/week @ 2024-03-03 125/week @ 2024-03-10 108/week @ 2024-03-17 138/week @ 2024-03-24 448/week @ 2024-03-31

823 downloads per month

MIT license

720KB
19K SLoC

okta

A fully generated, opinionated API client library for Okta. Okta is a registered trademark of Okta, Inc. and this library has no affiliation with or sponsorship by Okta, Inc.

docs.rs

API Details

Allows customers to easily access the Okta API

API Terms of Service

Contact

name url email
Okta Developer Team http://developer.okta.com/ devex-public@okta.com

License

name url
Apache-2.0 http://www.apache.org/licenses/LICENSE-2.0.html

Client Details

This client is generated from the Okta OpenAPI specs based on API spec version 2.5.0. This way it will remain up to date as features are added. The documentation for the crate is generated along with the code to make this library easy to use.

To install the library, add the following to your Cargo.toml file.

[dependencies]
okta = "0.7.1"

Basic example

Typical use will require intializing a Client. This requires a user agent string and set of credentials.

use okta::Client;

let okta = Client::new(
    String::from("api-key"),
);

Alternatively, the library can search for most of the variables required for the client in the environment:

  • OKTA_API_KEY

And then you can create a client from the environment.

use okta::Client;

let okta = Client::new_from_env();

Dependencies

~16–34MB
~627K SLoC