Download the PHP package iodatacenters/oktasdk without Composer
On this page you can find all versions of the php package iodatacenters/oktasdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download iodatacenters/oktasdk
More information about iodatacenters/oktasdk
Files in iodatacenters/oktasdk
Package oktasdk
Short Description PHP client library for the Okta API (v1)
License MIT
Informations about the package oktasdk
OktaSDK-PHP
!!! UNMAINTAINED !!! - This library is no longer maintained. You are
recommend to switch to the official okta/sdk
library instead.
PHP client library for the Okta API (v1)
Refer to the full Okta API documentation for more complete information on each resource/component.
Install with Composer
Initializing the Client
To initialize the client object you must pass in your Okta organization
subdomain and API key as parameters. For example, if your Okta domain is
https://foo.okta.com
, your org prefix is foo
. For instructions on how to get
an API key for your organization, see
Obtaining a token.
Example:
You may also optionally pass an array of config options as the third argument:
Usage
All Okta resources are available via the $okta->$resource->$method
syntax
where $resource
is the lower case, singular name of the resource (i.e. -
Users = user
, Groups = group
, etc.) and $method
is the method name (see
the docs for all available methods). The only exception being the Authentication
resource for which the method name is auth
(because authentication
is just
too long).
Example:
Handling Exceptions
See documentation for available exception methods.
Contributing
-
Fork the repository
-
Clone your fork:
-
In your local copy, create a branch:
-
Make your changes
-
Commit your changes:
-
Push your branch:
- Open a Pull Request on GitHub.
Copyright
This project is liscensed under the MIT License.