sdk

package
v0.0.0-...-a8668b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MPL-2.0 Imports: 41 Imported by: 3

README

LOCAL SDK

This is a local copy of the original v2 okta-sdk-golang and should be treated as read-only. If the local SDK is missing a needed API call look for that behavior in the okta-sdk-golang v3 client.

Resources and data sources making use of the Terraform SDK v2 access the okta-sdk-golang v3 as getOktaV3ClientFromMetadata(m).

Resources and data sources making use of the Terraform Plugin Framework access the okta-sdk-golang v3 as r.oktaSDKClientV3.

NOTE: Any new resources or data sources contributed to this project should be implemented with the Terraform Plugin Framework and not the Terraform Plugin SDKv2.

Documentation

Overview

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

Index

Constants

View Source
const (
	DuoFactor              = "duo"
	ExternalIdpFactor      = "external_idp"
	FidoU2fFactor          = "fido_u2f"
	FidoWebauthnFactor     = "fido_webauthn"
	GoogleOtpFactor        = "google_otp"
	HotpFactor             = "hotp"
	OktaCallFactor         = "okta_call"
	OktaEmailFactor        = "okta_email"
	OktaOtpFactor          = "okta_otp"
	OktaPasswordFactor     = "okta_password" // Not configurable for OIE
	OktaPushFactor         = "okta_push"
	OktaQuestionFactor     = "okta_question"
	OktaSmsFactor          = "okta_sms"
	OktaVerifyFactor       = "okta_verify"  // OIE only (Combo of OktaOtp, OktaPush)
	OnPremMfaFactor        = "onprem_mfa"   // OIE only
	PhoneNumberFactor      = "phone_number" // OIE only (Combo of OktaSms + OktaCall)
	RsaTokenFactor         = "rsa_token"
	SecurityQuestionFactor = "security_question" // OIE only (Evolution/rename from okta_question)
	SymantecVipFactor      = "symantec_vip"
	WebauthnFactor         = "webauthn" // OIE only (Evolution/rename from fido_webauthn)
	YubikeyTokenFactor     = "yubikey_token"
)

Current available org factors for MFA

View Source
const (
	PasswordPolicyType           = "PASSWORD"
	SignOnPolicyType             = "OKTA_SIGN_ON"
	SignOnPolicyRuleType         = "SIGN_ON"
	MfaPolicyType                = "MFA_ENROLL"
	AccessPolicyType             = "ACCESS_POLICY"
	ProfileEnrollmentPolicyType  = "PROFILE_ENROLLMENT"
	IdpDiscoveryType             = "IDP_DISCOVERY"
	OauthAuthorizationPolicyType = "OAUTH_AUTHORIZATION_POLICY"
)
View Source
const (
	AccessTokenCacheKey       = "OKTA_ACCESS_TOKEN"
	DpopAccessTokenNonce      = "DPOP_OKTA_ACCESS_TOKEN_NONCE"
	DpopAccessTokenPrivateKey = "DPOP_OKTA_ACCESS_TOKEN_PRIVATE_KEY"
)

Variables

List of factors that are applicable to Okta Identity Engine (OIE)

List of factors that are applicable to Okta Classic Engine

Functions

func CheckResponseForError

func CheckResponseForError(resp *http.Response) error

func CreateClientAssertion

func CreateClientAssertion(orgURL, clientID string, privateKeySinger jose.Signer) (clientAssertion string, err error)

func CreateKeySigner

func CreateKeySigner(privateKey, privateKeyID string) (jose.Signer, error)

func Get429BackoffTime

func Get429BackoffTime(resp *http.Response) (int64, error)

func Int64Ptr

func Int64Ptr(i int64) *int64

func StringToAsciiBytes

func StringToAsciiBytes(s string) []byte

Types

type APISupplement

type APISupplement struct {
	RequestExecutor *RequestExecutor
}

APISupplement not all APIs are supported by okta-sdk-golang, this will act as a supplement to the Okta SDK

func (*APISupplement) ActivateAppSignOnPolicyRule

func (m *APISupplement) ActivateAppSignOnPolicyRule(ctx context.Context, policyID, ruleID string) (*Response, error)

ActivateAppSignOnPolicyRule activates the app sign on policy rule.

func (*APISupplement) ActivateBehavior

func (m *APISupplement) ActivateBehavior(ctx context.Context, id string) (*Response, error)

func (*APISupplement) ActivateOrgFactor

func (m *APISupplement) ActivateOrgFactor(ctx context.Context, id string) (*OrgFactor, *Response, error)

ActivateOrgFactor allows multifactor authentication to use provided factor type

func (*APISupplement) AddCustomRolePermission

func (m *APISupplement) AddCustomRolePermission(ctx context.Context, roleIdOrLabel, permissionType string) (*Permission, *Response, error)

func (*APISupplement) AddResourceSetBindingMembers

func (m *APISupplement) AddResourceSetBindingMembers(ctx context.Context, resourceSetID, customRoleID string, body AddCustomRoleBindingMemberRequest) (*Response, error)

func (*APISupplement) AddResourceSetResources

func (m *APISupplement) AddResourceSetResources(ctx context.Context, resourceSetID string, body AddResourceSetResourcesRequest) (*Response, error)

AddResourceSetResources adds more resources to a Resource Set

func (*APISupplement) ApplyMappings

func (m *APISupplement) ApplyMappings(ctx context.Context, sourceID, targetID string) (*Response, error)

FIXME uses internal api

func (*APISupplement) AssignClientRole

func (m *APISupplement) AssignClientRole(ctx context.Context, clientID string, assignment *ClientRoleAssignment) (*ClientRole, *Response, error)

func (*APISupplement) CreateAppSignOnPolicyRule

func (m *APISupplement) CreateAppSignOnPolicyRule(ctx context.Context, policyID string, body AccessPolicyRule) (*AccessPolicyRule, *Response, error)

CreateAppSignOnPolicyRule creates a policy rule.

func (*APISupplement) CreateBehavior

func (m *APISupplement) CreateBehavior(ctx context.Context, body Behavior) (*Behavior, *Response, error)

CreateBehavior creates behavior

func (*APISupplement) CreateCaptcha

func (m *APISupplement) CreateCaptcha(ctx context.Context, body Captcha) (*Captcha, *Response, error)

func (*APISupplement) CreateCustomRole

func (m *APISupplement) CreateCustomRole(ctx context.Context, body CustomRole) (*CustomRole, *Response, error)

CreateCustomRole creates customRole

func (*APISupplement) CreateEmailSender

func (m *APISupplement) CreateEmailSender(ctx context.Context, body EmailSender) (*EmailSender, *Response, error)

func (*APISupplement) CreateEmailTemplate

func (m *APISupplement) CreateEmailTemplate(ctx context.Context, body SdkEmailTemplate, qp *query.Params) (*SdkEmailTemplate, *Response, error)

func (*APISupplement) CreateHotpFactorProfile

func (m *APISupplement) CreateHotpFactorProfile(ctx context.Context, body HotpFactorProfile) (*HotpFactorProfile, *Response, error)

func (*APISupplement) CreateIdpDiscoveryRule

func (m *APISupplement) CreateIdpDiscoveryRule(ctx context.Context, policyID string, body IdpDiscoveryRule, qp *query.Params) (*IdpDiscoveryRule, *Response, error)

func (*APISupplement) CreatePolicy

func (m *APISupplement) CreatePolicy(ctx context.Context, body SdkPolicy) (*SdkPolicy, *Response, error)

CreatePolicy creates a policy.

func (*APISupplement) CreatePolicyRule

func (m *APISupplement) CreatePolicyRule(ctx context.Context, policyID string, body SdkPolicyRule) (*SdkPolicyRule, *Response, error)

CreatePolicyRule creates a policy rule.

func (*APISupplement) CreateResourceSet

func (m *APISupplement) CreateResourceSet(ctx context.Context, body ResourceSet) (*ResourceSet, *Response, error)

CreateResourceSet creates ResourceSet

func (*APISupplement) CreateResourceSetBinding

func (m *APISupplement) CreateResourceSetBinding(ctx context.Context, resourceSetID string, body CreateCustomRoleBindingRequest) (*Response, error)

func (*APISupplement) DeactivateAppSignOnPolicyRule

func (m *APISupplement) DeactivateAppSignOnPolicyRule(ctx context.Context, policyID, ruleID string) (*Response, error)

DeactivateAppSignOnPolicyRule deactivates the app sign on policy rule.

func (*APISupplement) DeactivateBehavior

func (m *APISupplement) DeactivateBehavior(ctx context.Context, id string) (*Response, error)

func (*APISupplement) DeactivateOrgFactor

func (m *APISupplement) DeactivateOrgFactor(ctx context.Context, id string) (*OrgFactor, *Response, error)

DeactivateOrgFactor denies multifactor authentication to use provided factor type

func (*APISupplement) DeleteAppSignOnPolicyRule

func (m *APISupplement) DeleteAppSignOnPolicyRule(ctx context.Context, policyID, ruleId string) (*Response, error)

DeleteAppSignOnPolicyRule deletes app sign on policy rule by ID

func (*APISupplement) DeleteBehavior

func (m *APISupplement) DeleteBehavior(ctx context.Context, id string) (*Response, error)

DeleteBehavior deletes behavior by ID

func (*APISupplement) DeleteCaptcha

func (m *APISupplement) DeleteCaptcha(ctx context.Context, id string) (*Response, error)

func (*APISupplement) DeleteCustomRole

func (m *APISupplement) DeleteCustomRole(ctx context.Context, roleIdOrLabel string) (*Response, error)

DeleteCustomRole deletes customRole by ID

func (*APISupplement) DeleteCustomRolePermission

func (m *APISupplement) DeleteCustomRolePermission(ctx context.Context, roleIdOrLabel, permissionType string) (*Response, error)

func (*APISupplement) DeleteEmailTemplate

func (m *APISupplement) DeleteEmailTemplate(ctx context.Context, id string) (*Response, error)

func (*APISupplement) DeleteHotpFactorProfile

func (m *APISupplement) DeleteHotpFactorProfile(ctx context.Context, id string) (*Response, error)

func (*APISupplement) DeleteOrgWideCaptchaSettings

func (m *APISupplement) DeleteOrgWideCaptchaSettings(ctx context.Context) (*Response, error)

func (*APISupplement) DeleteResourceSet

func (m *APISupplement) DeleteResourceSet(ctx context.Context, resourceSetID string) (*Response, error)

DeleteResourceSet deletes ResourceSet by ID

func (*APISupplement) DeleteResourceSetBinding

func (m *APISupplement) DeleteResourceSetBinding(ctx context.Context, resourceSetID, customRoleID string) (*Response, error)

func (*APISupplement) DeleteResourceSetBindingMember

func (m *APISupplement) DeleteResourceSetBindingMember(ctx context.Context, resourceSetID, customRoleID, memberID string) (*Response, error)

func (*APISupplement) DeleteResourceSetResource

func (m *APISupplement) DeleteResourceSetResource(ctx context.Context, resourceSetID, resourceID string) (*Response, error)

DeleteResourceSetResource Removes a resource from a Resource Set

func (*APISupplement) DisableUnverifiedEmailSender

func (m *APISupplement) DisableUnverifiedEmailSender(ctx context.Context, body DisableInactiveEmailSender) (*Response, error)

func (*APISupplement) DisableVerifiedEmailSender

func (m *APISupplement) DisableVerifiedEmailSender(ctx context.Context, body DisableActiveEmailSender) (*Response, error)

func (*APISupplement) GetAppOauthGroupsClaim

func (m *APISupplement) GetAppOauthGroupsClaim(ctx context.Context, appID string) (*AppOauthGroupClaim, *Response, error)

GetAppOauthGroupsClaim gets OAuth app group claim

func (*APISupplement) GetAppSignOnPolicyRule

func (m *APISupplement) GetAppSignOnPolicyRule(ctx context.Context, policyID, ruleId string) (*AccessPolicyRule, *Response, error)

GetAppSignOnPolicyRule gets a policy rule.

func (*APISupplement) GetAppUserTypes

func (m *APISupplement) GetAppUserTypes(ctx context.Context, appID string) ([]*AppUserType, *Response, error)

func (*APISupplement) GetBehavior

func (m *APISupplement) GetBehavior(ctx context.Context, id string) (*Behavior, *Response, error)

GetBehavior gets behavior by ID

func (*APISupplement) GetCaptcha

func (m *APISupplement) GetCaptcha(ctx context.Context, id string) (*Captcha, *Response, error)

func (*APISupplement) GetClientBasedRateLimiting

func (m *APISupplement) GetClientBasedRateLimiting(ctx context.Context) (*ClientRateLimitMode, *Response, error)

func (*APISupplement) GetClientRole

func (m *APISupplement) GetClientRole(ctx context.Context, clientID, roleID string) (*ClientRole, *Response, error)

func (*APISupplement) GetCustomRole

func (m *APISupplement) GetCustomRole(ctx context.Context, roleIdOrLabel string) (*CustomRole, *Response, error)

GetCustomRole gets customRole by ID

func (*APISupplement) GetEmailSender

func (m *APISupplement) GetEmailSender(ctx context.Context, id string) (*EmailSender, *Response, error)

func (*APISupplement) GetEmailTemplate

func (m *APISupplement) GetEmailTemplate(ctx context.Context, id string) (*SdkEmailTemplate, *Response, error)

func (*APISupplement) GetHotpFactorProfile

func (m *APISupplement) GetHotpFactorProfile(ctx context.Context, id string) (*HotpFactorProfile, *Response, error)

func (*APISupplement) GetIdpDiscoveryRule

func (m *APISupplement) GetIdpDiscoveryRule(ctx context.Context, policyID, id string) (*IdpDiscoveryRule, *Response, error)

func (*APISupplement) GetOrgFactor

func (m *APISupplement) GetOrgFactor(ctx context.Context, id string) (*OrgFactor, *Response, error)

GetOrgFactor gets a factor by ID.

func (*APISupplement) GetOrgWideCaptchaSettings

func (m *APISupplement) GetOrgWideCaptchaSettings(ctx context.Context) (*OrgWideCaptchaSettings, *Response, error)

func (*APISupplement) GetPolicy

func (m *APISupplement) GetPolicy(ctx context.Context, policyID string) (*SdkPolicy, *Response, error)

GetPolicy gets a policy by ID

func (*APISupplement) GetPolicyRule

func (m *APISupplement) GetPolicyRule(ctx context.Context, policyID, ruleId string) (*SdkPolicyRule, *Response, error)

GetPolicyRule gets a policy rule.

func (*APISupplement) GetRateLimitingCommunications

func (m *APISupplement) GetRateLimitingCommunications(ctx context.Context) (*RateLimitingCommunications, *Response, error)

func (*APISupplement) GetResourceSet

func (m *APISupplement) GetResourceSet(ctx context.Context, resourceSetID string) (*ResourceSet, *Response, error)

GetResourceSet gets ResourceSet by ID

func (*APISupplement) GetResourceSetBinding

func (m *APISupplement) GetResourceSetBinding(ctx context.Context, resourceSetID, customRoleID string) (*CustomRoleBinding, *Response, error)

func (*APISupplement) GetSAMLIdpMetadata

func (m *APISupplement) GetSAMLIdpMetadata(ctx context.Context, id string) ([]byte, *saml.EntityDescriptor, error)

func (*APISupplement) GetSAMLMetadata

func (m *APISupplement) GetSAMLMetadata(ctx context.Context, id, keyID string) ([]byte, *saml.EntityDescriptor, error)

func (*APISupplement) GetSecurityNotificationEmails

func (m *APISupplement) GetSecurityNotificationEmails(ctx context.Context, orgName, domain, token string, client *http.Client) (*SecurityNotificationEmails, error)

func (*APISupplement) ListBehaviors

func (m *APISupplement) ListBehaviors(ctx context.Context, qp *query.Params) ([]*Behavior, *Response, error)

ListBehaviors Gets all behaviors based on the query params

func (*APISupplement) ListClientRoles

func (m *APISupplement) ListClientRoles(ctx context.Context, clientID string) ([]*ClientRole, *Response, error)

func (*APISupplement) ListCustomRolePermissions

func (m *APISupplement) ListCustomRolePermissions(ctx context.Context, roleIdOrLabel string) (*ListPermissionsResponse, *Response, error)

func (*APISupplement) ListCustomRoles

func (m *APISupplement) ListCustomRoles(ctx context.Context, qp *query.Params) (*ListCustomRolesResponse, *Response, error)

ListCustomRoles Gets all customRoles based on the query params

func (*APISupplement) ListEnrollmentPolicyApps

func (m *APISupplement) ListEnrollmentPolicyApps(ctx context.Context, policyID string, qp *query.Params) ([]*Application, *Response, error)

func (*APISupplement) ListPolicyRules

func (m *APISupplement) ListPolicyRules(ctx context.Context, policyID string) ([]SdkPolicyRule, *Response, error)

ListPolicyRules enumerates all policy rules.

func (*APISupplement) ListResourceSetBindingMembers

func (m *APISupplement) ListResourceSetBindingMembers(ctx context.Context, resourceSetID, customRoleID string, qp *query.Params) (*ListCustomRoleBindingMembersResponse, *Response, error)

func (*APISupplement) ListResourceSetResources

func (m *APISupplement) ListResourceSetResources(ctx context.Context, resourceSetID string, qp *query.Params) (*ListResourceSetResourcesResponse, *Response, error)

ListResourceSetResources lists the resources that make up a Resource Set

func (*APISupplement) ListResourceSets

func (m *APISupplement) ListResourceSets(ctx context.Context) (*ListResourceSetsResponse, *Response, error)

ListResourceSets Gets all ResourceSets

func (*APISupplement) PatchResourceSet

func (m *APISupplement) PatchResourceSet(ctx context.Context, resourceSetID string, body PatchResourceSet) (*ResourceSet, *Response, error)

PatchResourceSet patches a ResourceSet with additional additions https://developer.okta.com/docs/api/openapi/okta-management/management/tag/ResourceSet/#tag/ResourceSet/operation/addResourceSetResource

func (*APISupplement) SetClientBasedRateLimiting

func (m *APISupplement) SetClientBasedRateLimiting(ctx context.Context, body ClientRateLimitMode) (*ClientRateLimitMode, *Response, error)

func (*APISupplement) SetRateLimitingCommunications

func (m *APISupplement) SetRateLimitingCommunications(ctx context.Context, body RateLimitingCommunications) (*RateLimitingCommunications, *Response, error)

func (*APISupplement) UnassignClientRole

func (m *APISupplement) UnassignClientRole(ctx context.Context, clientID, roleID string) (*Response, error)

func (*APISupplement) UpdateAppOauthGroupsClaim

func (m *APISupplement) UpdateAppOauthGroupsClaim(ctx context.Context, appID string, gc *AppOauthGroupClaim) (*Response, error)

UpdateAppOauthGroupsClaim updated OAuth app group claim

func (*APISupplement) UpdateAppSignOnPolicyRule

func (m *APISupplement) UpdateAppSignOnPolicyRule(ctx context.Context, policyID, ruleId string, body AccessPolicyRule) (*AccessPolicyRule, *Response, error)

UpdateAppSignOnPolicyRule updates a policy rule.

func (*APISupplement) UpdateBehavior

func (m *APISupplement) UpdateBehavior(ctx context.Context, id string, body Behavior) (*Behavior, *Response, error)

UpdateBehavior updates behavior

func (*APISupplement) UpdateCaptcha

func (m *APISupplement) UpdateCaptcha(ctx context.Context, id string, body Captcha) (*Captcha, *Response, error)

func (*APISupplement) UpdateCustomRole

func (m *APISupplement) UpdateCustomRole(ctx context.Context, roleIdOrLabel string, body CustomRole) (*CustomRole, *Response, error)

UpdateCustomRole updates customRole

func (*APISupplement) UpdateEmailSender

func (m *APISupplement) UpdateEmailSender(ctx context.Context, body EmailSender) (*EmailSender, *Response, error)

func (*APISupplement) UpdateEmailTemplate

func (m *APISupplement) UpdateEmailTemplate(ctx context.Context, id string, body SdkEmailTemplate, qp *query.Params) (*SdkEmailTemplate, *Response, error)

func (*APISupplement) UpdateHotpFactorProfile

func (m *APISupplement) UpdateHotpFactorProfile(ctx context.Context, id string, body HotpFactorProfile) (*HotpFactorProfile, *Response, error)

func (*APISupplement) UpdateIdpDiscoveryRule

func (m *APISupplement) UpdateIdpDiscoveryRule(ctx context.Context, policyID, id string, body IdpDiscoveryRule, qp *query.Params) (*IdpDiscoveryRule, *Response, error)

func (*APISupplement) UpdateOrgWideCaptchaSettings

func (m *APISupplement) UpdateOrgWideCaptchaSettings(ctx context.Context, body OrgWideCaptchaSettings) (*OrgWideCaptchaSettings, *Response, error)

func (*APISupplement) UpdatePolicy

func (m *APISupplement) UpdatePolicy(ctx context.Context, policyID string, body SdkPolicy) (*SdkPolicy, *Response, error)

UpdatePolicy updates a policy.

func (*APISupplement) UpdatePolicyRule

func (m *APISupplement) UpdatePolicyRule(ctx context.Context, policyID, ruleId string, body SdkPolicyRule) (*SdkPolicyRule, *Response, error)

UpdatePolicyRule updates a policy rule.

func (*APISupplement) UpdateResourceSet

func (m *APISupplement) UpdateResourceSet(ctx context.Context, resourceSetID string, body ResourceSet) (*ResourceSet, *Response, error)

UpdateResourceSet updates ResourceSet

func (*APISupplement) UpdateSecurityNotificationEmails

func (m *APISupplement) UpdateSecurityNotificationEmails(ctx context.Context, body SecurityNotificationEmails, orgName, domain, token string, client *http.Client) (*SecurityNotificationEmails, error)

func (*APISupplement) UpdateUserFactor

func (m *APISupplement) UpdateUserFactor(ctx context.Context, userId, factorId string, factorInstance Factor) (*Response, error)

FIXME calling undocumented public API

func (m *APISupplement) UploadOrgLogo(ctx context.Context, filename string) (*Response, error)

UploadOrgLogo uploads app's logo

func (*APISupplement) ValidateEmailSender

func (m *APISupplement) ValidateEmailSender(ctx context.Context, id string, body EmailSenderValidation) (*Response, error)

type AccessPolicy

type AccessPolicy struct {
	Embedded    interface{}           `json:"_embedded,omitempty"`
	Links       interface{}           `json:"_links,omitempty"`
	Conditions  *PolicyRuleConditions `json:"conditions,omitempty"`
	Created     *time.Time            `json:"created,omitempty"`
	Description string                `json:"description,omitempty"`
	Id          string                `json:"id,omitempty"`
	LastUpdated *time.Time            `json:"lastUpdated,omitempty"`
	Name        string                `json:"name,omitempty"`
	Priority    int64                 `json:"-"`
	PriorityPtr *int64                `json:"priority,omitempty"`
	Status      string                `json:"status,omitempty"`
	System      *bool                 `json:"system,omitempty"`
	Type        string                `json:"type,omitempty"`
}

func NewAccessPolicy

func NewAccessPolicy() *AccessPolicy

func (*AccessPolicy) IsPolicyInstance

func (a *AccessPolicy) IsPolicyInstance() bool

func (*AccessPolicy) MarshalJSON

func (a *AccessPolicy) MarshalJSON() ([]byte, error)

func (*AccessPolicy) UnmarshalJSON

func (a *AccessPolicy) UnmarshalJSON(data []byte) error

type AccessPolicyConstraints

type AccessPolicyConstraints struct {
	Knowledge  *KnowledgeConstraint  `json:"knowledge,omitempty"`
	Possession *PossessionConstraint `json:"possession,omitempty"`
}

func NewAccessPolicyConstraints

func NewAccessPolicyConstraints() *AccessPolicyConstraints

func (*AccessPolicyConstraints) IsPolicyInstance

func (a *AccessPolicyConstraints) IsPolicyInstance() bool

type AccessPolicyRule

type AccessPolicyRule struct {
	Actions     *AccessPolicyRuleActions    `json:"actions,omitempty"`
	Conditions  *AccessPolicyRuleConditions `json:"conditions,omitempty"`
	Created     *time.Time                  `json:"created,omitempty"`
	Id          string                      `json:"id,omitempty"`
	LastUpdated *time.Time                  `json:"lastUpdated,omitempty"`
	Name        string                      `json:"name,omitempty"`
	Priority    int64                       `json:"-"`
	PriorityPtr *int64                      `json:"priority,omitempty"`
	Status      string                      `json:"status,omitempty"`
	System      *bool                       `json:"system,omitempty"`
	Type        string                      `json:"type,omitempty"`
}

func NewAccessPolicyRule

func NewAccessPolicyRule() *AccessPolicyRule

func (*AccessPolicyRule) IsPolicyInstance

func (a *AccessPolicyRule) IsPolicyInstance() bool

func (*AccessPolicyRule) MarshalJSON

func (a *AccessPolicyRule) MarshalJSON() ([]byte, error)

func (*AccessPolicyRule) UnmarshalJSON

func (a *AccessPolicyRule) UnmarshalJSON(data []byte) error

type AccessPolicyRuleActions

type AccessPolicyRuleActions struct {
	Enroll                   *PolicyRuleActionsEnroll           `json:"enroll,omitempty"`
	Idp                      *IdpPolicyRuleAction               `json:"idp,omitempty"`
	PasswordChange           *PasswordPolicyRuleAction          `json:"passwordChange,omitempty"`
	SelfServicePasswordReset *PasswordPolicyRuleAction          `json:"selfServicePasswordReset,omitempty"`
	SelfServiceUnlock        *PasswordPolicyRuleAction          `json:"selfServiceUnlock,omitempty"`
	Signon                   *OktaSignOnPolicyRuleSignonActions `json:"signon,omitempty"`
	AppSignOn                *AccessPolicyRuleApplicationSignOn `json:"appSignOn,omitempty"`
}

func NewAccessPolicyRuleActions

func NewAccessPolicyRuleActions() *AccessPolicyRuleActions

func (*AccessPolicyRuleActions) IsPolicyInstance

func (a *AccessPolicyRuleActions) IsPolicyInstance() bool

type AccessPolicyRuleApplicationSignOn

type AccessPolicyRuleApplicationSignOn struct {
	Access             string              `json:"access,omitempty"`
	VerificationMethod *VerificationMethod `json:"verificationMethod,omitempty"`
}

func NewAccessPolicyRuleApplicationSignOn

func NewAccessPolicyRuleApplicationSignOn() *AccessPolicyRuleApplicationSignOn

func (*AccessPolicyRuleApplicationSignOn) IsPolicyInstance

func (a *AccessPolicyRuleApplicationSignOn) IsPolicyInstance() bool

type AccessPolicyRuleConditions

type AccessPolicyRuleConditions struct {
	App                   *AppAndInstancePolicyRuleCondition             `json:"app,omitempty"`
	Apps                  *AppInstancePolicyRuleCondition                `json:"apps,omitempty"`
	AuthContext           *PolicyRuleAuthContextCondition                `json:"authContext,omitempty"`
	AuthProvider          *PasswordPolicyAuthenticationProviderCondition `json:"authProvider,omitempty"`
	BeforeScheduledAction *BeforeScheduledActionPolicyRuleCondition      `json:"beforeScheduledAction,omitempty"`
	Clients               *ClientPolicyCondition                         `json:"clients,omitempty"`
	Context               *ContextPolicyRuleCondition                    `json:"context,omitempty"`
	Device                *DeviceAccessPolicyRuleCondition               `json:"device,omitempty"`
	GrantTypes            *GrantTypePolicyRuleCondition                  `json:"grantTypes,omitempty"`
	Groups                *GroupPolicyRuleCondition                      `json:"groups,omitempty"`
	IdentityProvider      *IdentityProviderPolicyRuleCondition           `json:"identityProvider,omitempty"`
	MdmEnrollment         *MDMEnrollmentPolicyRuleCondition              `json:"mdmEnrollment,omitempty"`
	Network               *PolicyNetworkCondition                        `json:"network,omitempty"`
	People                *PolicyPeopleCondition                         `json:"people,omitempty"`
	Platform              *PlatformPolicyRuleCondition                   `json:"platform,omitempty"`
	Risk                  *RiskPolicyRuleCondition                       `json:"risk,omitempty"`
	RiskScore             *RiskScorePolicyRuleCondition                  `json:"riskScore,omitempty"`
	Scopes                *OAuth2ScopesMediationPolicyRuleCondition      `json:"scopes,omitempty"`
	UserIdentifier        *UserIdentifierPolicyRuleCondition             `json:"userIdentifier,omitempty"`
	UserStatus            *UserStatusPolicyRuleCondition                 `json:"userStatus,omitempty"`
	Users                 *UserPolicyRuleCondition                       `json:"users,omitempty"`
	ElCondition           *AccessPolicyRuleCustomCondition               `json:"elCondition,omitempty"`
	UserType              *UserTypeCondition                             `json:"userType,omitempty"`
}

func NewAccessPolicyRuleConditions

func NewAccessPolicyRuleConditions() *AccessPolicyRuleConditions

func (*AccessPolicyRuleConditions) IsPolicyInstance

func (a *AccessPolicyRuleConditions) IsPolicyInstance() bool

type AccessPolicyRuleCustomCondition

type AccessPolicyRuleCustomCondition struct {
	Condition string `json:"condition,omitempty"`
}

func NewAccessPolicyRuleCustomCondition

func NewAccessPolicyRuleCustomCondition() *AccessPolicyRuleCustomCondition

func (*AccessPolicyRuleCustomCondition) IsPolicyInstance

func (a *AccessPolicyRuleCustomCondition) IsPolicyInstance() bool

type AcsEndpoint

type AcsEndpoint struct {
	Index    int64  `json:"-"`
	IndexPtr *int64 `json:"index,omitempty"`
	Url      string `json:"url,omitempty"`
}

func (*AcsEndpoint) MarshalJSON

func (a *AcsEndpoint) MarshalJSON() ([]byte, error)

func (*AcsEndpoint) UnmarshalJSON

func (a *AcsEndpoint) UnmarshalJSON(data []byte) error

type ActivateFactorRequest

type ActivateFactorRequest struct {
	Attestation      string `json:"attestation,omitempty"`
	ClientData       string `json:"clientData,omitempty"`
	PassCode         string `json:"passCode,omitempty"`
	RegistrationData string `json:"registrationData,omitempty"`
	StateToken       string `json:"stateToken,omitempty"`
}

func NewActivateFactorRequest

func NewActivateFactorRequest() *ActivateFactorRequest

func (*ActivateFactorRequest) IsUserFactorInstance

func (a *ActivateFactorRequest) IsUserFactorInstance() bool

type AddCustomRoleBindingMemberRequest

type AddCustomRoleBindingMemberRequest struct {
	Additions []string `json:"additions,omitempty"`
}

type AddResourceSetResourcesRequest

type AddResourceSetResourcesRequest struct {
	Additions []string `json:"additions"`
}

type App

type App interface {
	IsApplicationInstance() bool
}

type AppAndInstanceConditionEvaluatorAppOrInstance

type AppAndInstanceConditionEvaluatorAppOrInstance struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

func NewAppAndInstanceConditionEvaluatorAppOrInstance

func NewAppAndInstanceConditionEvaluatorAppOrInstance() *AppAndInstanceConditionEvaluatorAppOrInstance

func (*AppAndInstanceConditionEvaluatorAppOrInstance) IsPolicyInstance

type AppAndInstancePolicyRuleCondition

type AppAndInstancePolicyRuleCondition struct {
	Exclude []*AppAndInstanceConditionEvaluatorAppOrInstance `json:"exclude,omitempty"`
	Include []*AppAndInstanceConditionEvaluatorAppOrInstance `json:"include,omitempty"`
}

func NewAppAndInstancePolicyRuleCondition

func NewAppAndInstancePolicyRuleCondition() *AppAndInstancePolicyRuleCondition

func (*AppAndInstancePolicyRuleCondition) IsPolicyInstance

func (a *AppAndInstancePolicyRuleCondition) IsPolicyInstance() bool

type AppInstancePolicyRuleCondition

type AppInstancePolicyRuleCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

func NewAppInstancePolicyRuleCondition

func NewAppInstancePolicyRuleCondition() *AppInstancePolicyRuleCondition

func (*AppInstancePolicyRuleCondition) IsPolicyInstance

func (a *AppInstancePolicyRuleCondition) IsPolicyInstance() bool
type AppLink struct {
	AppAssignmentId  string `json:"appAssignmentId,omitempty"`
	AppInstanceId    string `json:"appInstanceId,omitempty"`
	AppName          string `json:"appName,omitempty"`
	CredentialsSetup *bool  `json:"credentialsSetup,omitempty"`
	Hidden           *bool  `json:"hidden,omitempty"`
	Id               string `json:"id,omitempty"`
	Label            string `json:"label,omitempty"`
	LinkUrl          string `json:"linkUrl,omitempty"`
	LogoUrl          string `json:"logoUrl,omitempty"`
	SortOrder        int64  `json:"-"`
	SortOrderPtr     *int64 `json:"sortOrder,omitempty"`
}

func (*AppLink) MarshalJSON

func (a *AppLink) MarshalJSON() ([]byte, error)

func (*AppLink) UnmarshalJSON

func (a *AppLink) UnmarshalJSON(data []byte) error

type AppOauthGroupClaim

type AppOauthGroupClaim struct {
	ValueType       string `json:"valueType,omitempty"`
	GroupFilterType string `json:"groupFilterType,omitempty"`
	Issuer          string `json:"issuer,omitempty"`
	OrgURL          string `json:"orgUrl,omitempty"`
	Audience        string `json:"audience,omitempty"`
	IssuerMode      string `json:"issuerMode,omitempty"`
	Name            string `json:"name,omitempty"`
	Value           string `json:"value,omitempty"`
}

type AppUser

type AppUser struct {
	Embedded        interface{}         `json:"_embedded,omitempty"`
	Links           interface{}         `json:"_links,omitempty"`
	Created         *time.Time          `json:"created,omitempty"`
	Credentials     *AppUserCredentials `json:"credentials,omitempty"`
	ExternalId      string              `json:"externalId,omitempty"`
	Id              string              `json:"id,omitempty"`
	LastSync        *time.Time          `json:"lastSync,omitempty"`
	LastUpdated     *time.Time          `json:"lastUpdated,omitempty"`
	PasswordChanged *time.Time          `json:"passwordChanged,omitempty"`
	Profile         interface{}         `json:"profile,omitempty"`
	Scope           string              `json:"scope,omitempty"`
	Status          string              `json:"status,omitempty"`
	StatusChanged   *time.Time          `json:"statusChanged,omitempty"`
	SyncState       string              `json:"syncState,omitempty"`
}

type AppUserCredentials

type AppUserCredentials struct {
	Password *AppUserPasswordCredential `json:"password,omitempty"`
	UserName string                     `json:"userName"`
}

type AppUserPasswordCredential

type AppUserPasswordCredential struct {
	Value string `json:"value,omitempty"`
}

type AppUserResource

type AppUserResource resource

func (*AppUserResource) DeleteApplicationUser

func (m *AppUserResource) DeleteApplicationUser(ctx context.Context, appId, userId string, qp *query.Params) (*Response, error)

Removes an assignment for a user from an application.

func (*AppUserResource) UpdateApplicationUser

func (m *AppUserResource) UpdateApplicationUser(ctx context.Context, appId, userId string, body AppUser) (*AppUser, *Response, error)

Updates a user's profile for an application

type AppUserType

type AppUserType struct {
	Id          string      `json:"id"`
	DisplayName string      `json:"displayName"`
	Name        string      `json:"name"`
	Schemas     []string    `json:"schemas"`
	IsDefault   bool        `json:"isDefault"`
	Type        string      `json:"type"`
	Links       interface{} `json:"_links"`
}

type Application

type Application struct {
	Embedded      interface{}               `json:"_embedded,omitempty"`
	Links         interface{}               `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility `json:"accessibility,omitempty"`
	Created       *time.Time                `json:"created,omitempty"`
	Credentials   *ApplicationCredentials   `json:"credentials,omitempty"`
	Features      []string                  `json:"features,omitempty"`
	Id            string                    `json:"id,omitempty"`
	Label         string                    `json:"label,omitempty"`
	LastUpdated   *time.Time                `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing     `json:"licensing,omitempty"`
	Name          string                    `json:"name,omitempty"`
	Profile       interface{}               `json:"profile,omitempty"`
	Settings      *ApplicationSettings      `json:"settings,omitempty"`
	SignOnMode    string                    `json:"signOnMode,omitempty"`
	Status        string                    `json:"status,omitempty"`
	Visibility    *ApplicationVisibility    `json:"visibility,omitempty"`
}

func NewApplication

func NewApplication() *Application

func (*Application) IsApplicationInstance

func (a *Application) IsApplicationInstance() bool

type ApplicationAccessibility

type ApplicationAccessibility struct {
	ErrorRedirectUrl string `json:"errorRedirectUrl,omitempty"`
	LoginRedirectUrl string `json:"loginRedirectUrl,omitempty"`
	SelfService      *bool  `json:"selfService,omitempty"`
}

type ApplicationCredentials

type ApplicationCredentials struct {
	Signing          *ApplicationCredentialsSigning          `json:"signing,omitempty"`
	UserNameTemplate *ApplicationCredentialsUsernameTemplate `json:"userNameTemplate,omitempty"`
}

type ApplicationCredentialsOAuthClient

type ApplicationCredentialsOAuthClient struct {
	AutoKeyRotation         *bool  `json:"autoKeyRotation,omitempty"`
	ClientId                string `json:"client_id,omitempty"`
	ClientSecret            string `json:"client_secret,omitempty"`
	PkceRequired            *bool  `json:"pkce_required,omitempty"`
	TokenEndpointAuthMethod string `json:"token_endpoint_auth_method,omitempty"`
}

type ApplicationCredentialsSigning

type ApplicationCredentialsSigning struct {
	Kid          string     `json:"kid,omitempty"`
	LastRotated  *time.Time `json:"lastRotated,omitempty"`
	NextRotation *time.Time `json:"nextRotation,omitempty"`
	RotationMode string     `json:"rotationMode,omitempty"`
	Use          string     `json:"use,omitempty"`
}

type ApplicationCredentialsUsernameTemplate

type ApplicationCredentialsUsernameTemplate struct {
	PushStatus string `json:"pushStatus,omitempty"`
	Suffix     string `json:"suffix,omitempty"`
	Template   string `json:"template,omitempty"`
	Type       string `json:"type,omitempty"`
}

type ApplicationFeature

type ApplicationFeature struct {
	Links        interface{}         `json:"_links,omitempty"`
	Capabilities *CapabilitiesObject `json:"capabilities,omitempty"`
	Description  string              `json:"description,omitempty"`
	Name         string              `json:"name,omitempty"`
	Status       string              `json:"status,omitempty"`
}

func NewApplicationFeature

func NewApplicationFeature() *ApplicationFeature

func (*ApplicationFeature) IsApplicationInstance

func (a *ApplicationFeature) IsApplicationInstance() bool

type ApplicationFeatureResource

type ApplicationFeatureResource resource

type ApplicationGroupAssignment

type ApplicationGroupAssignment struct {
	Embedded    interface{} `json:"_embedded,omitempty"`
	Links       interface{} `json:"_links,omitempty"`
	Id          string      `json:"id,omitempty"`
	LastUpdated *time.Time  `json:"lastUpdated,omitempty"`
	Priority    int64       `json:"-"`
	PriorityPtr *int64      `json:"priority,omitempty"`
	Profile     interface{} `json:"profile,omitempty"`
}

func (*ApplicationGroupAssignment) MarshalJSON

func (a *ApplicationGroupAssignment) MarshalJSON() ([]byte, error)

func (*ApplicationGroupAssignment) UnmarshalJSON

func (a *ApplicationGroupAssignment) UnmarshalJSON(data []byte) error

type ApplicationGroupAssignmentResource

type ApplicationGroupAssignmentResource resource

func (*ApplicationGroupAssignmentResource) DeleteApplicationGroupAssignment

func (m *ApplicationGroupAssignmentResource) DeleteApplicationGroupAssignment(ctx context.Context, appId, groupId string) (*Response, error)

Removes a group assignment from an application.

type ApplicationLicensing

type ApplicationLicensing struct {
	SeatCount    int64  `json:"-"`
	SeatCountPtr *int64 `json:"seatCount,omitempty"`
}

func (*ApplicationLicensing) MarshalJSON

func (a *ApplicationLicensing) MarshalJSON() ([]byte, error)

func (*ApplicationLicensing) UnmarshalJSON

func (a *ApplicationLicensing) UnmarshalJSON(data []byte) error

type ApplicationResource

type ApplicationResource resource

func (*ApplicationResource) ActivateApplication

func (m *ApplicationResource) ActivateApplication(ctx context.Context, appId string) (*Response, error)

Activates an inactive application.

func (*ApplicationResource) ActivateClientSecretForApplication

func (m *ApplicationResource) ActivateClientSecretForApplication(ctx context.Context, appId, secretId string) (*ClientSecret, *Response, error)

Activates a specific client secret by secretId

func (*ApplicationResource) ActivateDefaultProvisioningConnectionForApplication

func (m *ApplicationResource) ActivateDefaultProvisioningConnectionForApplication(ctx context.Context, appId string) (*Response, error)

Activates the default Provisioning Connection for an application.

func (*ApplicationResource) AssignUserToApplication

func (m *ApplicationResource) AssignUserToApplication(ctx context.Context, appId string, body AppUser) (*AppUser, *Response, error)

Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.

func (*ApplicationResource) CloneApplicationKey

func (m *ApplicationResource) CloneApplicationKey(ctx context.Context, appId, keyId string, qp *query.Params) (*JsonWebKey, *Response, error)

Clones a X.509 certificate for an application key credential from a source application to target application.

func (*ApplicationResource) CreateApplication

func (m *ApplicationResource) CreateApplication(ctx context.Context, body App, qp *query.Params) (App, *Response, error)

Adds a new application to your Okta organization.

func (*ApplicationResource) CreateApplicationGroupAssignment

func (m *ApplicationResource) CreateApplicationGroupAssignment(ctx context.Context, appId, groupId string, body ApplicationGroupAssignment) (*ApplicationGroupAssignment, *Response, error)

Assigns a group to an application

func (*ApplicationResource) CreateNewClientSecretForApplication

func (m *ApplicationResource) CreateNewClientSecretForApplication(ctx context.Context, appId string, body ClientSecretMetadata) (*ClientSecret, *Response, error)

Adds a new secret to the client's collection of secrets.

func (*ApplicationResource) DeactivateApplication

func (m *ApplicationResource) DeactivateApplication(ctx context.Context, appId string) (*Response, error)

Deactivates an active application.

func (*ApplicationResource) DeactivateClientSecretForApplication

func (m *ApplicationResource) DeactivateClientSecretForApplication(ctx context.Context, appId, secretId string) (*ClientSecret, *Response, error)

Deactivates a specific client secret by secretId

func (*ApplicationResource) DeactivateDefaultProvisioningConnectionForApplication

func (m *ApplicationResource) DeactivateDefaultProvisioningConnectionForApplication(ctx context.Context, appId string) (*Response, error)

Deactivates the default Provisioning Connection for an application.

func (*ApplicationResource) DeleteApplication

func (m *ApplicationResource) DeleteApplication(ctx context.Context, appId string) (*Response, error)

Removes an inactive application.

func (*ApplicationResource) DeleteApplicationGroupAssignment

func (m *ApplicationResource) DeleteApplicationGroupAssignment(ctx context.Context, appId, groupId string) (*Response, error)

Removes a group assignment from an application.

func (*ApplicationResource) DeleteApplicationUser

func (m *ApplicationResource) DeleteApplicationUser(ctx context.Context, appId, userId string, qp *query.Params) (*Response, error)

Removes an assignment for a user from an application.

func (*ApplicationResource) DeleteClientSecretForApplication

func (m *ApplicationResource) DeleteClientSecretForApplication(ctx context.Context, appId, secretId string) (*Response, error)

Removes a secret from the client's collection of secrets.

func (*ApplicationResource) GenerateApplicationKey

func (m *ApplicationResource) GenerateApplicationKey(ctx context.Context, appId string, qp *query.Params) (*JsonWebKey, *Response, error)

Generates a new X.509 certificate for an application key credential

func (*ApplicationResource) GenerateCsrForApplication

func (m *ApplicationResource) GenerateCsrForApplication(ctx context.Context, appId string, body CsrMetadata) (*Csr, *Response, error)

Generates a new key pair and returns the Certificate Signing Request for it.

func (*ApplicationResource) GetApplication

func (m *ApplicationResource) GetApplication(ctx context.Context, appId string, appInstance App, qp *query.Params) (App, *Response, error)

Fetches an application from your Okta organization by `id`.

func (*ApplicationResource) GetApplicationGroupAssignment

func (m *ApplicationResource) GetApplicationGroupAssignment(ctx context.Context, appId, groupId string, qp *query.Params) (*ApplicationGroupAssignment, *Response, error)

Fetches an application group assignment

func (*ApplicationResource) GetApplicationKey

func (m *ApplicationResource) GetApplicationKey(ctx context.Context, appId, keyId string) (*JsonWebKey, *Response, error)

Gets a specific application key credential by kid

func (*ApplicationResource) GetApplicationUser

func (m *ApplicationResource) GetApplicationUser(ctx context.Context, appId, userId string, qp *query.Params) (*AppUser, *Response, error)

Fetches a specific user assignment for application by `id`.

func (*ApplicationResource) GetClientSecretForApplication

func (m *ApplicationResource) GetClientSecretForApplication(ctx context.Context, appId, secretId string) (*ClientSecret, *Response, error)

Gets a specific client secret by secretId

func (*ApplicationResource) GetCsrForApplication

func (m *ApplicationResource) GetCsrForApplication(ctx context.Context, appId, csrId string) (*Csr, *Response, error)

func (*ApplicationResource) GetDefaultProvisioningConnectionForApplication

func (m *ApplicationResource) GetDefaultProvisioningConnectionForApplication(ctx context.Context, appId string) (*ProvisioningConnection, *Response, error)

Get default Provisioning Connection for application

func (*ApplicationResource) GetFeatureForApplication

func (m *ApplicationResource) GetFeatureForApplication(ctx context.Context, appId, name string) (*ApplicationFeature, *Response, error)

Fetches a Feature object for an application.

func (*ApplicationResource) GetOAuth2TokenForApplication

func (m *ApplicationResource) GetOAuth2TokenForApplication(ctx context.Context, appId, tokenId string, qp *query.Params) (*OAuth2Token, *Response, error)

Gets a token for the specified application

func (*ApplicationResource) GetScopeConsentGrant

func (m *ApplicationResource) GetScopeConsentGrant(ctx context.Context, appId, grantId string, qp *query.Params) (*OAuth2ScopeConsentGrant, *Response, error)

Fetches a single scope consent grant for the application

func (*ApplicationResource) GrantConsentToScope

Grants consent for the application to request an OAuth 2.0 Okta scope

func (*ApplicationResource) ListApplicationGroupAssignments

func (m *ApplicationResource) ListApplicationGroupAssignments(ctx context.Context, appId string, qp *query.Params) ([]*ApplicationGroupAssignment, *Response, error)

Enumerates group assignments for an application.

func (*ApplicationResource) ListApplicationKeys

func (m *ApplicationResource) ListApplicationKeys(ctx context.Context, appId string) ([]*JsonWebKey, *Response, error)

Enumerates key credentials for an application

func (*ApplicationResource) ListApplicationUsers

func (m *ApplicationResource) ListApplicationUsers(ctx context.Context, appId string, qp *query.Params) ([]*AppUser, *Response, error)

Enumerates all assigned [application users](#application-user-model) for an application.

func (*ApplicationResource) ListApplications

func (m *ApplicationResource) ListApplications(ctx context.Context, qp *query.Params) ([]App, *Response, error)

Enumerates apps added to your organization with pagination. A subset of apps can be returned that match a supported filter expression or query.

func (*ApplicationResource) ListClientSecretsForApplication

func (m *ApplicationResource) ListClientSecretsForApplication(ctx context.Context, appId string) ([]*ClientSecret, *Response, error)

Enumerates the client's collection of secrets

func (*ApplicationResource) ListCsrsForApplication

func (m *ApplicationResource) ListCsrsForApplication(ctx context.Context, appId string) ([]*Csr, *Response, error)

Enumerates Certificate Signing Requests for an application

func (*ApplicationResource) ListFeaturesForApplication

func (m *ApplicationResource) ListFeaturesForApplication(ctx context.Context, appId string) ([]*ApplicationFeature, *Response, error)

List Features for application

func (*ApplicationResource) ListOAuth2TokensForApplication

func (m *ApplicationResource) ListOAuth2TokensForApplication(ctx context.Context, appId string, qp *query.Params) ([]*OAuth2Token, *Response, error)

Lists all tokens for the application

func (*ApplicationResource) ListScopeConsentGrants

func (m *ApplicationResource) ListScopeConsentGrants(ctx context.Context, appId string, qp *query.Params) ([]*OAuth2ScopeConsentGrant, *Response, error)

Lists all scope consent grants for the application

func (*ApplicationResource) PreviewSAMLAppMetadata

func (m *ApplicationResource) PreviewSAMLAppMetadata(ctx context.Context, appId string, qp *query.Params) (*Response, error)

Previews SAML metadata based on a specific key credential for an application

func (*ApplicationResource) PublishBinaryCerCert

func (m *ApplicationResource) PublishBinaryCerCert(ctx context.Context, appId, csrId, body string) (*JsonWebKey, *Response, error)

func (*ApplicationResource) PublishBinaryDerCert

func (m *ApplicationResource) PublishBinaryDerCert(ctx context.Context, appId, csrId, body string) (*JsonWebKey, *Response, error)

func (*ApplicationResource) PublishBinaryPemCert

func (m *ApplicationResource) PublishBinaryPemCert(ctx context.Context, appId, csrId, body string) (*JsonWebKey, *Response, error)

func (*ApplicationResource) PublishCerCert

func (m *ApplicationResource) PublishCerCert(ctx context.Context, appId, csrId, body string) (*JsonWebKey, *Response, error)

func (*ApplicationResource) PublishDerCert

func (m *ApplicationResource) PublishDerCert(ctx context.Context, appId, csrId, body string) (*JsonWebKey, *Response, error)

func (*ApplicationResource) RevokeCsrFromApplication

func (m *ApplicationResource) RevokeCsrFromApplication(ctx context.Context, appId, csrId string) (*Response, error)

func (*ApplicationResource) RevokeOAuth2TokenForApplication

func (m *ApplicationResource) RevokeOAuth2TokenForApplication(ctx context.Context, appId, tokenId string) (*Response, error)

Revokes the specified token for the specified application

func (*ApplicationResource) RevokeOAuth2TokensForApplication

func (m *ApplicationResource) RevokeOAuth2TokensForApplication(ctx context.Context, appId string) (*Response, error)

Revokes all tokens for the specified application

func (*ApplicationResource) RevokeScopeConsentGrant

func (m *ApplicationResource) RevokeScopeConsentGrant(ctx context.Context, appId, grantId string) (*Response, error)

Revokes permission for the application to request the given scope

func (*ApplicationResource) SetDefaultProvisioningConnectionForApplication

func (m *ApplicationResource) SetDefaultProvisioningConnectionForApplication(ctx context.Context, appId string, body ProvisioningConnectionRequest, qp *query.Params) (*ProvisioningConnection, *Response, error)

Set default Provisioning Connection for application

func (*ApplicationResource) UpdateApplication

func (m *ApplicationResource) UpdateApplication(ctx context.Context, appId string, body App) (App, *Response, error)

Updates an application in your organization.

func (*ApplicationResource) UpdateApplicationPolicy

func (m *ApplicationResource) UpdateApplicationPolicy(ctx context.Context, appId, policyId string) (*Response, error)

Assign an application to a specific policy. This unassigns the application from its currently assigned policy.

func (*ApplicationResource) UpdateApplicationUser

func (m *ApplicationResource) UpdateApplicationUser(ctx context.Context, appId, userId string, body AppUser) (*AppUser, *Response, error)

Updates a user's profile for an application

func (*ApplicationResource) UpdateFeatureForApplication

func (m *ApplicationResource) UpdateFeatureForApplication(ctx context.Context, appId, name string, body CapabilitiesObject) (*ApplicationFeature, *Response, error)

Updates a Feature object for an application.

func (m *ApplicationResource) UploadApplicationLogo(ctx context.Context, appId, file string) (*Response, error)

Update the logo for an application.

type ApplicationSettings

type ApplicationSettings struct {
	App                *ApplicationSettingsApplication   `json:"app,omitempty"`
	ImplicitAssignment *bool                             `json:"implicitAssignment,omitempty"`
	InlineHookId       string                            `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes         `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications `json:"notifications,omitempty"`
}

type ApplicationSettingsApplication

type ApplicationSettingsApplication map[string]interface{}

type ApplicationSettingsNotes

type ApplicationSettingsNotes struct {
	Admin   *string `json:"admin"`
	Enduser *string `json:"enduser"`
}

type ApplicationSettingsNotifications

type ApplicationSettingsNotifications struct {
	Vpn *ApplicationSettingsNotificationsVpn `json:"vpn,omitempty"`
}

type ApplicationSettingsNotificationsVpn

type ApplicationSettingsNotificationsVpn struct {
	HelpUrl string                                      `json:"helpUrl,omitempty"`
	Message string                                      `json:"message,omitempty"`
	Network *ApplicationSettingsNotificationsVpnNetwork `json:"network,omitempty"`
}

type ApplicationSettingsNotificationsVpnNetwork

type ApplicationSettingsNotificationsVpnNetwork struct {
	Connection string   `json:"connection,omitempty"`
	Exclude    []string `json:"exclude,omitempty"`
	Include    []string `json:"include,omitempty"`
}

type ApplicationVisibility

type ApplicationVisibility struct {
	AppLinks          map[string]bool            `json:"appLinks,omitempty"`
	AutoLaunch        *bool                      `json:"autoLaunch,omitempty"`
	AutoSubmitToolbar *bool                      `json:"autoSubmitToolbar,omitempty"`
	Hide              *ApplicationVisibilityHide `json:"hide,omitempty"`
}

type ApplicationVisibilityHide

type ApplicationVisibilityHide struct {
	IOS *bool `json:"iOS,omitempty"`
	Web *bool `json:"web,omitempty"`
}

type AssignRoleRequest

type AssignRoleRequest struct {
	Type        string `json:"type,omitempty"`
	Role        string `json:"role,omitempty"`
	ResourceSet string `json:"resource-set,omitempty"`
}

type AuthenticationMethodObject

type AuthenticationMethodObject struct {
	Key    string `json:"key,omitempty"`
	Method string `json:"method,omitempty"`
}

type AuthenticationProvider

type AuthenticationProvider struct {
	Name string `json:"name,omitempty"`
	Type string `json:"type,omitempty"`
}

type Authenticator

type Authenticator struct {
	Links       interface{}            `json:"_links,omitempty"`
	Created     *time.Time             `json:"created,omitempty"`
	Id          string                 `json:"id,omitempty"`
	Key         string                 `json:"key,omitempty"`
	LastUpdated *time.Time             `json:"lastUpdated,omitempty"`
	Name        string                 `json:"name,omitempty"`
	Provider    *AuthenticatorProvider `json:"provider,omitempty"`
	Settings    *AuthenticatorSettings `json:"settings,omitempty"`
	Status      string                 `json:"status,omitempty"`
	Type        string                 `json:"type,omitempty"`
}

type AuthenticatorProvider

type AuthenticatorProvider struct {
	Configuration *AuthenticatorProviderConfiguration `json:"configuration,omitempty"`
	Type          string                              `json:"type,omitempty"`
}

type AuthenticatorProviderConfiguration

type AuthenticatorProviderConfiguration struct {
	AuthPort         int64                                            `json:"-"`
	AuthPortPtr      *int64                                           `json:"authPort,omitempty"`
	Host             string                                           `json:"host,omitempty"`
	HostName         string                                           `json:"hostName,omitempty"`
	InstanceId       string                                           `json:"instanceId,omitempty"`
	IntegrationKey   string                                           `json:"integrationKey,omitempty"`
	SecretKey        string                                           `json:"secretKey,omitempty"`
	SharedSecret     string                                           `json:"sharedSecret,omitempty"`
	UserNameTemplate *AuthenticatorProviderConfigurationUserNamePlate `json:"userNameTemplate,omitempty"`
}

func (*AuthenticatorProviderConfiguration) MarshalJSON

func (a *AuthenticatorProviderConfiguration) MarshalJSON() ([]byte, error)

func (*AuthenticatorProviderConfiguration) UnmarshalJSON

func (a *AuthenticatorProviderConfiguration) UnmarshalJSON(data []byte) error

type AuthenticatorProviderConfigurationUserNamePlate

type AuthenticatorProviderConfigurationUserNamePlate struct {
	Template string `json:"template,omitempty"`
}

type AuthenticatorResource

type AuthenticatorResource resource

func (*AuthenticatorResource) ActivateAuthenticator

func (m *AuthenticatorResource) ActivateAuthenticator(ctx context.Context, authenticatorId string) (*Authenticator, *Response, error)

func (*AuthenticatorResource) CreateAuthenticator

func (m *AuthenticatorResource) CreateAuthenticator(ctx context.Context, body Authenticator, qp *query.Params) (*Authenticator, *Response, error)

Create Authenticator

func (*AuthenticatorResource) DeactivateAuthenticator

func (m *AuthenticatorResource) DeactivateAuthenticator(ctx context.Context, authenticatorId string) (*Authenticator, *Response, error)

func (*AuthenticatorResource) GetAuthenticator

func (m *AuthenticatorResource) GetAuthenticator(ctx context.Context, authenticatorId string) (*Authenticator, *Response, error)

func (*AuthenticatorResource) ListAuthenticators

func (m *AuthenticatorResource) ListAuthenticators(ctx context.Context) ([]*Authenticator, *Response, error)

List Authenticators

func (*AuthenticatorResource) SetSettingsOTP

func (m *AuthenticatorResource) SetSettingsOTP(ctx context.Context, body OTP, authenticatorId string) (*Response, error)

func (*AuthenticatorResource) UpdateAuthenticator

func (m *AuthenticatorResource) UpdateAuthenticator(ctx context.Context, authenticatorId string, body Authenticator) (*Authenticator, *Response, error)

Updates an authenticator

type AuthenticatorSettings

type AuthenticatorSettings struct {
	AllowedFor                string          `json:"allowedFor,omitempty"`
	AppInstanceId             string          `json:"appInstanceId,omitempty"`
	ChannelBinding            *ChannelBinding `json:"channelBinding,omitempty"`
	Compliance                *Compliance     `json:"compliance,omitempty"`
	TokenLifetimeInMinutes    int64           `json:"-"`
	TokenLifetimeInMinutesPtr *int64          `json:"tokenLifetimeInMinutes,omitempty"`
	UserVerification          string          `json:"userVerification,omitempty"`
}

func (*AuthenticatorSettings) MarshalJSON

func (a *AuthenticatorSettings) MarshalJSON() ([]byte, error)

func (*AuthenticatorSettings) UnmarshalJSON

func (a *AuthenticatorSettings) UnmarshalJSON(data []byte) error

type AuthenticatorSettingsOTP

type AuthenticatorSettingsOTP struct {
	AcceptableAdjacentIntervals int    `json:"acceptableAdjacentIntervals"`
	Algorithm                   string `json:"algorithm"`
	Encoding                    string `json:"encoding"`
	PassCodeLength              int    `json:"passCodeLength"`
	Protocol                    string `json:"protocol"`
	TimeIntervalInSeconds       int    `json:"timeIntervalInSeconds"`
}

func (*AuthenticatorSettingsOTP) MarshalJSON

func (a *AuthenticatorSettingsOTP) MarshalJSON() ([]byte, error)

func (*AuthenticatorSettingsOTP) UnmarshalJSON

func (a *AuthenticatorSettingsOTP) UnmarshalJSON(data []byte) error

type Authorization

type Authorization interface {
	Authorize(method, URL string) error
}

type AuthorizationServer

type AuthorizationServer struct {
	Links       interface{}                     `json:"_links,omitempty"`
	Audiences   []string                        `json:"audiences,omitempty"`
	Created     *time.Time                      `json:"created,omitempty"`
	Credentials *AuthorizationServerCredentials `json:"credentials,omitempty"`
	Default     *bool                           `json:"default,omitempty"`
	Description string                          `json:"description,omitempty"`
	Id          string                          `json:"id,omitempty"`
	Issuer      string                          `json:"issuer,omitempty"`
	IssuerMode  string                          `json:"issuerMode,omitempty"`
	LastUpdated *time.Time                      `json:"lastUpdated,omitempty"`
	Name        string                          `json:"name,omitempty"`
	Status      string                          `json:"status,omitempty"`
}

type AuthorizationServerCredentials

type AuthorizationServerCredentials struct {
	Signing *AuthorizationServerCredentialsSigningConfig `json:"signing,omitempty"`
}

type AuthorizationServerCredentialsSigningConfig

type AuthorizationServerCredentialsSigningConfig struct {
	Kid          string     `json:"kid,omitempty"`
	LastRotated  *time.Time `json:"lastRotated,omitempty"`
	NextRotation *time.Time `json:"nextRotation,omitempty"`
	RotationMode string     `json:"rotationMode,omitempty"`
	Use          string     `json:"use,omitempty"`
}

type AuthorizationServerPolicy

type AuthorizationServerPolicy struct {
	Embedded    interface{}           `json:"_embedded,omitempty"`
	Links       interface{}           `json:"_links,omitempty"`
	Conditions  *PolicyRuleConditions `json:"conditions,omitempty"`
	Created     *time.Time            `json:"created,omitempty"`
	Description string                `json:"description,omitempty"`
	Id          string                `json:"id,omitempty"`
	LastUpdated *time.Time            `json:"lastUpdated,omitempty"`
	Name        string                `json:"name,omitempty"`
	Priority    int64                 `json:"-"`
	PriorityPtr *int64                `json:"priority,omitempty"`
	Status      string                `json:"status,omitempty"`
	System      *bool                 `json:"system,omitempty"`
	Type        string                `json:"type,omitempty"`
}

func (*AuthorizationServerPolicy) MarshalJSON

func (a *AuthorizationServerPolicy) MarshalJSON() ([]byte, error)

func (*AuthorizationServerPolicy) UnmarshalJSON

func (a *AuthorizationServerPolicy) UnmarshalJSON(data []byte) error

type AuthorizationServerPolicyResource

type AuthorizationServerPolicyResource resource

func (*AuthorizationServerPolicyResource) DeleteAuthorizationServerPolicy

func (m *AuthorizationServerPolicyResource) DeleteAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string) (*Response, error)

func (*AuthorizationServerPolicyResource) GetAuthorizationServerPolicy

func (m *AuthorizationServerPolicyResource) GetAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string) (*AuthorizationServerPolicy, *Response, error)

func (*AuthorizationServerPolicyResource) UpdateAuthorizationServerPolicy

func (m *AuthorizationServerPolicyResource) UpdateAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string, body AuthorizationServerPolicy) (*AuthorizationServerPolicy, *Response, error)

type AuthorizationServerPolicyRule

type AuthorizationServerPolicyRule struct {
	Actions     *AuthorizationServerPolicyRuleActions    `json:"actions,omitempty"`
	Conditions  *AuthorizationServerPolicyRuleConditions `json:"conditions,omitempty"`
	Created     *time.Time                               `json:"created,omitempty"`
	Id          string                                   `json:"id,omitempty"`
	LastUpdated *time.Time                               `json:"lastUpdated,omitempty"`
	Name        string                                   `json:"name,omitempty"`
	Priority    int64                                    `json:"-"`
	PriorityPtr *int64                                   `json:"priority,omitempty"`
	Status      string                                   `json:"status,omitempty"`
	System      *bool                                    `json:"system,omitempty"`
	Type        string                                   `json:"type,omitempty"`
}

func (*AuthorizationServerPolicyRule) MarshalJSON

func (a *AuthorizationServerPolicyRule) MarshalJSON() ([]byte, error)

func (*AuthorizationServerPolicyRule) UnmarshalJSON

func (a *AuthorizationServerPolicyRule) UnmarshalJSON(data []byte) error

type AuthorizationServerPolicyRuleActions

type AuthorizationServerPolicyRuleActions struct {
	Token *TokenAuthorizationServerPolicyRuleAction `json:"token,omitempty"`
}

type AuthorizationServerPolicyRuleConditions

type AuthorizationServerPolicyRuleConditions struct {
	Clients    *ClientPolicyCondition                    `json:"clients,omitempty"`
	GrantTypes *GrantTypePolicyRuleCondition             `json:"grantTypes,omitempty"`
	People     *PolicyPeopleCondition                    `json:"people,omitempty"`
	Scopes     *OAuth2ScopesMediationPolicyRuleCondition `json:"scopes,omitempty"`
}

type AuthorizationServerPolicyRuleResource

type AuthorizationServerPolicyRuleResource resource

func (*AuthorizationServerPolicyRuleResource) DeleteAuthorizationServerPolicyRule

func (m *AuthorizationServerPolicyRuleResource) DeleteAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId, ruleId string) (*Response, error)

Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.

func (*AuthorizationServerPolicyRuleResource) UpdateAuthorizationServerPolicyRule

func (m *AuthorizationServerPolicyRuleResource) UpdateAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId, ruleId string, body AuthorizationServerPolicyRule) (*AuthorizationServerPolicyRule, *Response, error)

Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.

type AuthorizationServerResource

type AuthorizationServerResource resource

func (*AuthorizationServerResource) ActivateAuthorizationServer

func (m *AuthorizationServerResource) ActivateAuthorizationServer(ctx context.Context, authServerId string) (*Response, error)

func (*AuthorizationServerResource) ActivateAuthorizationServerPolicy

func (m *AuthorizationServerResource) ActivateAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string) (*Response, error)

Activate Authorization Server Policy

func (*AuthorizationServerResource) ActivateAuthorizationServerPolicyRule

func (m *AuthorizationServerResource) ActivateAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId, ruleId string) (*Response, error)

Activate Authorization Server Policy Rule

func (*AuthorizationServerResource) CreateAuthorizationServer

func (*AuthorizationServerResource) CreateAuthorizationServerPolicy

func (m *AuthorizationServerResource) CreateAuthorizationServerPolicy(ctx context.Context, authServerId string, body AuthorizationServerPolicy) (*AuthorizationServerPolicy, *Response, error)

func (*AuthorizationServerResource) CreateAuthorizationServerPolicyRule

func (m *AuthorizationServerResource) CreateAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId string, body AuthorizationServerPolicyRule) (*AuthorizationServerPolicyRule, *Response, error)

Creates a policy rule for the specified Custom Authorization Server and Policy.

func (*AuthorizationServerResource) CreateOAuth2Claim

func (m *AuthorizationServerResource) CreateOAuth2Claim(ctx context.Context, authServerId string, body OAuth2Claim) (*OAuth2Claim, *Response, error)

func (*AuthorizationServerResource) CreateOAuth2Scope

func (m *AuthorizationServerResource) CreateOAuth2Scope(ctx context.Context, authServerId string, body OAuth2Scope) (*OAuth2Scope, *Response, error)

func (*AuthorizationServerResource) DeactivateAuthorizationServer

func (m *AuthorizationServerResource) DeactivateAuthorizationServer(ctx context.Context, authServerId string) (*Response, error)

func (*AuthorizationServerResource) DeactivateAuthorizationServerPolicy

func (m *AuthorizationServerResource) DeactivateAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string) (*Response, error)

Deactivate Authorization Server Policy

func (*AuthorizationServerResource) DeactivateAuthorizationServerPolicyRule

func (m *AuthorizationServerResource) DeactivateAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId, ruleId string) (*Response, error)

Deactivate Authorization Server Policy Rule

func (*AuthorizationServerResource) DeleteAuthorizationServer

func (m *AuthorizationServerResource) DeleteAuthorizationServer(ctx context.Context, authServerId string) (*Response, error)

func (*AuthorizationServerResource) DeleteAuthorizationServerPolicy

func (m *AuthorizationServerResource) DeleteAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string) (*Response, error)

func (*AuthorizationServerResource) DeleteAuthorizationServerPolicyRule

func (m *AuthorizationServerResource) DeleteAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId, ruleId string) (*Response, error)

Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.

func (*AuthorizationServerResource) DeleteOAuth2Claim

func (m *AuthorizationServerResource) DeleteOAuth2Claim(ctx context.Context, authServerId, claimId string) (*Response, error)

func (*AuthorizationServerResource) DeleteOAuth2Scope

func (m *AuthorizationServerResource) DeleteOAuth2Scope(ctx context.Context, authServerId, scopeId string) (*Response, error)

func (*AuthorizationServerResource) GetAuthorizationServer

func (m *AuthorizationServerResource) GetAuthorizationServer(ctx context.Context, authServerId string) (*AuthorizationServer, *Response, error)

func (*AuthorizationServerResource) GetAuthorizationServerPolicy

func (m *AuthorizationServerResource) GetAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string) (*AuthorizationServerPolicy, *Response, error)

func (*AuthorizationServerResource) GetAuthorizationServerPolicyRule

func (m *AuthorizationServerResource) GetAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId, ruleId string) (*AuthorizationServerPolicyRule, *Response, error)

Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.

func (*AuthorizationServerResource) GetOAuth2Claim

func (m *AuthorizationServerResource) GetOAuth2Claim(ctx context.Context, authServerId, claimId string) (*OAuth2Claim, *Response, error)

func (*AuthorizationServerResource) GetOAuth2Scope

func (m *AuthorizationServerResource) GetOAuth2Scope(ctx context.Context, authServerId, scopeId string) (*OAuth2Scope, *Response, error)

func (*AuthorizationServerResource) GetRefreshTokenForAuthorizationServerAndClient

func (m *AuthorizationServerResource) GetRefreshTokenForAuthorizationServerAndClient(ctx context.Context, authServerId, clientId, tokenId string, qp *query.Params) (*OAuth2RefreshToken, *Response, error)

func (*AuthorizationServerResource) ListAuthorizationServerKeys

func (m *AuthorizationServerResource) ListAuthorizationServerKeys(ctx context.Context, authServerId string) ([]*JsonWebKey, *Response, error)

func (*AuthorizationServerResource) ListAuthorizationServerPolicies

func (m *AuthorizationServerResource) ListAuthorizationServerPolicies(ctx context.Context, authServerId string) ([]*AuthorizationServerPolicy, *Response, error)

func (*AuthorizationServerResource) ListAuthorizationServerPolicyRules

func (m *AuthorizationServerResource) ListAuthorizationServerPolicyRules(ctx context.Context, authServerId, policyId string) ([]*AuthorizationServerPolicyRule, *Response, error)

Enumerates all policy rules for the specified Custom Authorization Server and Policy.

func (*AuthorizationServerResource) ListAuthorizationServers

func (m *AuthorizationServerResource) ListAuthorizationServers(ctx context.Context, qp *query.Params) ([]*AuthorizationServer, *Response, error)

func (*AuthorizationServerResource) ListOAuth2Claims

func (m *AuthorizationServerResource) ListOAuth2Claims(ctx context.Context, authServerId string) ([]*OAuth2Claim, *Response, error)

func (*AuthorizationServerResource) ListOAuth2ClientsForAuthorizationServer

func (m *AuthorizationServerResource) ListOAuth2ClientsForAuthorizationServer(ctx context.Context, authServerId string) ([]*OAuth2Client, *Response, error)

func (*AuthorizationServerResource) ListOAuth2Scopes

func (m *AuthorizationServerResource) ListOAuth2Scopes(ctx context.Context, authServerId string, qp *query.Params) ([]*OAuth2Scope, *Response, error)

func (*AuthorizationServerResource) ListRefreshTokensForAuthorizationServerAndClient

func (m *AuthorizationServerResource) ListRefreshTokensForAuthorizationServerAndClient(ctx context.Context, authServerId, clientId string, qp *query.Params) ([]*OAuth2RefreshToken, *Response, error)

func (*AuthorizationServerResource) RevokeRefreshTokenForAuthorizationServerAndClient

func (m *AuthorizationServerResource) RevokeRefreshTokenForAuthorizationServerAndClient(ctx context.Context, authServerId, clientId, tokenId string) (*Response, error)

func (*AuthorizationServerResource) RevokeRefreshTokensForAuthorizationServerAndClient

func (m *AuthorizationServerResource) RevokeRefreshTokensForAuthorizationServerAndClient(ctx context.Context, authServerId, clientId string) (*Response, error)

func (*AuthorizationServerResource) RotateAuthorizationServerKeys

func (m *AuthorizationServerResource) RotateAuthorizationServerKeys(ctx context.Context, authServerId string, body JwkUse) ([]*JsonWebKey, *Response, error)

func (*AuthorizationServerResource) UpdateAuthorizationServer

func (m *AuthorizationServerResource) UpdateAuthorizationServer(ctx context.Context, authServerId string, body AuthorizationServer) (*AuthorizationServer, *Response, error)

func (*AuthorizationServerResource) UpdateAuthorizationServerPolicy

func (m *AuthorizationServerResource) UpdateAuthorizationServerPolicy(ctx context.Context, authServerId, policyId string, body AuthorizationServerPolicy) (*AuthorizationServerPolicy, *Response, error)

func (*AuthorizationServerResource) UpdateAuthorizationServerPolicyRule

func (m *AuthorizationServerResource) UpdateAuthorizationServerPolicyRule(ctx context.Context, authServerId, policyId, ruleId string, body AuthorizationServerPolicyRule) (*AuthorizationServerPolicyRule, *Response, error)

Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.

func (*AuthorizationServerResource) UpdateOAuth2Claim

func (m *AuthorizationServerResource) UpdateOAuth2Claim(ctx context.Context, authServerId, claimId string, body OAuth2Claim) (*OAuth2Claim, *Response, error)

func (*AuthorizationServerResource) UpdateOAuth2Scope

func (m *AuthorizationServerResource) UpdateOAuth2Scope(ctx context.Context, authServerId, scopeId string, body OAuth2Scope) (*OAuth2Scope, *Response, error)

type AutoLoginApplication

type AutoLoginApplication struct {
	Embedded      interface{}                   `json:"_embedded,omitempty"`
	Links         interface{}                   `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility     `json:"accessibility,omitempty"`
	Created       *time.Time                    `json:"created,omitempty"`
	Credentials   *SchemeApplicationCredentials `json:"credentials,omitempty"`
	Features      []string                      `json:"features,omitempty"`
	Id            string                        `json:"id,omitempty"`
	Label         string                        `json:"label,omitempty"`
	LastUpdated   *time.Time                    `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing         `json:"licensing,omitempty"`
	Name          string                        `json:"name,omitempty"`
	Profile       interface{}                   `json:"profile,omitempty"`
	Settings      *AutoLoginApplicationSettings `json:"settings,omitempty"`
	SignOnMode    string                        `json:"signOnMode,omitempty"`
	Status        string                        `json:"status,omitempty"`
	Visibility    *ApplicationVisibility        `json:"visibility,omitempty"`
}

func NewAutoLoginApplication

func NewAutoLoginApplication() *AutoLoginApplication

func (*AutoLoginApplication) IsApplicationInstance

func (a *AutoLoginApplication) IsApplicationInstance() bool

type AutoLoginApplicationSettings

type AutoLoginApplicationSettings struct {
	App                *ApplicationSettingsApplication     `json:"app,omitempty"`
	ImplicitAssignment *bool                               `json:"implicitAssignment,omitempty"`
	InlineHookId       string                              `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes           `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications   `json:"notifications,omitempty"`
	SignOn             *AutoLoginApplicationSettingsSignOn `json:"signOn,omitempty"`
}

type AutoLoginApplicationSettingsSignOn

type AutoLoginApplicationSettingsSignOn struct {
	LoginUrl    string `json:"loginUrl,omitempty"`
	RedirectUrl string `json:"redirectUrl,omitempty"`
}

type BasicApplicationSettings

type BasicApplicationSettings struct {
	App                *BasicApplicationSettingsApplication `json:"app,omitempty"`
	ImplicitAssignment *bool                                `json:"implicitAssignment,omitempty"`
	InlineHookId       string                               `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes            `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications    `json:"notifications,omitempty"`
}

type BasicApplicationSettingsApplication

type BasicApplicationSettingsApplication struct {
	AuthURL string `json:"authURL,omitempty"`
	Url     string `json:"url,omitempty"`
}

type BasicAuthApplication

type BasicAuthApplication struct {
	Embedded      interface{}                   `json:"_embedded,omitempty"`
	Links         interface{}                   `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility     `json:"accessibility,omitempty"`
	Created       *time.Time                    `json:"created,omitempty"`
	Credentials   *SchemeApplicationCredentials `json:"credentials,omitempty"`
	Features      []string                      `json:"features,omitempty"`
	Id            string                        `json:"id,omitempty"`
	Label         string                        `json:"label,omitempty"`
	LastUpdated   *time.Time                    `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing         `json:"licensing,omitempty"`
	Name          string                        `json:"name,omitempty"`
	Profile       interface{}                   `json:"profile,omitempty"`
	Settings      *BasicApplicationSettings     `json:"settings,omitempty"`
	SignOnMode    string                        `json:"signOnMode,omitempty"`
	Status        string                        `json:"status,omitempty"`
	Visibility    *ApplicationVisibility        `json:"visibility,omitempty"`
}

func NewBasicAuthApplication

func NewBasicAuthApplication() *BasicAuthApplication

func (*BasicAuthApplication) IsApplicationInstance

func (a *BasicAuthApplication) IsApplicationInstance() bool

type BearerAuth

type BearerAuth struct {
	// contains filtered or unexported fields
}

func NewBearerAuth

func NewBearerAuth(token string, req *http.Request) *BearerAuth

func (*BearerAuth) Authorize

func (a *BearerAuth) Authorize(method, URL string) error

type BeforeScheduledActionPolicyRuleCondition

type BeforeScheduledActionPolicyRuleCondition struct {
	Duration        *Duration                     `json:"duration,omitempty"`
	LifecycleAction *ScheduledUserLifecycleAction `json:"lifecycleAction,omitempty"`
}

func NewBeforeScheduledActionPolicyRuleCondition

func NewBeforeScheduledActionPolicyRuleCondition() *BeforeScheduledActionPolicyRuleCondition

func (*BeforeScheduledActionPolicyRuleCondition) IsPolicyInstance

func (a *BeforeScheduledActionPolicyRuleCondition) IsPolicyInstance() bool

type Behavior

type Behavior struct {
	ID       string                 `json:"id"`
	Name     string                 `json:"name"`
	Status   string                 `json:"status"`
	Settings map[string]interface{} `json:"settings"`
	Type     string                 `json:"type"`
}

type BookmarkApplication

type BookmarkApplication struct {
	Embedded      interface{}                  `json:"_embedded,omitempty"`
	Links         interface{}                  `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility    `json:"accessibility,omitempty"`
	Created       *time.Time                   `json:"created,omitempty"`
	Credentials   *ApplicationCredentials      `json:"credentials,omitempty"`
	Features      []string                     `json:"features,omitempty"`
	Id            string                       `json:"id,omitempty"`
	Label         string                       `json:"label,omitempty"`
	LastUpdated   *time.Time                   `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing        `json:"licensing,omitempty"`
	Name          string                       `json:"name,omitempty"`
	Profile       interface{}                  `json:"profile,omitempty"`
	Settings      *BookmarkApplicationSettings `json:"settings,omitempty"`
	SignOnMode    string                       `json:"signOnMode,omitempty"`
	Status        string                       `json:"status,omitempty"`
	Visibility    *ApplicationVisibility       `json:"visibility,omitempty"`
}

func NewBookmarkApplication

func NewBookmarkApplication() *BookmarkApplication

func (*BookmarkApplication) IsApplicationInstance

func (a *BookmarkApplication) IsApplicationInstance() bool

type BookmarkApplicationSettings

type BookmarkApplicationSettings struct {
	App                *BookmarkApplicationSettingsApplication `json:"app,omitempty"`
	ImplicitAssignment *bool                                   `json:"implicitAssignment,omitempty"`
	InlineHookId       string                                  `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes               `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications       `json:"notifications,omitempty"`
}

type BookmarkApplicationSettingsApplication

type BookmarkApplicationSettingsApplication struct {
	RequestIntegration *bool  `json:"requestIntegration,omitempty"`
	Url                string `json:"url,omitempty"`
}

type BrowserPluginApplication

type BrowserPluginApplication struct {
	Embedded      interface{}                   `json:"_embedded,omitempty"`
	Links         interface{}                   `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility     `json:"accessibility,omitempty"`
	Created       *time.Time                    `json:"created,omitempty"`
	Credentials   *SchemeApplicationCredentials `json:"credentials,omitempty"`
	Features      []string                      `json:"features,omitempty"`
	Id            string                        `json:"id,omitempty"`
	Label         string                        `json:"label,omitempty"`
	LastUpdated   *time.Time                    `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing         `json:"licensing,omitempty"`
	Name          string                        `json:"name,omitempty"`
	Profile       interface{}                   `json:"profile,omitempty"`
	Settings      *ApplicationSettings          `json:"settings,omitempty"`
	SignOnMode    string                        `json:"signOnMode,omitempty"`
	Status        string                        `json:"status,omitempty"`
	Visibility    *ApplicationVisibility        `json:"visibility,omitempty"`
}

func NewBrowserPluginApplication

func NewBrowserPluginApplication() *BrowserPluginApplication

func (*BrowserPluginApplication) IsApplicationInstance

func (a *BrowserPluginApplication) IsApplicationInstance() bool

type CapabilitiesCreateObject

type CapabilitiesCreateObject struct {
	LifecycleCreate *LifecycleCreateSettingObject `json:"lifecycleCreate,omitempty"`
}

func NewCapabilitiesCreateObject

func NewCapabilitiesCreateObject() *CapabilitiesCreateObject

func (*CapabilitiesCreateObject) IsApplicationInstance

func (a *CapabilitiesCreateObject) IsApplicationInstance() bool

type CapabilitiesObject

type CapabilitiesObject struct {
	Create *CapabilitiesCreateObject `json:"create,omitempty"`
	Update *CapabilitiesUpdateObject `json:"update,omitempty"`
}

func NewCapabilitiesObject

func NewCapabilitiesObject() *CapabilitiesObject

func (*CapabilitiesObject) IsApplicationInstance

func (a *CapabilitiesObject) IsApplicationInstance() bool

type CapabilitiesUpdateObject

type CapabilitiesUpdateObject struct {
	LifecycleDeactivate *LifecycleDeactivateSettingObject `json:"lifecycleDeactivate,omitempty"`
	Password            *PasswordSettingObject            `json:"password,omitempty"`
	Profile             *ProfileSettingObject             `json:"profile,omitempty"`
}

func NewCapabilitiesUpdateObject

func NewCapabilitiesUpdateObject() *CapabilitiesUpdateObject

func (*CapabilitiesUpdateObject) IsApplicationInstance

func (a *CapabilitiesUpdateObject) IsApplicationInstance() bool

type Captcha

type Captcha struct {
	Id        string      `json:"id,omitempty"`
	Name      string      `json:"name"`
	SiteKey   string      `json:"siteKey"`
	SecretKey string      `json:"secretKey"`
	Type      string      `json:"type"`
	Links     interface{} `json:"_links,omitempty"`
}

type CatalogApplication

type CatalogApplication struct {
	Links              interface{} `json:"_links,omitempty"`
	Category           string      `json:"category,omitempty"`
	Description        string      `json:"description,omitempty"`
	DisplayName        string      `json:"displayName,omitempty"`
	Features           []string    `json:"features,omitempty"`
	Id                 string      `json:"id,omitempty"`
	LastUpdated        *time.Time  `json:"lastUpdated,omitempty"`
	Name               string      `json:"name,omitempty"`
	SignOnModes        []string    `json:"signOnModes,omitempty"`
	Status             string      `json:"status,omitempty"`
	VerificationStatus string      `json:"verificationStatus,omitempty"`
	Website            string      `json:"website,omitempty"`
}

type ChangePasswordRequest

type ChangePasswordRequest struct {
	NewPassword *PasswordCredential `json:"newPassword,omitempty"`
	OldPassword *PasswordCredential `json:"oldPassword,omitempty"`
}

type ChannelBinding

type ChannelBinding struct {
	Required string `json:"required,omitempty"`
	Style    string `json:"style,omitempty"`
}

type Client

type Client struct {
	Application                *ApplicationResource
	Authenticator              *AuthenticatorResource
	AuthorizationServer        *AuthorizationServerResource
	Domain                     *DomainResource
	EventHook                  *EventHookResource
	Feature                    *FeatureResource
	Group                      *GroupResource
	GroupSchema                *GroupSchemaResource
	IdentityProvider           *IdentityProviderResource
	InlineHook                 *InlineHookResource
	LinkedObject               *LinkedObjectResource
	LogEvent                   *LogEventResource
	NetworkZone                *NetworkZoneResource
	OrgSetting                 *OrgSettingResource
	Policy                     *PolicyResource
	ProfileMapping             *ProfileMappingResource
	Session                    *SessionResource
	SmsTemplate                *SmsTemplateResource
	Subscription               *SubscriptionResource
	ThreatInsightConfiguration *ThreatInsightConfigurationResource
	TrustedOrigin              *TrustedOriginResource
	User                       *UserResource
	UserFactor                 *UserFactorResource
	UserSchema                 *UserSchemaResource
	UserType                   *UserTypeResource
	// contains filtered or unexported fields
}

func ClientFromContext

func ClientFromContext(ctx context.Context) (*Client, bool)

func NewClient

func NewClient(ctx context.Context, conf ...ConfigSetter) (context.Context, *Client, error)

func (*Client) CloneRequestExecutor

func (c *Client) CloneRequestExecutor() *RequestExecutor

CloneRequestExecutor create a clone of the underlying request executor

func (*Client) GetConfig

func (c *Client) GetConfig() *config

func (*Client) GetRequestExecutor

func (c *Client) GetRequestExecutor() *RequestExecutor

GetRequestExecutor returns underlying request executor Deprecated: please use CloneRequestExecutor() to avoid race conditions

func (*Client) SetConfig

func (c *Client) SetConfig(conf ...ConfigSetter) (err error)

type ClientAssertionClaims

type ClientAssertionClaims struct {
	Issuer   string           `json:"iss,omitempty"`
	Subject  string           `json:"sub,omitempty"`
	Audience string           `json:"aud,omitempty"`
	Expiry   *jwt.NumericDate `json:"exp,omitempty"`
	IssuedAt *jwt.NumericDate `json:"iat,omitempty"`
	ID       string           `json:"jti,omitempty"`
}

type ClientPolicyCondition

type ClientPolicyCondition struct {
	Include []string `json:"include,omitempty"`
}

func NewClientPolicyCondition

func NewClientPolicyCondition() *ClientPolicyCondition

func (*ClientPolicyCondition) IsPolicyInstance

func (a *ClientPolicyCondition) IsPolicyInstance() bool

type ClientRateLimitMode

type ClientRateLimitMode struct {
	Mode                 string                         `json:"mode"`
	GranularModeSettings *RateLimitGranularModeSettings `json:"granularModeSettings"`
}

type ClientRole

type ClientRole struct {
	Embedded       interface{} `json:"_embedded,omitempty"`
	Links          interface{} `json:"_links,omitempty"`
	AssignmentType *string     `json:"assignmentType,omitempty"`
	Created        *time.Time  `json:"created,omitempty"`
	Description    *string     `json:"description,omitempty"`
	Id             *string     `json:"id,omitempty"`
	Label          *string     `json:"label,omitempty"`
	LastUpdated    *time.Time  `json:"lastUpdated,omitempty"`
	Status         *string     `json:"status,omitempty"`
	Type           *string     `json:"type,omitempty"`
	ResourceSet    *string     `json:"resource-set,omitempty"`
	Role           *string     `json:"role,omitempty"`
}

Regular roles struct is missing `resource-set` and `role` fields, from CUSTOM role response.

type ClientRoleAssignment

type ClientRoleAssignment struct {
	ResourceSet *string `json:"resource-set,omitempty"`
	Role        *string `json:"role,omitempty"`
	Type        string  `json:"type"`
}

type ClientSecret

type ClientSecret struct {
	Links        interface{} `json:"_links,omitempty"`
	ClientSecret string      `json:"client_secret,omitempty"`
	Created      *time.Time  `json:"created,omitempty"`
	Id           string      `json:"id,omitempty"`
	LastUpdated  *time.Time  `json:"lastUpdated,omitempty"`
	SecretHash   string      `json:"secret_hash,omitempty"`
	Status       string      `json:"status,omitempty"`
}

func NewClientSecret

func NewClientSecret() *ClientSecret

func (*ClientSecret) IsApplicationInstance

func (a *ClientSecret) IsApplicationInstance() bool

type ClientSecretMetadata

type ClientSecretMetadata struct {
	ClientSecret string `json:"client_secret,omitempty"`
}

func NewClientSecretMetadata

func NewClientSecretMetadata() *ClientSecretMetadata

func (*ClientSecretMetadata) IsApplicationInstance

func (a *ClientSecretMetadata) IsApplicationInstance() bool

type Compliance

type Compliance struct {
	Fips string `json:"fips,omitempty"`
}

type ConfigSetter

type ConfigSetter func(*config)

func WithAuthorizationMode

func WithAuthorizationMode(authzMode string) ConfigSetter

func WithCache

func WithCache(cache bool) ConfigSetter

func WithCacheManager

func WithCacheManager(cacheManager cache.Cache) ConfigSetter

func WithCacheTti

func WithCacheTti(i int32) ConfigSetter

func WithCacheTtl

func WithCacheTtl(i int32) ConfigSetter

func WithClientAssertion

func WithClientAssertion(clientAssertion string) ConfigSetter

func WithClientId

func WithClientId(clientId string) ConfigSetter

func WithConnectionTimeout

func WithConnectionTimeout(i int64) ConfigSetter

func WithHttpClient deprecated

func WithHttpClient(httpClient http.Client) ConfigSetter

Deprecated: please use WithHttpClientPtr method

func WithHttpClientPtr

func WithHttpClientPtr(httpClient *http.Client) ConfigSetter

func WithOrgUrl

func WithOrgUrl(url string) ConfigSetter

func WithPrivateKey

func WithPrivateKey(privateKey string) ConfigSetter

WithPrivateKey sets private key key. Can be either a path to a private key or private key itself.

func WithPrivateKeyId

func WithPrivateKeyId(privateKeyId string) ConfigSetter

func WithPrivateKeySigner

func WithPrivateKeySigner(signer jose.Signer) ConfigSetter

func WithProxyHost

func WithProxyHost(host string) ConfigSetter

func WithProxyPassword

func WithProxyPassword(pass string) ConfigSetter

func WithProxyPort

func WithProxyPort(i int32) ConfigSetter

func WithProxyUsername

func WithProxyUsername(username string) ConfigSetter

func WithRateLimitMaxBackOff

func WithRateLimitMaxBackOff(maxBackoff int64) ConfigSetter

func WithRateLimitMaxRetries

func WithRateLimitMaxRetries(maxRetries int32) ConfigSetter

func WithRequestTimeout

func WithRequestTimeout(requestTimeout int64) ConfigSetter

func WithScopes

func WithScopes(scopes []string) ConfigSetter

func WithTestingDisableHttpsCheck

func WithTestingDisableHttpsCheck(httpsCheck bool) ConfigSetter

func WithToken

func WithToken(token string) ConfigSetter

func WithUserAgentExtra

func WithUserAgentExtra(userAgent string) ConfigSetter
type Consent struct {
	Terms *Terms `json:"terms,omitempty"`
	Type  string `json:"type,omitempty"`
}

type ContextPolicyRuleCondition

type ContextPolicyRuleCondition struct {
	Expression string `json:"expression,omitempty"`
}

func NewContextPolicyRuleCondition

func NewContextPolicyRuleCondition() *ContextPolicyRuleCondition

func (*ContextPolicyRuleCondition) IsPolicyInstance

func (a *ContextPolicyRuleCondition) IsPolicyInstance() bool

type CreateCustomRoleBindingRequest

type CreateCustomRoleBindingRequest struct {
	Role    string   `json:"role,omitempty"`
	Members []string `json:"members,omitempty"`
}

type CreateSessionRequest

type CreateSessionRequest struct {
	SessionToken string `json:"sessionToken,omitempty"`
}

type CreateUserRequest

type CreateUserRequest struct {
	Credentials *UserCredentials `json:"credentials,omitempty"`
	GroupIds    []string         `json:"groupIds,omitempty"`
	Profile     *UserProfile     `json:"profile,omitempty"`
	Type        *UserType        `json:"type,omitempty"`
}

type Csr

type Csr struct {
	Created *time.Time `json:"created,omitempty"`
	Csr     string     `json:"csr,omitempty"`
	Id      string     `json:"id,omitempty"`
	Kty     string     `json:"kty,omitempty"`
}

type CsrMetadata

type CsrMetadata struct {
	Subject         *CsrMetadataSubject         `json:"subject,omitempty"`
	SubjectAltNames *CsrMetadataSubjectAltNames `json:"subjectAltNames,omitempty"`
}

type CsrMetadataSubject

type CsrMetadataSubject struct {
	CommonName             string `json:"commonName,omitempty"`
	CountryName            string `json:"countryName,omitempty"`
	LocalityName           string `json:"localityName,omitempty"`
	OrganizationName       string `json:"organizationName,omitempty"`
	OrganizationalUnitName string `json:"organizationalUnitName,omitempty"`
	StateOrProvinceName    string `json:"stateOrProvinceName,omitempty"`
}

type CsrMetadataSubjectAltNames

type CsrMetadataSubjectAltNames struct {
	DnsNames []string `json:"dnsNames,omitempty"`
}

type CustomRole

type CustomRole struct {
	Id          string      `json:"id,omitempty"`
	Label       string      `json:"label,omitempty"`
	Description string      `json:"description,omitempty"`
	Permissions []string    `json:"permissions,omitempty"`
	Links       interface{} `json:"_links,omitempty"`
}

type CustomRoleBinding

type CustomRoleBinding struct {
	Id    string      `json:"id,omitempty"`
	Links interface{} `json:"_links,omitempty"`
}

type CustomRoleBindingMember

type CustomRoleBindingMember struct {
	Id          string      `json:"id,omitempty"`
	Created     time.Time   `json:"created,omitempty"`
	LastUpdated time.Time   `json:"lastUpdated,omitempty"`
	Links       interface{} `json:"_links,omitempty"`
}

type DNSRecord

type DNSRecord struct {
	Expiration string   `json:"expiration,omitempty"`
	Fqdn       string   `json:"fqdn,omitempty"`
	RecordType string   `json:"recordType,omitempty"`
	Values     []string `json:"values,omitempty"`
}

type DeviceAccessPolicyRuleCondition

type DeviceAccessPolicyRuleCondition struct {
	Assurance  *DeviceAssurancePolicyRuleCondition `json:"assurance,omitempty"`
	Migrated   *bool                               `json:"migrated,omitempty"`
	Platform   *DevicePolicyRuleConditionPlatform  `json:"platform,omitempty"`
	Rooted     *bool                               `json:"rooted,omitempty"`
	TrustLevel string                              `json:"trustLevel,omitempty"`
	Managed    *bool                               `json:"managed,omitempty"`
	Registered *bool                               `json:"registered,omitempty"`
}

func NewDeviceAccessPolicyRuleCondition

func NewDeviceAccessPolicyRuleCondition() *DeviceAccessPolicyRuleCondition

func (*DeviceAccessPolicyRuleCondition) IsPolicyInstance

func (a *DeviceAccessPolicyRuleCondition) IsPolicyInstance() bool

type DeviceAssurancePolicyRuleCondition

type DeviceAssurancePolicyRuleCondition struct {
	Include []string `json:"include,omitempty"`
}

func NewDeviceAssurancePolicyRuleCondition

func NewDeviceAssurancePolicyRuleCondition() *DeviceAssurancePolicyRuleCondition

func (*DeviceAssurancePolicyRuleCondition) IsPolicyInstance

func (a *DeviceAssurancePolicyRuleCondition) IsPolicyInstance() bool

type DevicePolicyRuleCondition

type DevicePolicyRuleCondition struct {
	Migrated   *bool                              `json:"migrated,omitempty"`
	Platform   *DevicePolicyRuleConditionPlatform `json:"platform,omitempty"`
	Rooted     *bool                              `json:"rooted,omitempty"`
	TrustLevel string                             `json:"trustLevel,omitempty"`
}

func NewDevicePolicyRuleCondition

func NewDevicePolicyRuleCondition() *DevicePolicyRuleCondition

func (*DevicePolicyRuleCondition) IsPolicyInstance

func (a *DevicePolicyRuleCondition) IsPolicyInstance() bool

type DevicePolicyRuleConditionPlatform

type DevicePolicyRuleConditionPlatform struct {
	SupportedMDMFrameworks []string `json:"supportedMDMFrameworks,omitempty"`
	Types                  []string `json:"types,omitempty"`
}

func NewDevicePolicyRuleConditionPlatform

func NewDevicePolicyRuleConditionPlatform() *DevicePolicyRuleConditionPlatform

func (*DevicePolicyRuleConditionPlatform) IsPolicyInstance

func (a *DevicePolicyRuleConditionPlatform) IsPolicyInstance() bool

type DisableActiveEmailSender

type DisableActiveEmailSender struct {
	ActiveID string `json:"active_id"`
}

type DisableInactiveEmailSender

type DisableInactiveEmailSender struct {
	PendingID string `json:"pending_id"`
}

type Domain

type Domain struct {
	CertificateSourceType string                     `json:"certificateSourceType,omitempty"`
	DnsRecords            []*DNSRecord               `json:"dnsRecords,omitempty"`
	Domain                string                     `json:"domain,omitempty"`
	Id                    string                     `json:"id,omitempty"`
	PublicCertificate     *DomainCertificateMetadata `json:"publicCertificate,omitempty"`
	ValidationStatus      string                     `json:"validationStatus,omitempty"`
}

type DomainCertificate

type DomainCertificate struct {
	Certificate      string `json:"certificate,omitempty"`
	CertificateChain string `json:"certificateChain,omitempty"`
	PrivateKey       string `json:"privateKey,omitempty"`
	Type             string `json:"type,omitempty"`
}

type DomainCertificateMetadata

type DomainCertificateMetadata struct {
	Expiration  string `json:"expiration,omitempty"`
	Fingerprint string `json:"fingerprint,omitempty"`
	Subject     string `json:"subject,omitempty"`
}

type DomainCertificateResource

type DomainCertificateResource resource

type DomainListResponse

type DomainListResponse struct {
	Domains []*Domain `json:"domains,omitempty"`
}

type DomainResource

type DomainResource resource

func (*DomainResource) CreateCertificate

func (m *DomainResource) CreateCertificate(ctx context.Context, domainId string, body DomainCertificate) (*Response, error)

Creates the Certificate for the Domain.

func (*DomainResource) CreateDomain

func (m *DomainResource) CreateDomain(ctx context.Context, body Domain) (*Domain, *Response, error)

Creates your domain.

func (*DomainResource) DeleteDomain

func (m *DomainResource) DeleteDomain(ctx context.Context, domainId string) (*Response, error)

Deletes a Domain by `id`.

func (*DomainResource) GetDomain

func (m *DomainResource) GetDomain(ctx context.Context, domainId string) (*Domain, *Response, error)

Fetches a Domain by `id`.

func (*DomainResource) ListDomains

func (m *DomainResource) ListDomains(ctx context.Context) (*DomainListResponse, *Response, error)

List all verified custom Domains for the org.

func (*DomainResource) VerifyDomain

func (m *DomainResource) VerifyDomain(ctx context.Context, domainId string) (*Domain, *Response, error)

Verifies the Domain by `id`.

type DpopClaims

type DpopClaims struct {
	HTTPMethod  string           `json:"htm,omitempty"`
	HTTPURI     string           `json:"htu,omitempty"`
	IssuedAt    *jwt.NumericDate `json:"iat,omitempty"`
	Nonce       string           `json:"nonce,omitempty"`
	ID          string           `json:"jti,omitempty"`
	AccessToken string           `json:"ath,omitempty"`
}

type Duration

type Duration struct {
	Number    int64  `json:"-"`
	NumberPtr *int64 `json:"number,omitempty"`
	Unit      string `json:"unit,omitempty"`
}

func NewDuration

func NewDuration() *Duration

func (*Duration) IsPolicyInstance

func (a *Duration) IsPolicyInstance() bool

func (*Duration) MarshalJSON

func (a *Duration) MarshalJSON() ([]byte, error)

func (*Duration) UnmarshalJSON

func (a *Duration) UnmarshalJSON(data []byte) error

type EmailSender

type EmailSender struct {
	ID                  string                     `json:"id,omitempty"`                  // computed
	Status              string                     `json:"status,omitempty"`              // computed
	PollingStartTime    int64                      `json:"pollingStartTime,omitempty"`    // computed
	FromName            string                     `json:"fromName,omitempty"`            // updatable
	FromAddress         string                     `json:"fromAddress,omitempty"`         // updatable
	ValidationSubdomain string                     `json:"validationSubdomain,omitempty"` // recreate
	DNSValidation       []EmailSenderDNSValidation `json:"dnsValidation,omitempty"`       // computed
	ValidationError     interface{}                `json:"validationError,omitempty"`     // computed
}

type EmailSenderDNSValidation

type EmailSenderDNSValidation struct {
	RecordType        string `json:"recordType,omitempty"`
	Fqdn              string `json:"fqdn,omitempty"`
	VerificationValue string `json:"verificationValue,omitempty"`
}

type EmailSenderValidation

type EmailSenderValidation struct {
	PendingFromAddress      string                     `json:"pending_fromAddress,omitempty"`
	PendingFromName         string                     `json:"pending_fromName,omitempty"`
	PendingValidationDomain string                     `json:"pending_validationDomain,omitempty"`
	PendingID               string                     `json:"pending_id,omitempty"`
	PendingDNSValidation    []EmailSenderDNSValidation `json:"pending_dnsValidation,omitempty"`
	PendingStatus           string                     `json:"pending_status,omitempty"`
	PendingPollingStartTime interface{}                `json:"pending_pollingStartTime,omitempty"`
	PendingValidationError  interface{}                `json:"pending_validationError,omitempty"`
}

type EmailTemplate

type EmailTemplate struct {
	Links interface{} `json:"_links,omitempty"`
	Name  string      `json:"name,omitempty"`
}

type EmailTemplateContent

type EmailTemplateContent struct {
	Links       interface{} `json:"_links,omitempty"`
	Body        string      `json:"body,omitempty"`
	FromAddress string      `json:"fromAddress,omitempty"`
	FromName    string      `json:"fromName,omitempty"`
	Subject     string      `json:"subject,omitempty"`
}

type EmailTemplateCustomization

type EmailTemplateCustomization struct {
	Links       interface{} `json:"_links,omitempty"`
	Body        string      `json:"body,omitempty"`
	Created     *time.Time  `json:"created,omitempty"`
	Id          string      `json:"id,omitempty"`
	IsDefault   *bool       `json:"isDefault,omitempty"`
	Language    string      `json:"language,omitempty"`
	LastUpdated *time.Time  `json:"lastUpdated,omitempty"`
	Subject     string      `json:"subject,omitempty"`
}

type EmailTemplateCustomizationRequest

type EmailTemplateCustomizationRequest struct {
	Body      string `json:"body,omitempty"`
	IsDefault *bool  `json:"isDefault,omitempty"`
	Language  string `json:"language,omitempty"`
	Subject   string `json:"subject,omitempty"`
}

type EmailTemplateResource

type EmailTemplateResource resource

func (*EmailTemplateResource) GetEmailTemplate

func (m *EmailTemplateResource) GetEmailTemplate(ctx context.Context, brandId, templateName string) (*EmailTemplate, *Response, error)

Fetch an email template by templateName

type EmailTemplateTestRequest

type EmailTemplateTestRequest struct {
	CustomizationId string `json:"customizationId,omitempty"`
}

type Enroll

type Enroll struct {
	Self string `json:"self,omitempty"`
}

type Error

type Error struct {
	ErrorMessage     string                   `json:"error"`
	ErrorDescription string                   `json:"error_description"`
	ErrorCode        string                   `json:"errorCode,omitempty"`
	ErrorSummary     string                   `json:"errorSummary,omitempty" toml:"error_description"`
	ErrorLink        string                   `json:"errorLink,omitempty"`
	ErrorId          string                   `json:"errorId,omitempty"`
	ErrorCauses      []map[string]interface{} `json:"errorCauses,omitempty"`
}

func (*Error) Error

func (e *Error) Error() string

type EventHook

type EventHook struct {
	Links              interface{}         `json:"_links,omitempty"`
	Channel            *EventHookChannel   `json:"channel,omitempty"`
	Created            *time.Time          `json:"created,omitempty"`
	CreatedBy          string              `json:"createdBy,omitempty"`
	Events             *EventSubscriptions `json:"events,omitempty"`
	Id                 string              `json:"id,omitempty"`
	LastUpdated        *time.Time          `json:"lastUpdated,omitempty"`
	Name               string              `json:"name,omitempty"`
	Status             string              `json:"status,omitempty"`
	VerificationStatus string              `json:"verificationStatus,omitempty"`
}

type EventHookChannel

type EventHookChannel struct {
	Config  *EventHookChannelConfig `json:"config,omitempty"`
	Type    string                  `json:"type,omitempty"`
	Version string                  `json:"version,omitempty"`
}

type EventHookChannelConfig

type EventHookChannelConfig struct {
	AuthScheme *EventHookChannelConfigAuthScheme `json:"authScheme,omitempty"`
	Headers    []*EventHookChannelConfigHeader   `json:"headers,omitempty"`
	Uri        string                            `json:"uri,omitempty"`
}

type EventHookChannelConfigAuthScheme

type EventHookChannelConfigAuthScheme struct {
	Key   string `json:"key,omitempty"`
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type EventHookChannelConfigHeader

type EventHookChannelConfigHeader struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

type EventHookResource

type EventHookResource resource

func (*EventHookResource) ActivateEventHook

func (m *EventHookResource) ActivateEventHook(ctx context.Context, eventHookId string) (*EventHook, *Response, error)

func (*EventHookResource) CreateEventHook

func (m *EventHookResource) CreateEventHook(ctx context.Context, body EventHook) (*EventHook, *Response, error)

func (*EventHookResource) DeactivateEventHook

func (m *EventHookResource) DeactivateEventHook(ctx context.Context, eventHookId string) (*EventHook, *Response, error)

func (*EventHookResource) DeleteEventHook

func (m *EventHookResource) DeleteEventHook(ctx context.Context, eventHookId string) (*Response, error)

func (*EventHookResource) GetEventHook

func (m *EventHookResource) GetEventHook(ctx context.Context, eventHookId string) (*EventHook, *Response, error)

func (*EventHookResource) ListEventHooks

func (m *EventHookResource) ListEventHooks(ctx context.Context) ([]*EventHook, *Response, error)

func (*EventHookResource) UpdateEventHook

func (m *EventHookResource) UpdateEventHook(ctx context.Context, eventHookId string, body EventHook) (*EventHook, *Response, error)

func (*EventHookResource) VerifyEventHook

func (m *EventHookResource) VerifyEventHook(ctx context.Context, eventHookId string) (*EventHook, *Response, error)

type EventSubscriptions

type EventSubscriptions struct {
	Items []string `json:"items,omitempty"`
	Type  string   `json:"type,omitempty"`
}

type Factor

type Factor interface {
	IsUserFactorInstance() bool
}

type Feature

type Feature struct {
	Links       interface{}   `json:"_links,omitempty"`
	Description string        `json:"description,omitempty"`
	Id          string        `json:"id,omitempty"`
	Name        string        `json:"name,omitempty"`
	Stage       *FeatureStage `json:"stage,omitempty"`
	Status      string        `json:"status,omitempty"`
	Type        string        `json:"type,omitempty"`
}

type FeatureResource

type FeatureResource resource

func (*FeatureResource) GetFeature

func (m *FeatureResource) GetFeature(ctx context.Context, featureId string) (*Feature, *Response, error)

func (*FeatureResource) ListFeatureDependencies

func (m *FeatureResource) ListFeatureDependencies(ctx context.Context, featureId string) ([]*Feature, *Response, error)

func (*FeatureResource) ListFeatureDependents

func (m *FeatureResource) ListFeatureDependents(ctx context.Context, featureId string) ([]*Feature, *Response, error)

func (*FeatureResource) ListFeatures

func (m *FeatureResource) ListFeatures(ctx context.Context) ([]*Feature, *Response, error)

func (*FeatureResource) UpdateFeatureLifecycle

func (m *FeatureResource) UpdateFeatureLifecycle(ctx context.Context, featureId, lifecycle string, qp *query.Params) (*Feature, *Response, error)

type FeatureStage

type FeatureStage struct {
	State string `json:"state,omitempty"`
	Value string `json:"value,omitempty"`
}

type ForgotPasswordResponse

type ForgotPasswordResponse struct {
	ResetPasswordUrl string `json:"resetPasswordUrl,omitempty"`
}

type GrantTypePolicyRuleCondition

type GrantTypePolicyRuleCondition struct {
	Include []string `json:"include,omitempty"`
}

func NewGrantTypePolicyRuleCondition

func NewGrantTypePolicyRuleCondition() *GrantTypePolicyRuleCondition

func (*GrantTypePolicyRuleCondition) IsPolicyInstance

func (a *GrantTypePolicyRuleCondition) IsPolicyInstance() bool

type Group

type Group struct {
	Embedded              interface{}   `json:"_embedded,omitempty"`
	Links                 interface{}   `json:"_links,omitempty"`
	Created               *time.Time    `json:"created,omitempty"`
	Id                    string        `json:"id,omitempty"`
	LastMembershipUpdated *time.Time    `json:"lastMembershipUpdated,omitempty"`
	LastUpdated           *time.Time    `json:"lastUpdated,omitempty"`
	ObjectClass           []string      `json:"objectClass,omitempty"`
	Profile               *GroupProfile `json:"profile,omitempty"`
	Type                  string        `json:"type,omitempty"`
}

type GroupCondition

type GroupCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

func NewGroupCondition

func NewGroupCondition() *GroupCondition

func (*GroupCondition) IsPolicyInstance

func (a *GroupCondition) IsPolicyInstance() bool

type GroupPolicyRuleCondition

type GroupPolicyRuleCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

func NewGroupPolicyRuleCondition

func NewGroupPolicyRuleCondition() *GroupPolicyRuleCondition

func (*GroupPolicyRuleCondition) IsPolicyInstance

func (a *GroupPolicyRuleCondition) IsPolicyInstance() bool

type GroupProfile

type GroupProfile struct {
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
	GroupProfileMap
}

func (GroupProfile) MarshalJSON

func (a GroupProfile) MarshalJSON() ([]byte, error)

func (*GroupProfile) UnmarshalJSON

func (a *GroupProfile) UnmarshalJSON(data []byte) error

type GroupProfileMap

type GroupProfileMap map[string]interface{}

type GroupResource

type GroupResource resource

func (*GroupResource) ActivateGroupRule

func (m *GroupResource) ActivateGroupRule(ctx context.Context, ruleId string) (*Response, error)

Activates a specific group rule by id from your organization

func (*GroupResource) AddApplicationInstanceTargetToAppAdminRoleGivenToGroup

func (m *GroupResource) AddApplicationInstanceTargetToAppAdminRoleGivenToGroup(ctx context.Context, groupId, roleId, appName, applicationId string) (*Response, error)

Add App Instance Target to App Administrator Role given to a Group

func (*GroupResource) AddApplicationTargetToAdminRoleGivenToGroup

func (m *GroupResource) AddApplicationTargetToAdminRoleGivenToGroup(ctx context.Context, groupId, roleId, appName string) (*Response, error)

func (*GroupResource) AddGroupTargetToGroupAdministratorRoleForGroup

func (m *GroupResource) AddGroupTargetToGroupAdministratorRoleForGroup(ctx context.Context, groupId, roleId, targetGroupId string) (*Response, error)

func (*GroupResource) AddUserToGroup

func (m *GroupResource) AddUserToGroup(ctx context.Context, groupId, userId string) (*Response, error)

Adds a user to a group with 'OKTA_GROUP' type.

func (*GroupResource) AssignRoleToGroup

func (m *GroupResource) AssignRoleToGroup(ctx context.Context, groupId string, body AssignRoleRequest, qp *query.Params) (*Role, *Response, error)

Assigns a Role to a Group

func (*GroupResource) CreateGroup

func (m *GroupResource) CreateGroup(ctx context.Context, body Group) (*Group, *Response, error)

Adds a new group with `OKTA_GROUP` type to your organization.

func (*GroupResource) CreateGroupRule

func (m *GroupResource) CreateGroupRule(ctx context.Context, body GroupRule) (*GroupRule, *Response, error)

Creates a group rule to dynamically add users to the specified group if they match the condition

func (*GroupResource) DeactivateGroupRule

func (m *GroupResource) DeactivateGroupRule(ctx context.Context, ruleId string) (*Response, error)

Deactivates a specific group rule by id from your organization

func (*GroupResource) DeleteGroup

func (m *GroupResource) DeleteGroup(ctx context.Context, groupId string) (*Response, error)

Removes a group with `OKTA_GROUP` type from your organization.

func (*GroupResource) DeleteGroupRule

func (m *GroupResource) DeleteGroupRule(ctx context.Context, ruleId string, qp *query.Params) (*Response, error)

Removes a specific group rule by id from your organization

func (*GroupResource) GetGroup

func (m *GroupResource) GetGroup(ctx context.Context, groupId string) (*Group, *Response, error)

Fetches a group from your organization.

func (*GroupResource) GetGroupRule

func (m *GroupResource) GetGroupRule(ctx context.Context, ruleId string, qp *query.Params) (*GroupRule, *Response, error)

Fetches a specific group rule by id from your organization

func (*GroupResource) GetRole

func (m *GroupResource) GetRole(ctx context.Context, groupId, roleId string) (*Role, *Response, error)

func (*GroupResource) ListApplicationTargetsForApplicationAdministratorRoleForGroup

func (m *GroupResource) ListApplicationTargetsForApplicationAdministratorRoleForGroup(ctx context.Context, groupId, roleId string, qp *query.Params) ([]*CatalogApplication, *Response, error)

Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.

func (*GroupResource) ListAssignedApplicationsForGroup

func (m *GroupResource) ListAssignedApplicationsForGroup(ctx context.Context, groupId string, qp *query.Params) ([]App, *Response, error)

Enumerates all applications that are assigned to a group.

func (*GroupResource) ListGroupAssignedRoles

func (m *GroupResource) ListGroupAssignedRoles(ctx context.Context, groupId string, qp *query.Params) ([]*Role, *Response, error)

func (*GroupResource) ListGroupRules

func (m *GroupResource) ListGroupRules(ctx context.Context, qp *query.Params) ([]*GroupRule, *Response, error)

Lists all group rules for your organization.

func (*GroupResource) ListGroupTargetsForGroupRole

func (m *GroupResource) ListGroupTargetsForGroupRole(ctx context.Context, groupId, roleId string, qp *query.Params) ([]*Group, *Response, error)

func (*GroupResource) ListGroupUsers

func (m *GroupResource) ListGroupUsers(ctx context.Context, groupId string, qp *query.Params) ([]*User, *Response, error)

Enumerates all users that are a member of a group.

func (*GroupResource) ListGroups

func (m *GroupResource) ListGroups(ctx context.Context, qp *query.Params) ([]*Group, *Response, error)

Enumerates groups in your organization with pagination. A subset of groups can be returned that match a supported filter expression or query.

func (*GroupResource) RemoveApplicationTargetFromAdministratorRoleGivenToGroup

func (m *GroupResource) RemoveApplicationTargetFromAdministratorRoleGivenToGroup(ctx context.Context, groupId, roleId, appName, applicationId string) (*Response, error)

Remove App Instance Target to App Administrator Role given to a Group

func (*GroupResource) RemoveApplicationTargetFromApplicationAdministratorRoleGivenToGroup

func (m *GroupResource) RemoveApplicationTargetFromApplicationAdministratorRoleGivenToGroup(ctx context.Context, groupId, roleId, appName string) (*Response, error)

func (*GroupResource) RemoveGroupTargetFromGroupAdministratorRoleGivenToGroup

func (m *GroupResource) RemoveGroupTargetFromGroupAdministratorRoleGivenToGroup(ctx context.Context, groupId, roleId, targetGroupId string) (*Response, error)

func (*GroupResource) RemoveRoleFromGroup

func (m *GroupResource) RemoveRoleFromGroup(ctx context.Context, groupId, roleId string) (*Response, error)

Unassigns a Role from a Group

func (*GroupResource) RemoveUserFromGroup

func (m *GroupResource) RemoveUserFromGroup(ctx context.Context, groupId, userId string) (*Response, error)

Removes a user from a group with 'OKTA_GROUP' type.

func (*GroupResource) UpdateGroup

func (m *GroupResource) UpdateGroup(ctx context.Context, groupId string, body Group) (*Group, *Response, error)

Updates the profile for a group with `OKTA_GROUP` type from your organization.

func (*GroupResource) UpdateGroupRule

func (m *GroupResource) UpdateGroupRule(ctx context.Context, ruleId string, body GroupRule) (*GroupRule, *Response, error)

Updates a group rule. Only `INACTIVE` rules can be updated.

type GroupRule

type GroupRule struct {
	Actions     *GroupRuleAction     `json:"actions,omitempty"`
	Conditions  *GroupRuleConditions `json:"conditions,omitempty"`
	Created     *time.Time           `json:"created,omitempty"`
	Id          string               `json:"id,omitempty"`
	LastUpdated *time.Time           `json:"lastUpdated,omitempty"`
	Name        string               `json:"name,omitempty"`
	Status      string               `json:"status,omitempty"`
	Type        string               `json:"type,omitempty"`
}

type GroupRuleAction

type GroupRuleAction struct {
	AssignUserToGroups *GroupRuleGroupAssignment `json:"assignUserToGroups,omitempty"`
}

type GroupRuleConditions

type GroupRuleConditions struct {
	Expression *GroupRuleExpression      `json:"expression,omitempty"`
	People     *GroupRulePeopleCondition `json:"people,omitempty"`
}

type GroupRuleExpression

type GroupRuleExpression struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type GroupRuleGroupAssignment

type GroupRuleGroupAssignment struct {
	GroupIds []string `json:"groupIds,omitempty"`
}

type GroupRuleGroupCondition

type GroupRuleGroupCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

type GroupRulePeopleCondition

type GroupRulePeopleCondition struct {
	Groups *GroupRuleGroupCondition `json:"groups,omitempty"`
	Users  *GroupRuleUserCondition  `json:"users,omitempty"`
}

type GroupRuleResource

type GroupRuleResource resource

func (*GroupRuleResource) DeleteGroupRule

func (m *GroupRuleResource) DeleteGroupRule(ctx context.Context, ruleId string, qp *query.Params) (*Response, error)

Removes a specific group rule by id from your organization

func (*GroupRuleResource) UpdateGroupRule

func (m *GroupRuleResource) UpdateGroupRule(ctx context.Context, ruleId string, body GroupRule) (*GroupRule, *Response, error)

Updates a group rule. Only `INACTIVE` rules can be updated.

type GroupRuleUserCondition

type GroupRuleUserCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

type GroupSchema

type GroupSchema struct {
	Schema      string                  `json:"$schema,omitempty"`
	Links       interface{}             `json:"_links,omitempty"`
	Created     string                  `json:"created,omitempty"`
	Definitions *GroupSchemaDefinitions `json:"definitions,omitempty"`
	Description string                  `json:"description,omitempty"`
	Id          string                  `json:"id,omitempty"`
	LastUpdated string                  `json:"lastUpdated,omitempty"`
	Name        string                  `json:"name,omitempty"`
	Properties  *UserSchemaProperties   `json:"properties,omitempty"`
	Title       string                  `json:"title,omitempty"`
	Type        string                  `json:"type,omitempty"`
}

type GroupSchemaAttribute

type GroupSchemaAttribute struct {
	Description       string                           `json:"description,omitempty"`
	Enum              []interface{}                    `json:"enum,omitempty"`
	ExternalName      string                           `json:"externalName,omitempty"`
	ExternalNamespace string                           `json:"externalNamespace,omitempty"`
	Items             *UserSchemaAttributeItems        `json:"items,omitempty"`
	Master            *UserSchemaAttributeMaster       `json:"master,omitempty"`
	MaxLength         int64                            `json:"-"`
	MaxLengthPtr      *int64                           `json:"maxLength,omitempty"`
	MinLength         int64                            `json:"-"`
	MinLengthPtr      *int64                           `json:"minLength,omitempty"`
	Mutability        string                           `json:"mutability,omitempty"`
	OneOf             []*UserSchemaAttributeEnum       `json:"oneOf,omitempty"`
	Permissions       []*UserSchemaAttributePermission `json:"permissions,omitempty"`
	Required          *bool                            `json:"required,omitempty"`
	Scope             string                           `json:"scope,omitempty"`
	Title             string                           `json:"title,omitempty"`
	Type              string                           `json:"type,omitempty"`
	Union             string                           `json:"union,omitempty"`
	Unique            string                           `json:"unique,omitempty"`
}

func (*GroupSchemaAttribute) MarshalJSON

func (a *GroupSchemaAttribute) MarshalJSON() ([]byte, error)

func (*GroupSchemaAttribute) UnmarshalJSON

func (a *GroupSchemaAttribute) UnmarshalJSON(data []byte) error

type GroupSchemaBase

type GroupSchemaBase struct {
	Id         string                           `json:"id,omitempty"`
	Properties map[string]*GroupSchemaAttribute `json:"properties,omitempty"`
	Required   []string                         `json:"required,omitempty"`
	Type       string                           `json:"type,omitempty"`
}

type GroupSchemaCustom

type GroupSchemaCustom struct {
	Id         string                           `json:"id,omitempty"`
	Properties map[string]*GroupSchemaAttribute `json:"properties,omitempty"`
	Required   []string                         `json:"required,omitempty"`
	Type       string                           `json:"type,omitempty"`
}

type GroupSchemaDefinitions

type GroupSchemaDefinitions struct {
	Base   *GroupSchemaBase   `json:"base,omitempty"`
	Custom *GroupSchemaCustom `json:"custom,omitempty"`
}

type GroupSchemaResource

type GroupSchemaResource resource

func (*GroupSchemaResource) GetGroupSchema

func (m *GroupSchemaResource) GetGroupSchema(ctx context.Context) (*GroupSchema, *Response, error)

Fetches the group schema

func (*GroupSchemaResource) UpdateGroupSchema

func (m *GroupSchemaResource) UpdateGroupSchema(ctx context.Context, body GroupSchema) (*GroupSchema, *Response, error)

Updates, adds ore removes one or more custom Group Profile properties in the schema

type HotpFactorProfile

type HotpFactorProfile struct {
	ID       string                    `json:"id"`
	Default  bool                      `json:"default"`
	Name     string                    `json:"name"`
	Settings HotpFactorProfileSettings `json:"settings"`
}

type HotpFactorProfileSettings

type HotpFactorProfileSettings struct {
	TimeBased                   bool   `json:"timeBased"`
	OtpLength                   int    `json:"otpLength"`
	TimeStep                    int    `json:"timeStep"`
	AcceptableAdjacentIntervals int    `json:"acceptableAdjacentIntervals"`
	Encoding                    string `json:"encoding"`
	HmacAlgorithm               string `json:"hmacAlgorithm"`
}

type IdentityProvider

type IdentityProvider struct {
	Links       interface{}             `json:"_links,omitempty"`
	Created     *time.Time              `json:"created,omitempty"`
	Id          string                  `json:"id,omitempty"`
	IssuerMode  string                  `json:"issuerMode,omitempty"`
	LastUpdated *time.Time              `json:"lastUpdated,omitempty"`
	Name        string                  `json:"name,omitempty"`
	Policy      *IdentityProviderPolicy `json:"policy,omitempty"`
	Protocol    *Protocol               `json:"protocol,omitempty"`
	Status      string                  `json:"status,omitempty"`
	Type        string                  `json:"type,omitempty"`
}

type IdentityProviderApplicationUser

type IdentityProviderApplicationUser struct {
	Embedded    interface{} `json:"_embedded,omitempty"`
	Links       interface{} `json:"_links,omitempty"`
	Created     string      `json:"created,omitempty"`
	ExternalId  string      `json:"externalId,omitempty"`
	Id          string      `json:"id,omitempty"`
	LastUpdated string      `json:"lastUpdated,omitempty"`
	Profile     interface{} `json:"profile,omitempty"`
}

type IdentityProviderCredentials

type IdentityProviderCredentials struct {
	Client  *IdentityProviderCredentialsClient  `json:"client,omitempty"`
	Signing *IdentityProviderCredentialsSigning `json:"signing,omitempty"`
	Trust   *IdentityProviderCredentialsTrust   `json:"trust,omitempty"`
}

type IdentityProviderCredentialsClient

type IdentityProviderCredentialsClient struct {
	ClientId     string `json:"client_id,omitempty"`
	ClientSecret string `json:"client_secret,omitempty"`
	PKCERequired *bool  `json:"pkce_required"`
}

type IdentityProviderCredentialsSigning

type IdentityProviderCredentialsSigning struct {
	Kid        string `json:"kid,omitempty"`
	PrivateKey string `json:"privateKey,omitempty"`
	TeamId     string `json:"teamId,omitempty"`
}

type IdentityProviderCredentialsTrust

type IdentityProviderCredentialsTrust struct {
	Audience                   string `json:"audience,omitempty"`
	Issuer                     string `json:"issuer,omitempty"`
	Kid                        string `json:"kid,omitempty"`
	Revocation                 string `json:"revocation,omitempty"`
	RevocationCacheLifetime    int64  `json:"-"`
	RevocationCacheLifetimePtr *int64 `json:"revocationCacheLifetime,omitempty"`
}

func (*IdentityProviderCredentialsTrust) MarshalJSON

func (a *IdentityProviderCredentialsTrust) MarshalJSON() ([]byte, error)

func (*IdentityProviderCredentialsTrust) UnmarshalJSON

func (a *IdentityProviderCredentialsTrust) UnmarshalJSON(data []byte) error

type IdentityProviderPolicy

type IdentityProviderPolicy struct {
	Embedded        interface{}           `json:"_embedded,omitempty"`
	Links           interface{}           `json:"_links,omitempty"`
	Conditions      *PolicyRuleConditions `json:"conditions,omitempty"`
	Created         *time.Time            `json:"created,omitempty"`
	Description     string                `json:"description,omitempty"`
	Id              string                `json:"id,omitempty"`
	LastUpdated     *time.Time            `json:"lastUpdated,omitempty"`
	Name            string                `json:"name,omitempty"`
	Priority        int64                 `json:"-"`
	PriorityPtr     *int64                `json:"priority,omitempty"`
	Status          string                `json:"status,omitempty"`
	System          *bool                 `json:"system,omitempty"`
	Type            string                `json:"type,omitempty"`
	AccountLink     *PolicyAccountLink    `json:"accountLink,omitempty"`
	MaxClockSkew    int64                 `json:"-"`
	MaxClockSkewPtr *int64                `json:"maxClockSkew,omitempty"`
	Provisioning    *Provisioning         `json:"provisioning,omitempty"`
	Subject         *PolicySubject        `json:"subject,omitempty"`
}

func NewIdentityProviderPolicy

func NewIdentityProviderPolicy() *IdentityProviderPolicy

func (*IdentityProviderPolicy) IsPolicyInstance

func (a *IdentityProviderPolicy) IsPolicyInstance() bool

func (*IdentityProviderPolicy) MarshalJSON

func (a *IdentityProviderPolicy) MarshalJSON() ([]byte, error)

func (*IdentityProviderPolicy) UnmarshalJSON

func (a *IdentityProviderPolicy) UnmarshalJSON(data []byte) error

type IdentityProviderPolicyRuleCondition

type IdentityProviderPolicyRuleCondition struct {
	IdpIds   []string `json:"idpIds,omitempty"`
	Provider string   `json:"provider,omitempty"`
}

func NewIdentityProviderPolicyRuleCondition

func NewIdentityProviderPolicyRuleCondition() *IdentityProviderPolicyRuleCondition

func (*IdentityProviderPolicyRuleCondition) IsPolicyInstance

func (a *IdentityProviderPolicyRuleCondition) IsPolicyInstance() bool

type IdentityProviderResource

type IdentityProviderResource resource

func (*IdentityProviderResource) ActivateIdentityProvider

func (m *IdentityProviderResource) ActivateIdentityProvider(ctx context.Context, idpId string) (*IdentityProvider, *Response, error)

Activates an inactive IdP.

func (*IdentityProviderResource) CloneIdentityProviderKey

func (m *IdentityProviderResource) CloneIdentityProviderKey(ctx context.Context, idpId, keyId string, qp *query.Params) (*JsonWebKey, *Response, error)

Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP

func (*IdentityProviderResource) CreateIdentityProvider

func (m *IdentityProviderResource) CreateIdentityProvider(ctx context.Context, body IdentityProvider) (*IdentityProvider, *Response, error)

Adds a new IdP to your organization.

func (*IdentityProviderResource) CreateIdentityProviderKey

func (m *IdentityProviderResource) CreateIdentityProviderKey(ctx context.Context, body JsonWebKey) (*JsonWebKey, *Response, error)

Adds a new X.509 certificate credential to the IdP key store.

func (*IdentityProviderResource) DeactivateIdentityProvider

func (m *IdentityProviderResource) DeactivateIdentityProvider(ctx context.Context, idpId string) (*IdentityProvider, *Response, error)

Deactivates an active IdP.

func (*IdentityProviderResource) DeleteIdentityProvider

func (m *IdentityProviderResource) DeleteIdentityProvider(ctx context.Context, idpId string) (*Response, error)

Removes an IdP from your organization.

func (*IdentityProviderResource) DeleteIdentityProviderKey

func (m *IdentityProviderResource) DeleteIdentityProviderKey(ctx context.Context, keyId string) (*Response, error)

Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.

func (*IdentityProviderResource) GenerateCsrForIdentityProvider

func (m *IdentityProviderResource) GenerateCsrForIdentityProvider(ctx context.Context, idpId string, body CsrMetadata) (*Csr, *Response, error)

Generates a new key pair and returns a Certificate Signing Request for it.

func (*IdentityProviderResource) GenerateIdentityProviderSigningKey

func (m *IdentityProviderResource) GenerateIdentityProviderSigningKey(ctx context.Context, idpId string, qp *query.Params) (*JsonWebKey, *Response, error)

Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP

func (*IdentityProviderResource) GetCsrForIdentityProvider

func (m *IdentityProviderResource) GetCsrForIdentityProvider(ctx context.Context, idpId, csrId string) (*Csr, *Response, error)

Gets a specific Certificate Signing Request model by id

func (*IdentityProviderResource) GetIdentityProvider

func (m *IdentityProviderResource) GetIdentityProvider(ctx context.Context, idpId string) (*IdentityProvider, *Response, error)

Fetches an IdP by `id`.

func (*IdentityProviderResource) GetIdentityProviderApplicationUser

func (m *IdentityProviderResource) GetIdentityProviderApplicationUser(ctx context.Context, idpId, userId string) (*IdentityProviderApplicationUser, *Response, error)

Fetches a linked IdP user by ID

func (*IdentityProviderResource) GetIdentityProviderKey

func (m *IdentityProviderResource) GetIdentityProviderKey(ctx context.Context, keyId string) (*JsonWebKey, *Response, error)

Gets a specific IdP Key Credential by `kid`

func (*IdentityProviderResource) GetIdentityProviderSigningKey

func (m *IdentityProviderResource) GetIdentityProviderSigningKey(ctx context.Context, idpId, keyId string) (*JsonWebKey, *Response, error)

Gets a specific IdP Key Credential by `kid`

func (*IdentityProviderResource) LinkUserToIdentityProvider

Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type

func (*IdentityProviderResource) ListCsrsForIdentityProvider

func (m *IdentityProviderResource) ListCsrsForIdentityProvider(ctx context.Context, idpId string) ([]*Csr, *Response, error)

Enumerates Certificate Signing Requests for an IdP

func (*IdentityProviderResource) ListIdentityProviderApplicationUsers

func (m *IdentityProviderResource) ListIdentityProviderApplicationUsers(ctx context.Context, idpId string) ([]*IdentityProviderApplicationUser, *Response, error)

Find all the users linked to an identity provider

func (*IdentityProviderResource) ListIdentityProviderKeys

func (m *IdentityProviderResource) ListIdentityProviderKeys(ctx context.Context, qp *query.Params) ([]*JsonWebKey, *Response, error)

Enumerates IdP key credentials.

func (*IdentityProviderResource) ListIdentityProviderSigningKeys

func (m *IdentityProviderResource) ListIdentityProviderSigningKeys(ctx context.Context, idpId string) ([]*JsonWebKey, *Response, error)

Enumerates signing key credentials for an IdP

func (*IdentityProviderResource) ListIdentityProviders

func (m *IdentityProviderResource) ListIdentityProviders(ctx context.Context, qp *query.Params) ([]*IdentityProvider, *Response, error)

Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.

func (*IdentityProviderResource) ListSocialAuthTokens

func (m *IdentityProviderResource) ListSocialAuthTokens(ctx context.Context, idpId, userId string) ([]*SocialAuthToken, *Response, error)

Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.

func (*IdentityProviderResource) PublishBinaryCerCertForIdentityProvider

func (m *IdentityProviderResource) PublishBinaryCerCertForIdentityProvider(ctx context.Context, idpId, csrId, body string) (*JsonWebKey, *Response, error)

Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.

func (*IdentityProviderResource) PublishBinaryDerCertForIdentityProvider

func (m *IdentityProviderResource) PublishBinaryDerCertForIdentityProvider(ctx context.Context, idpId, csrId, body string) (*JsonWebKey, *Response, error)

Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.

func (*IdentityProviderResource) PublishBinaryPemCertForIdentityProvider

func (m *IdentityProviderResource) PublishBinaryPemCertForIdentityProvider(ctx context.Context, idpId, csrId, body string) (*JsonWebKey, *Response, error)

Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.

func (*IdentityProviderResource) PublishCerCertForIdentityProvider

func (m *IdentityProviderResource) PublishCerCertForIdentityProvider(ctx context.Context, idpId, csrId, body string) (*JsonWebKey, *Response, error)

Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.

func (*IdentityProviderResource) PublishDerCertForIdentityProvider

func (m *IdentityProviderResource) PublishDerCertForIdentityProvider(ctx context.Context, idpId, csrId, body string) (*JsonWebKey, *Response, error)

Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.

func (*IdentityProviderResource) RevokeCsrForIdentityProvider

func (m *IdentityProviderResource) RevokeCsrForIdentityProvider(ctx context.Context, idpId, csrId string) (*Response, error)

Revoke a Certificate Signing Request and delete the key pair from the IdP

func (*IdentityProviderResource) UnlinkUserFromIdentityProvider

func (m *IdentityProviderResource) UnlinkUserFromIdentityProvider(ctx context.Context, idpId, userId string) (*Response, error)

Removes the link between the Okta user and the IdP user.

func (*IdentityProviderResource) UpdateIdentityProvider

func (m *IdentityProviderResource) UpdateIdentityProvider(ctx context.Context, idpId string, body IdentityProvider) (*IdentityProvider, *Response, error)

Updates the configuration for an IdP.

type IdpDiscoveryRule

type IdpDiscoveryRule struct {
	Actions     *IdpDiscoveryRuleActions    `json:"actions"`
	Conditions  *IdpDiscoveryRuleConditions `json:"conditions"`
	Created     string                      `json:"created"`
	ID          string                      `json:"id"`
	LastUpdated string                      `json:"lastUpdated"`
	Name        string                      `json:"name"`
	Priority    int                         `json:"priority"`
	Status      string                      `json:"status"`
	System      bool                        `json:"system"`
	Type        string                      `json:"type"`
}

type IdpDiscoveryRuleActions

type IdpDiscoveryRuleActions struct {
	IDP *IdpDiscoveryRuleIdp `json:"idp"`
}

type IdpDiscoveryRuleApp

type IdpDiscoveryRuleApp struct {
	Exclude []*IdpDiscoveryRuleAppObj `json:"exclude"`
	Include []*IdpDiscoveryRuleAppObj `json:"include"`
}

type IdpDiscoveryRuleAppObj

type IdpDiscoveryRuleAppObj struct {
	Type string `json:"type,omitempty"`
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type IdpDiscoveryRuleConditions

type IdpDiscoveryRuleConditions struct {
	App            *IdpDiscoveryRuleApp            `json:"app"`
	Network        *IdpDiscoveryRuleNetwork        `json:"network"`
	Platform       *IdpDiscoveryRulePlatform       `json:"platform,omitempty"`
	UserIdentifier *IdpDiscoveryRuleUserIdentifier `json:"userIdentifier,omitempty"`
}

type IdpDiscoveryRuleIdp

type IdpDiscoveryRuleIdp struct {
	Providers []*IdpDiscoveryRuleProvider `json:"providers"`
}

type IdpDiscoveryRuleNetwork

type IdpDiscoveryRuleNetwork struct {
	Connection string   `json:"connection,omitempty"`
	Include    []string `json:"include,omitempty"`
	Exclude    []string `json:"exclude,omitempty"`
}

type IdpDiscoveryRulePattern

type IdpDiscoveryRulePattern struct {
	MatchType string `json:"matchType,omitempty"`
	Value     string `json:"value,omitempty"`
}

type IdpDiscoveryRulePlatform

type IdpDiscoveryRulePlatform struct {
	Exclude []interface{}                      `json:"exclude,omitempty"`
	Include []*IdpDiscoveryRulePlatformInclude `json:"include,omitempty"`
}

type IdpDiscoveryRulePlatformInclude

type IdpDiscoveryRulePlatformInclude struct {
	Os   *IdpDiscoveryRulePlatformOS `json:"os"`
	Type string                      `json:"type,omitempty"`
}

type IdpDiscoveryRulePlatformOS

type IdpDiscoveryRulePlatformOS struct {
	Type       string `json:"type,omitempty"`
	Expression string `json:"expression,omitempty"`
}

type IdpDiscoveryRuleProvider

type IdpDiscoveryRuleProvider struct {
	Type string `json:"type,omitempty"`
	ID   string `json:"id,omitempty"`
}

type IdpDiscoveryRuleUserIdentifier

type IdpDiscoveryRuleUserIdentifier struct {
	Attribute string                     `json:"attribute,omitempty"`
	Patterns  []*IdpDiscoveryRulePattern `json:"patterns,omitempty"`
	Type      string                     `json:"type,omitempty"`
}

type IdpPolicyRuleAction

type IdpPolicyRuleAction struct {
	Providers []*IdpPolicyRuleActionProvider `json:"providers,omitempty"`
}

func NewIdpPolicyRuleAction

func NewIdpPolicyRuleAction() *IdpPolicyRuleAction

func (*IdpPolicyRuleAction) IsPolicyInstance

func (a *IdpPolicyRuleAction) IsPolicyInstance() bool

type IdpPolicyRuleActionProvider

type IdpPolicyRuleActionProvider struct {
	Id   string `json:"id,omitempty"`
	Type string `json:"type,omitempty"`
}

func NewIdpPolicyRuleActionProvider

func NewIdpPolicyRuleActionProvider() *IdpPolicyRuleActionProvider

func (*IdpPolicyRuleActionProvider) IsPolicyInstance

func (a *IdpPolicyRuleActionProvider) IsPolicyInstance() bool

type IframeEmbedScopeAllowedApps

type IframeEmbedScopeAllowedApps string

type ImageUploadResponse

type ImageUploadResponse struct {
	Url string `json:"url,omitempty"`
}

type InactivityPolicyRuleCondition

type InactivityPolicyRuleCondition struct {
	Number    int64  `json:"-"`
	NumberPtr *int64 `json:"number,omitempty"`
	Unit      string `json:"unit,omitempty"`
}

func NewInactivityPolicyRuleCondition

func NewInactivityPolicyRuleCondition() *InactivityPolicyRuleCondition

func (*InactivityPolicyRuleCondition) IsPolicyInstance

func (a *InactivityPolicyRuleCondition) IsPolicyInstance() bool

func (*InactivityPolicyRuleCondition) MarshalJSON

func (a *InactivityPolicyRuleCondition) MarshalJSON() ([]byte, error)

func (*InactivityPolicyRuleCondition) UnmarshalJSON

func (a *InactivityPolicyRuleCondition) UnmarshalJSON(data []byte) error

type InlineHook

type InlineHook struct {
	Links       interface{}        `json:"_links,omitempty"`
	Channel     *InlineHookChannel `json:"channel,omitempty"`
	Created     *time.Time         `json:"created,omitempty"`
	Id          string             `json:"id,omitempty"`
	LastUpdated *time.Time         `json:"lastUpdated,omitempty"`
	Name        string             `json:"name,omitempty"`
	Status      string             `json:"status,omitempty"`
	Type        string             `json:"type,omitempty"`
	Version     string             `json:"version,omitempty"`
}

type InlineHookChannel

type InlineHookChannel struct {
	Config  *InlineHookChannelConfig `json:"config,omitempty"`
	Type    string                   `json:"type,omitempty"`
	Version string                   `json:"version,omitempty"`
}

type InlineHookChannelConfig

type InlineHookChannelConfig struct {
	AuthScheme *InlineHookChannelConfigAuthScheme `json:"authScheme,omitempty"`
	Headers    []*InlineHookChannelConfigHeaders  `json:"headers,omitempty"`
	Method     string                             `json:"method,omitempty"`
	Uri        string                             `json:"uri,omitempty"`
}

type InlineHookChannelConfigAuthScheme

type InlineHookChannelConfigAuthScheme struct {
	Key   string `json:"key,omitempty"`
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type InlineHookChannelConfigHeaders

type InlineHookChannelConfigHeaders struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

type InlineHookPayload

type InlineHookPayload struct{}

type InlineHookResource

type InlineHookResource resource

func (*InlineHookResource) ActivateInlineHook

func (m *InlineHookResource) ActivateInlineHook(ctx context.Context, inlineHookId string) (*InlineHook, *Response, error)

Activates the Inline Hook matching the provided id

func (*InlineHookResource) CreateInlineHook

func (m *InlineHookResource) CreateInlineHook(ctx context.Context, body InlineHook) (*InlineHook, *Response, error)

func (*InlineHookResource) DeactivateInlineHook

func (m *InlineHookResource) DeactivateInlineHook(ctx context.Context, inlineHookId string) (*InlineHook, *Response, error)

Deactivates the Inline Hook matching the provided id

func (*InlineHookResource) DeleteInlineHook

func (m *InlineHookResource) DeleteInlineHook(ctx context.Context, inlineHookId string) (*Response, error)

Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.

func (*InlineHookResource) ExecuteInlineHook

func (m *InlineHookResource) ExecuteInlineHook(ctx context.Context, inlineHookId string, body InlineHookPayload) (*InlineHookResponse, *Response, error)

Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.

func (*InlineHookResource) GetInlineHook

func (m *InlineHookResource) GetInlineHook(ctx context.Context, inlineHookId string) (*InlineHook, *Response, error)

Gets an inline hook by ID

func (*InlineHookResource) ListInlineHooks

func (m *InlineHookResource) ListInlineHooks(ctx context.Context, qp *query.Params) ([]*InlineHook, *Response, error)

func (*InlineHookResource) UpdateInlineHook

func (m *InlineHookResource) UpdateInlineHook(ctx context.Context, inlineHookId string, body InlineHook) (*InlineHook, *Response, error)

Updates an inline hook by ID

type InlineHookResponse

type InlineHookResponse struct {
	Commands []*InlineHookResponseCommands `json:"commands,omitempty"`
}

type InlineHookResponseCommandValue

type InlineHookResponseCommandValue struct {
	Op    string `json:"op,omitempty"`
	Path  string `json:"path,omitempty"`
	Value string `json:"value,omitempty"`
}

type InlineHookResponseCommands

type InlineHookResponseCommands struct {
	Type  string                            `json:"type,omitempty"`
	Value []*InlineHookResponseCommandValue `json:"value,omitempty"`
}

type JWTAuth

type JWTAuth struct {
	// contains filtered or unexported fields
}

func NewJWTAuth

func NewJWTAuth(config JWTAuthConfig) *JWTAuth

func (*JWTAuth) Authorize

func (a *JWTAuth) Authorize(method, URL string) error

type JWTAuthConfig

type JWTAuthConfig struct {
	TokenCache      *goCache.Cache
	HttpClient      *http.Client
	OrgURL          string
	Scopes          []string
	ClientAssertion string
	MaxRetries      int32
	MaxBackoff      int64
	Req             *http.Request
}

type JsonWebKey

type JsonWebKey struct {
	Links       interface{} `json:"_links,omitempty"`
	Alg         string      `json:"alg,omitempty"`
	Created     *time.Time  `json:"created,omitempty"`
	E           string      `json:"e,omitempty"`
	ExpiresAt   *time.Time  `json:"expiresAt,omitempty"`
	KeyOps      []string    `json:"key_ops,omitempty"`
	Kid         string      `json:"kid,omitempty"`
	Kty         string      `json:"kty,omitempty"`
	LastUpdated *time.Time  `json:"lastUpdated,omitempty"`
	N           string      `json:"n,omitempty"`
	Status      string      `json:"status,omitempty"`
	Use         string      `json:"use,omitempty"`
	X           string      `json:"x,omitempty"` // NOTE: EC X parameter is undocumented in docs and oas3 but still valid in the API
	X5c         []string    `json:"x5c,omitempty"`
	X5t         string      `json:"x5t,omitempty"`
	X5tS256     string      `json:"x5t#S256,omitempty"`
	X5u         string      `json:"x5u,omitempty"`
	Y           string      `json:"y,omitempty"` // NOTE: EC Y parameter is undocumented in docs and oas3 but still valid in the API
}

type JwkUse

type JwkUse struct {
	Use string `json:"use,omitempty"`
}

type KnowledgeConstraint

type KnowledgeConstraint struct {
	AuthenticationMethods         []AuthenticationMethodObject `json:"authenticationMethods,omitempty"`
	ExcludedAuthenticationMethods []AuthenticationMethodObject `json:"excludedAuthenticationMethods,omitempty"`
	Methods                       []string                     `json:"methods,omitempty"`
	ReauthenticateIn              string                       `json:"reauthenticateIn,omitempty"`
	Types                         []string                     `json:"types,omitempty"`
	Required                      bool                         `json:"required"`
}

func NewKnowledgeConstraint

func NewKnowledgeConstraint() *KnowledgeConstraint

func (*KnowledgeConstraint) IsPolicyInstance

func (a *KnowledgeConstraint) IsPolicyInstance() bool

type LifecycleCreateSettingObject

type LifecycleCreateSettingObject struct {
	Status string `json:"status,omitempty"`
}

func NewLifecycleCreateSettingObject

func NewLifecycleCreateSettingObject() *LifecycleCreateSettingObject

func (*LifecycleCreateSettingObject) IsApplicationInstance

func (a *LifecycleCreateSettingObject) IsApplicationInstance() bool

type LifecycleDeactivateSettingObject

type LifecycleDeactivateSettingObject struct {
	Status string `json:"status,omitempty"`
}

func NewLifecycleDeactivateSettingObject

func NewLifecycleDeactivateSettingObject() *LifecycleDeactivateSettingObject

func (*LifecycleDeactivateSettingObject) IsApplicationInstance

func (a *LifecycleDeactivateSettingObject) IsApplicationInstance() bool

type LifecycleExpirationPolicyRuleCondition

type LifecycleExpirationPolicyRuleCondition struct {
	LifecycleStatus string `json:"lifecycleStatus,omitempty"`
	Number          int64  `json:"-"`
	NumberPtr       *int64 `json:"number,omitempty"`
	Unit            string `json:"unit,omitempty"`
}

func NewLifecycleExpirationPolicyRuleCondition

func NewLifecycleExpirationPolicyRuleCondition() *LifecycleExpirationPolicyRuleCondition

func (*LifecycleExpirationPolicyRuleCondition) IsPolicyInstance

func (a *LifecycleExpirationPolicyRuleCondition) IsPolicyInstance() bool

func (*LifecycleExpirationPolicyRuleCondition) MarshalJSON

func (a *LifecycleExpirationPolicyRuleCondition) MarshalJSON() ([]byte, error)

func (*LifecycleExpirationPolicyRuleCondition) UnmarshalJSON

func (a *LifecycleExpirationPolicyRuleCondition) UnmarshalJSON(data []byte) error

type LinkedObject

type LinkedObject struct {
	Links      interface{}          `json:"_links,omitempty"`
	Associated *LinkedObjectDetails `json:"associated,omitempty"`
	Primary    *LinkedObjectDetails `json:"primary,omitempty"`
}

type LinkedObjectDetails

type LinkedObjectDetails struct {
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
	Title       string `json:"title,omitempty"`
	Type        string `json:"type,omitempty"`
}

type LinkedObjectResource

type LinkedObjectResource resource

func (*LinkedObjectResource) AddLinkedObjectDefinition

func (m *LinkedObjectResource) AddLinkedObjectDefinition(ctx context.Context, body LinkedObject) (*LinkedObject, *Response, error)

func (*LinkedObjectResource) DeleteLinkedObjectDefinition

func (m *LinkedObjectResource) DeleteLinkedObjectDefinition(ctx context.Context, linkedObjectName string) (*Response, error)

func (*LinkedObjectResource) GetLinkedObjectDefinition

func (m *LinkedObjectResource) GetLinkedObjectDefinition(ctx context.Context, linkedObjectName string) (*LinkedObject, *Response, error)

func (*LinkedObjectResource) ListLinkedObjectDefinitions

func (m *LinkedObjectResource) ListLinkedObjectDefinitions(ctx context.Context) ([]*LinkedObject, *Response, error)

type ListCustomRoleBindingMembersResponse

type ListCustomRoleBindingMembersResponse struct {
	Members []*CustomRoleBindingMember `json:"members,omitempty"`
	Links   interface{}                `json:"_links,omitempty"`
}

type ListCustomRolesResponse

type ListCustomRolesResponse struct {
	Roles []*CustomRole `json:"roles,omitempty"`
}

type ListPermissionsResponse

type ListPermissionsResponse struct {
	Permissions []*Permission `json:"permissions,omitempty"`
}

type ListResourceSetResourcesResponse

type ListResourceSetResourcesResponse struct {
	Resources []*ResourceSetResource `json:"resources"`
	Links     interface{}            `json:"_links"`
}

type ListResourceSetsResponse

type ListResourceSetsResponse struct {
	ResourceSets []*ResourceSet `json:"resource-sets,omitempty"`
}

type LogActor

type LogActor struct {
	AlternateId string      `json:"alternateId,omitempty"`
	Detail      interface{} `json:"detail,omitempty"`
	DisplayName string      `json:"displayName,omitempty"`
	Id          string      `json:"id,omitempty"`
	Type        string      `json:"type,omitempty"`
}

type LogAuthenticationContext

type LogAuthenticationContext struct {
	AuthenticationProvider string     `json:"authenticationProvider,omitempty"`
	AuthenticationStep     int64      `json:"-"`
	AuthenticationStepPtr  *int64     `json:"authenticationStep,omitempty"`
	CredentialProvider     string     `json:"credentialProvider,omitempty"`
	CredentialType         string     `json:"credentialType,omitempty"`
	ExternalSessionId      string     `json:"externalSessionId,omitempty"`
	Interface              string     `json:"interface,omitempty"`
	Issuer                 *LogIssuer `json:"issuer,omitempty"`
}

func (*LogAuthenticationContext) MarshalJSON

func (a *LogAuthenticationContext) MarshalJSON() ([]byte, error)

func (*LogAuthenticationContext) UnmarshalJSON

func (a *LogAuthenticationContext) UnmarshalJSON(data []byte) error

type LogClient

type LogClient struct {
	Device              string                  `json:"device,omitempty"`
	GeographicalContext *LogGeographicalContext `json:"geographicalContext,omitempty"`
	Id                  string                  `json:"id,omitempty"`
	IpAddress           string                  `json:"ipAddress,omitempty"`
	UserAgent           *LogUserAgent           `json:"userAgent,omitempty"`
	Zone                string                  `json:"zone,omitempty"`
}

type LogDebugContext

type LogDebugContext struct {
	DebugData interface{} `json:"debugData,omitempty"`
}

type LogEvent

type LogEvent struct {
	Actor                 *LogActor                 `json:"actor,omitempty"`
	AuthenticationContext *LogAuthenticationContext `json:"authenticationContext,omitempty"`
	Client                *LogClient                `json:"client,omitempty"`
	DebugContext          *LogDebugContext          `json:"debugContext,omitempty"`
	DisplayMessage        string                    `json:"displayMessage,omitempty"`
	EventType             string                    `json:"eventType,omitempty"`
	LegacyEventType       string                    `json:"legacyEventType,omitempty"`
	Outcome               *LogOutcome               `json:"outcome,omitempty"`
	Published             *time.Time                `json:"published,omitempty"`
	Request               *LogRequest               `json:"request,omitempty"`
	SecurityContext       *LogSecurityContext       `json:"securityContext,omitempty"`
	Severity              string                    `json:"severity,omitempty"`
	Target                []*LogTarget              `json:"target,omitempty"`
	Transaction           *LogTransaction           `json:"transaction,omitempty"`
	Uuid                  string                    `json:"uuid,omitempty"`
	Version               string                    `json:"version,omitempty"`
}

type LogEventResource

type LogEventResource resource

func (*LogEventResource) GetLogs

func (m *LogEventResource) GetLogs(ctx context.Context, qp *query.Params) ([]*LogEvent, *Response, error)

The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API

type LogGeographicalContext

type LogGeographicalContext struct {
	City        string          `json:"city,omitempty"`
	Country     string          `json:"country,omitempty"`
	Geolocation *LogGeolocation `json:"geolocation,omitempty"`
	PostalCode  string          `json:"postalCode,omitempty"`
	State       string          `json:"state,omitempty"`
}

type LogGeolocation

type LogGeolocation struct {
	Lat float64 `json:"lat,omitempty"`
	Lon float64 `json:"lon,omitempty"`
}

type LogIpAddress

type LogIpAddress struct {
	GeographicalContext *LogGeographicalContext `json:"geographicalContext,omitempty"`
	Ip                  string                  `json:"ip,omitempty"`
	Source              string                  `json:"source,omitempty"`
	Version             string                  `json:"version,omitempty"`
}

type LogIssuer

type LogIssuer struct {
	Id   string `json:"id,omitempty"`
	Type string `json:"type,omitempty"`
}

type LogOutcome

type LogOutcome struct {
	Reason string `json:"reason,omitempty"`
	Result string `json:"result,omitempty"`
}

type LogRequest

type LogRequest struct {
	IpChain []*LogIpAddress `json:"ipChain,omitempty"`
}

type LogSecurityContext

type LogSecurityContext struct {
	AsNumber    int64  `json:"-"`
	AsNumberPtr *int64 `json:"asNumber,omitempty"`
	AsOrg       string `json:"asOrg,omitempty"`
	Domain      string `json:"domain,omitempty"`
	IsProxy     *bool  `json:"isProxy,omitempty"`
	Isp         string `json:"isp,omitempty"`
}

func (*LogSecurityContext) MarshalJSON

func (a *LogSecurityContext) MarshalJSON() ([]byte, error)

func (*LogSecurityContext) UnmarshalJSON

func (a *LogSecurityContext) UnmarshalJSON(data []byte) error

type LogTarget

type LogTarget struct {
	AlternateId string      `json:"alternateId,omitempty"`
	DetailEntry interface{} `json:"detailEntry,omitempty"`
	DisplayName string      `json:"displayName,omitempty"`
	Id          string      `json:"id,omitempty"`
	Type        string      `json:"type,omitempty"`
}

type LogTransaction

type LogTransaction struct {
	Detail interface{} `json:"detail,omitempty"`
	Id     string      `json:"id,omitempty"`
	Type   string      `json:"type,omitempty"`
}

type LogUserAgent

type LogUserAgent struct {
	Browser      string `json:"browser,omitempty"`
	Os           string `json:"os,omitempty"`
	RawUserAgent string `json:"rawUserAgent,omitempty"`
}

type MDMEnrollmentPolicyRuleCondition

type MDMEnrollmentPolicyRuleCondition struct {
	BlockNonSafeAndroid *bool  `json:"blockNonSafeAndroid,omitempty"`
	Enrollment          string `json:"enrollment,omitempty"`
}

func NewMDMEnrollmentPolicyRuleCondition

func NewMDMEnrollmentPolicyRuleCondition() *MDMEnrollmentPolicyRuleCondition

func (*MDMEnrollmentPolicyRuleCondition) IsPolicyInstance

func (a *MDMEnrollmentPolicyRuleCondition) IsPolicyInstance() bool

type NetworkZone

type NetworkZone struct {
	Links       interface{}            `json:"_links,omitempty"`
	Asns        []string               `json:"asns,omitempty"`
	Created     *time.Time             `json:"created,omitempty"`
	Gateways    []*NetworkZoneAddress  `json:"gateways,omitempty"`
	Id          string                 `json:"id,omitempty"`
	LastUpdated *time.Time             `json:"lastUpdated,omitempty"`
	Locations   []*NetworkZoneLocation `json:"locations,omitempty"`
	Name        string                 `json:"name,omitempty"`
	Proxies     []*NetworkZoneAddress  `json:"proxies,omitempty"`
	ProxyType   string                 `json:"proxyType,omitempty"`
	Status      string                 `json:"status,omitempty"`
	System      *bool                  `json:"system,omitempty"`
	Type        string                 `json:"type,omitempty"`
	Usage       string                 `json:"usage,omitempty"`
}

type NetworkZoneAddress

type NetworkZoneAddress struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type NetworkZoneLocation

type NetworkZoneLocation struct {
	Country string `json:"country,omitempty"`
	Region  string `json:"region,omitempty"`
}

type NetworkZoneResource

type NetworkZoneResource resource

func (*NetworkZoneResource) ActivateNetworkZone

func (m *NetworkZoneResource) ActivateNetworkZone(ctx context.Context, zoneId string) (*NetworkZone, *Response, error)

Activate Network Zone

func (*NetworkZoneResource) CreateNetworkZone

func (m *NetworkZoneResource) CreateNetworkZone(ctx context.Context, body NetworkZone) (*NetworkZone, *Response, error)

Adds a new network zone to your Okta organization.

func (*NetworkZoneResource) DeactivateNetworkZone

func (m *NetworkZoneResource) DeactivateNetworkZone(ctx context.Context, zoneId string) (*NetworkZone, *Response, error)

Deactivates a network zone.

func (*NetworkZoneResource) DeleteNetworkZone

func (m *NetworkZoneResource) DeleteNetworkZone(ctx context.Context, zoneId string) (*Response, error)

Removes network zone.

func (*NetworkZoneResource) GetNetworkZone

func (m *NetworkZoneResource) GetNetworkZone(ctx context.Context, zoneId string) (*NetworkZone, *Response, error)

Fetches a network zone from your Okta organization by `id`.

func (*NetworkZoneResource) ListNetworkZones

func (m *NetworkZoneResource) ListNetworkZones(ctx context.Context, qp *query.Params) ([]*NetworkZone, *Response, error)

Enumerates network zones added to your organization with pagination. A subset of zones can be returned that match a supported filter expression or query.

func (*NetworkZoneResource) UpdateNetworkZone

func (m *NetworkZoneResource) UpdateNetworkZone(ctx context.Context, zoneId string, body NetworkZone) (*NetworkZone, *Response, error)

Updates a network zone in your organization.

type OAuth2Actor

type OAuth2Actor struct {
	Id   string `json:"id,omitempty"`
	Type string `json:"type,omitempty"`
}

type OAuth2Claim

type OAuth2Claim struct {
	Links                interface{}            `json:"_links,omitempty"`
	AlwaysIncludeInToken *bool                  `json:"alwaysIncludeInToken,omitempty"`
	ClaimType            string                 `json:"claimType,omitempty"`
	Conditions           *OAuth2ClaimConditions `json:"conditions,omitempty"`
	GroupFilterType      string                 `json:"group_filter_type,omitempty"`
	Id                   string                 `json:"id,omitempty"`
	Name                 string                 `json:"name,omitempty"`
	Status               string                 `json:"status,omitempty"`
	System               *bool                  `json:"system,omitempty"`
	Value                string                 `json:"value,omitempty"`
	ValueType            string                 `json:"valueType,omitempty"`
}

type OAuth2ClaimConditions

type OAuth2ClaimConditions struct {
	Scopes []string `json:"scopes,omitempty"`
}

type OAuth2Client

type OAuth2Client struct {
	Links      interface{} `json:"_links,omitempty"`
	ClientId   string      `json:"client_id,omitempty"`
	ClientName string      `json:"client_name,omitempty"`
	ClientUri  string      `json:"client_uri,omitempty"`
	LogoUri    string      `json:"logo_uri,omitempty"`
}

type OAuth2RefreshToken

type OAuth2RefreshToken struct {
	Embedded    interface{}  `json:"_embedded,omitempty"`
	Links       interface{}  `json:"_links,omitempty"`
	ClientId    string       `json:"clientId,omitempty"`
	Created     *time.Time   `json:"created,omitempty"`
	CreatedBy   *OAuth2Actor `json:"createdBy,omitempty"`
	ExpiresAt   *time.Time   `json:"expiresAt,omitempty"`
	Id          string       `json:"id,omitempty"`
	Issuer      string       `json:"issuer,omitempty"`
	LastUpdated *time.Time   `json:"lastUpdated,omitempty"`
	Scopes      []string     `json:"scopes,omitempty"`
	Status      string       `json:"status,omitempty"`
	UserId      string       `json:"userId,omitempty"`
}

type OAuth2Scope

type OAuth2Scope struct {
	Consent         string `json:"consent,omitempty"`
	Default         *bool  `json:"default,omitempty"`
	Description     string `json:"description,omitempty"`
	DisplayName     string `json:"displayName,omitempty"`
	Id              string `json:"id,omitempty"`
	MetadataPublish string `json:"metadataPublish,omitempty"`
	Name            string `json:"name,omitempty"`
	System          *bool  `json:"system,omitempty"`
}

type OAuth2ScopeConsentGrant

type OAuth2ScopeConsentGrant struct {
	Embedded    interface{}  `json:"_embedded,omitempty"`
	Links       interface{}  `json:"_links,omitempty"`
	ClientId    string       `json:"clientId,omitempty"`
	Created     *time.Time   `json:"created,omitempty"`
	CreatedBy   *OAuth2Actor `json:"createdBy,omitempty"`
	Id          string       `json:"id,omitempty"`
	Issuer      string       `json:"issuer,omitempty"`
	LastUpdated *time.Time   `json:"lastUpdated,omitempty"`
	ScopeId     string       `json:"scopeId,omitempty"`
	Source      string       `json:"source,omitempty"`
	Status      string       `json:"status,omitempty"`
	UserId      string       `json:"userId,omitempty"`
}

type OAuth2ScopesMediationPolicyRuleCondition

type OAuth2ScopesMediationPolicyRuleCondition struct {
	Include []string `json:"include,omitempty"`
}

type OAuth2Token

type OAuth2Token struct {
	Embedded    interface{} `json:"_embedded,omitempty"`
	Links       interface{} `json:"_links,omitempty"`
	ClientId    string      `json:"clientId,omitempty"`
	Created     *time.Time  `json:"created,omitempty"`
	ExpiresAt   *time.Time  `json:"expiresAt,omitempty"`
	Id          string      `json:"id,omitempty"`
	Issuer      string      `json:"issuer,omitempty"`
	LastUpdated *time.Time  `json:"lastUpdated,omitempty"`
	Scopes      []string    `json:"scopes,omitempty"`
	Status      string      `json:"status,omitempty"`
	UserId      string      `json:"userId,omitempty"`
}

type OAuthApplicationCredentials

type OAuthApplicationCredentials struct {
	Signing          *ApplicationCredentialsSigning          `json:"signing,omitempty"`
	UserNameTemplate *ApplicationCredentialsUsernameTemplate `json:"userNameTemplate,omitempty"`
	OauthClient      *ApplicationCredentialsOAuthClient      `json:"oauthClient,omitempty"`
}

type OAuthGrantType

type OAuthGrantType string

type OAuthResponseType

type OAuthResponseType string

type OTP

type OTP struct {
	Settings *AuthenticatorSettingsOTP `json:"settings"`
}

type OktaSignOnPolicyRuleSignonActions

type OktaSignOnPolicyRuleSignonActions struct {
	Access                  string                                    `json:"access,omitempty"`
	FactorLifetime          int64                                     `json:"-"`
	FactorLifetimePtr       *int64                                    `json:"factorLifetime,omitempty"`
	FactorPromptMode        string                                    `json:"factorPromptMode,omitempty"`
	RememberDeviceByDefault *bool                                     `json:"rememberDeviceByDefault,omitempty"`
	RequireFactor           *bool                                     `json:"requireFactor,omitempty"`
	Session                 *OktaSignOnPolicyRuleSignonSessionActions `json:"session,omitempty"`
}

type OktaSignOnPolicyRuleSignonSessionActions

type OktaSignOnPolicyRuleSignonSessionActions struct {
	MaxSessionIdleMinutes        int64  `json:"-"`
	MaxSessionIdleMinutesPtr     *int64 `json:"maxSessionIdleMinutes"`
	MaxSessionLifetimeMinutes    int64  `json:"-"`
	MaxSessionLifetimeMinutesPtr *int64 `json:"maxSessionLifetimeMinutes"`
	UsePersistentCookie          *bool  `json:"usePersistentCookie,omitempty"`
}

func NewOktaSignOnPolicyRuleSignonSessionActions

func NewOktaSignOnPolicyRuleSignonSessionActions() *OktaSignOnPolicyRuleSignonSessionActions

func (*OktaSignOnPolicyRuleSignonSessionActions) IsPolicyInstance

func (a *OktaSignOnPolicyRuleSignonSessionActions) IsPolicyInstance() bool

func (*OktaSignOnPolicyRuleSignonSessionActions) MarshalJSON

func (a *OktaSignOnPolicyRuleSignonSessionActions) MarshalJSON() ([]byte, error)

func (*OktaSignOnPolicyRuleSignonSessionActions) UnmarshalJSON

func (a *OktaSignOnPolicyRuleSignonSessionActions) UnmarshalJSON(data []byte) error

type OpenIdConnectApplication

type OpenIdConnectApplication struct {
	Embedded      interface{}                       `json:"_embedded,omitempty"`
	Links         interface{}                       `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility         `json:"accessibility,omitempty"`
	Created       *time.Time                        `json:"created,omitempty"`
	Credentials   *OAuthApplicationCredentials      `json:"credentials,omitempty"`
	Features      []string                          `json:"features,omitempty"`
	Id            string                            `json:"id,omitempty"`
	Label         string                            `json:"label,omitempty"`
	LastUpdated   *time.Time                        `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing             `json:"licensing,omitempty"`
	Name          string                            `json:"name,omitempty"`
	Profile       interface{}                       `json:"profile,omitempty"`
	Settings      *OpenIdConnectApplicationSettings `json:"settings,omitempty"`
	SignOnMode    string                            `json:"signOnMode,omitempty"`
	Status        string                            `json:"status,omitempty"`
	Visibility    *ApplicationVisibility            `json:"visibility,omitempty"`
}

func NewOpenIdConnectApplication

func NewOpenIdConnectApplication() *OpenIdConnectApplication

func (*OpenIdConnectApplication) IsApplicationInstance

func (a *OpenIdConnectApplication) IsApplicationInstance() bool

type OpenIdConnectApplicationIdpInitiatedLogin

type OpenIdConnectApplicationIdpInitiatedLogin struct {
	DefaultScope []string `json:"default_scope"`
	Mode         string   `json:"mode,omitempty"`
}

type OpenIdConnectApplicationSettings

type OpenIdConnectApplicationSettings struct {
	App                *ApplicationSettingsApplication         `json:"app,omitempty"`
	ImplicitAssignment *bool                                   `json:"implicitAssignment,omitempty"`
	InlineHookId       string                                  `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes               `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications       `json:"notifications,omitempty"`
	OauthClient        *OpenIdConnectApplicationSettingsClient `json:"oauthClient,omitempty"`
}

type OpenIdConnectApplicationSettingsClient

type OpenIdConnectApplicationSettingsClient struct {
	ApplicationType        string                                        `json:"application_type,omitempty"`
	ClientUri              string                                        `json:"client_uri,omitempty"`
	ConsentMethod          string                                        `json:"consent_method,omitempty"`
	GrantTypes             []*OAuthGrantType                             `json:"grant_types,omitempty"`
	IdpInitiatedLogin      *OpenIdConnectApplicationIdpInitiatedLogin    `json:"idp_initiated_login,omitempty"`
	InitiateLoginUri       string                                        `json:"initiate_login_uri,omitempty"`
	IssuerMode             string                                        `json:"issuer_mode,omitempty"`
	Jwks                   *OpenIdConnectApplicationSettingsClientKeys   `json:"jwks,omitempty"`
	LogoUri                string                                        `json:"logo_uri,omitempty"`
	PolicyUri              string                                        `json:"policy_uri,omitempty"`
	PostLogoutRedirectUris []string                                      `json:"post_logout_redirect_uris,omitempty"`
	RedirectUris           []string                                      `json:"redirect_uris,omitempty"`
	RefreshToken           *OpenIdConnectApplicationSettingsRefreshToken `json:"refresh_token,omitempty"`
	ResponseTypes          []*OAuthResponseType                          `json:"response_types,omitempty"`
	TosUri                 string                                        `json:"tos_uri,omitempty"`
	WildcardRedirect       string                                        `json:"wildcard_redirect,omitempty"`
	JwksUri                string                                        `json:"jwks_uri,omitempty"`
}

type OpenIdConnectApplicationSettingsClientKeys

type OpenIdConnectApplicationSettingsClientKeys struct {
	Keys []*JsonWebKey `json:"keys,omitempty"`
}

type OpenIdConnectApplicationSettingsRefreshToken

type OpenIdConnectApplicationSettingsRefreshToken struct {
	Leeway       int64  `json:"-"`
	LeewayPtr    *int64 `json:"leeway"`
	RotationType string `json:"rotation_type,omitempty"`
}

func (*OpenIdConnectApplicationSettingsRefreshToken) MarshalJSON

func (*OpenIdConnectApplicationSettingsRefreshToken) UnmarshalJSON

func (a *OpenIdConnectApplicationSettingsRefreshToken) UnmarshalJSON(data []byte) error

type OrgContactTypeObj

type OrgContactTypeObj struct {
	Links       interface{} `json:"_links,omitempty"`
	ContactType string      `json:"contactType,omitempty"`
}

type OrgContactUser

type OrgContactUser struct {
	Links  interface{} `json:"_links,omitempty"`
	UserId string      `json:"userId,omitempty"`
}

type OrgContactUserResource

type OrgContactUserResource resource

type OrgFactor

type OrgFactor struct {
	Id         string `json:"id"`
	Provider   string `json:"provider"`
	FactorType string `json:"factorType"`
	Status     string `json:"status"`
}

type OrgOktaCommunicationSetting

type OrgOktaCommunicationSetting struct {
	Links            interface{} `json:"_links,omitempty"`
	OptOutEmailUsers *bool       `json:"optOutEmailUsers,omitempty"`
}

type OrgOktaCommunicationSettingResource

type OrgOktaCommunicationSettingResource resource

type OrgOktaSupportSettingsObj

type OrgOktaSupportSettingsObj struct {
	Links      interface{} `json:"_links,omitempty"`
	Expiration *time.Time  `json:"expiration,omitempty"`
	Support    string      `json:"support,omitempty"`
}

type OrgOktaSupportSettingsObjResource

type OrgOktaSupportSettingsObjResource resource

type OrgPreferences

type OrgPreferences struct {
	Links             interface{} `json:"_links,omitempty"`
	ShowEndUserFooter *bool       `json:"showEndUserFooter,omitempty"`
}

type OrgPreferencesResource

type OrgPreferencesResource resource

type OrgSetting

type OrgSetting struct {
	Links                 interface{} `json:"_links,omitempty"`
	Address1              string      `json:"address1,omitempty"`
	Address2              string      `json:"address2,omitempty"`
	City                  string      `json:"city,omitempty"`
	CompanyName           string      `json:"companyName,omitempty"`
	Country               string      `json:"country,omitempty"`
	Created               *time.Time  `json:"created,omitempty"`
	EndUserSupportHelpURL string      `json:"endUserSupportHelpURL,omitempty"`
	ExpiresAt             *time.Time  `json:"expiresAt,omitempty"`
	Id                    string      `json:"id,omitempty"`
	LastUpdated           *time.Time  `json:"lastUpdated,omitempty"`
	PhoneNumber           string      `json:"phoneNumber,omitempty"`
	PostalCode            string      `json:"postalCode,omitempty"`
	State                 string      `json:"state,omitempty"`
	Status                string      `json:"status,omitempty"`
	Subdomain             string      `json:"subdomain,omitempty"`
	SupportPhoneNumber    string      `json:"supportPhoneNumber,omitempty"`
	Website               string      `json:"website,omitempty"`
}

type OrgSettingResource

type OrgSettingResource resource

func (*OrgSettingResource) ExtendOktaSupport

Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.

func (*OrgSettingResource) GetOktaCommunicationSettings

func (m *OrgSettingResource) GetOktaCommunicationSettings(ctx context.Context) (*OrgOktaCommunicationSetting, *Response, error)

Gets Okta Communication Settings of your organization.

func (*OrgSettingResource) GetOrgContactTypes

func (m *OrgSettingResource) GetOrgContactTypes(ctx context.Context) ([]*OrgContactTypeObj, *Response, error)

Gets Contact Types of your organization.

func (*OrgSettingResource) GetOrgContactUser

func (m *OrgSettingResource) GetOrgContactUser(ctx context.Context, contactType string) (*OrgContactUser, *Response, error)

Retrieves the URL of the User associated with the specified Contact Type.

func (*OrgSettingResource) GetOrgOktaSupportSettings

func (m *OrgSettingResource) GetOrgOktaSupportSettings(ctx context.Context) (*OrgOktaSupportSettingsObj, *Response, error)

Gets Okta Support Settings of your organization.

func (*OrgSettingResource) GetOrgPreferences

func (m *OrgSettingResource) GetOrgPreferences(ctx context.Context) (*OrgPreferences, *Response, error)

Gets preferences of your organization.

func (*OrgSettingResource) GetOrgSettings

func (m *OrgSettingResource) GetOrgSettings(ctx context.Context) (*OrgSetting, *Response, error)

Get settings of your organization.

func (*OrgSettingResource) GrantOktaSupport

Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.

func (*OrgSettingResource) HideOktaUIFooter

func (m *OrgSettingResource) HideOktaUIFooter(ctx context.Context) (*OrgPreferences, *Response, error)

Hide the Okta UI footer for all end users of your organization.

func (*OrgSettingResource) OptInUsersToOktaCommunicationEmails

func (m *OrgSettingResource) OptInUsersToOktaCommunicationEmails(ctx context.Context) (*OrgOktaCommunicationSetting, *Response, error)

Opts in all users of this org to Okta Communication emails.

func (*OrgSettingResource) OptOutUsersFromOktaCommunicationEmails

func (m *OrgSettingResource) OptOutUsersFromOktaCommunicationEmails(ctx context.Context) (*OrgOktaCommunicationSetting, *Response, error)

Opts out all users of this org from Okta Communication emails.

func (*OrgSettingResource) PartialUpdateOrgSetting

func (m *OrgSettingResource) PartialUpdateOrgSetting(ctx context.Context, body OrgSetting) (*OrgSetting, *Response, error)

Partial update settings of your organization.

func (*OrgSettingResource) RevokeOktaSupport

Revokes Okta Support access to your organization.

func (*OrgSettingResource) ShowOktaUIFooter

func (m *OrgSettingResource) ShowOktaUIFooter(ctx context.Context) (*OrgPreferences, *Response, error)

Makes the Okta UI footer visible for all end users of your organization.

func (*OrgSettingResource) UpdateOrgContactUser

func (m *OrgSettingResource) UpdateOrgContactUser(ctx context.Context, contactType string, body UserIdString) (*OrgContactUser, *Response, error)

Updates the User associated with the specified Contact Type.

func (m *OrgSettingResource) UpdateOrgLogo(ctx context.Context, file string) (*Response, error)

Updates the logo for your organization.

func (*OrgSettingResource) UpdateOrgSetting

func (m *OrgSettingResource) UpdateOrgSetting(ctx context.Context, body OrgSetting) (*OrgSetting, *Response, error)

Update settings of your organization.

type OrgWideCaptchaSettings

type OrgWideCaptchaSettings struct {
	CaptchaId    *string     `json:"captchaId"`
	EnabledPages []string    `json:"enabledPages"`
	Links        interface{} `json:"_links,omitempty"`
}

type PasswordCredential

type PasswordCredential struct {
	Hash  *PasswordCredentialHash `json:"hash,omitempty"`
	Hook  *PasswordCredentialHook `json:"hook,omitempty"`
	Value string                  `json:"value,omitempty"`
}

type PasswordCredentialHash

type PasswordCredentialHash struct {
	Algorithm     string `json:"algorithm,omitempty"`
	Salt          string `json:"salt,omitempty"`
	SaltOrder     string `json:"saltOrder,omitempty"`
	Value         string `json:"value,omitempty"`
	WorkFactor    int64  `json:"-"`
	WorkFactorPtr *int64 `json:"workFactor,omitempty"`
}

func (*PasswordCredentialHash) MarshalJSON

func (a *PasswordCredentialHash) MarshalJSON() ([]byte, error)

func (*PasswordCredentialHash) UnmarshalJSON

func (a *PasswordCredentialHash) UnmarshalJSON(data []byte) error

type PasswordCredentialHook

type PasswordCredentialHook struct {
	Type string `json:"type,omitempty"`
}

type PasswordDictionary

type PasswordDictionary struct {
	Common *PasswordDictionaryCommon `json:"common,omitempty"`
}

func NewPasswordDictionary

func NewPasswordDictionary() *PasswordDictionary

func (*PasswordDictionary) IsPolicyInstance

func (a *PasswordDictionary) IsPolicyInstance() bool

type PasswordDictionaryCommon

type PasswordDictionaryCommon struct {
	Exclude *bool `json:"exclude,omitempty"`
}

func NewPasswordDictionaryCommon

func NewPasswordDictionaryCommon() *PasswordDictionaryCommon

func (*PasswordDictionaryCommon) IsPolicyInstance

func (a *PasswordDictionaryCommon) IsPolicyInstance() bool

type PasswordExpirationPolicyRuleCondition

type PasswordExpirationPolicyRuleCondition struct {
	Number    int64  `json:"-"`
	NumberPtr *int64 `json:"number,omitempty"`
	Unit      string `json:"unit,omitempty"`
}

func NewPasswordExpirationPolicyRuleCondition

func NewPasswordExpirationPolicyRuleCondition() *PasswordExpirationPolicyRuleCondition

func (*PasswordExpirationPolicyRuleCondition) IsPolicyInstance

func (a *PasswordExpirationPolicyRuleCondition) IsPolicyInstance() bool

func (*PasswordExpirationPolicyRuleCondition) MarshalJSON

func (a *PasswordExpirationPolicyRuleCondition) MarshalJSON() ([]byte, error)

func (*PasswordExpirationPolicyRuleCondition) UnmarshalJSON

func (a *PasswordExpirationPolicyRuleCondition) UnmarshalJSON(data []byte) error

type PasswordPolicyAuthenticationProviderCondition

type PasswordPolicyAuthenticationProviderCondition struct {
	Include  []string `json:"include,omitempty"`
	Provider string   `json:"provider,omitempty"`
}

func NewPasswordPolicyAuthenticationProviderCondition

func NewPasswordPolicyAuthenticationProviderCondition() *PasswordPolicyAuthenticationProviderCondition

func (*PasswordPolicyAuthenticationProviderCondition) IsPolicyInstance

type PasswordPolicyDelegationSettings

type PasswordPolicyDelegationSettings struct {
	Options *PasswordPolicyDelegationSettingsOptions `json:"options,omitempty"`
}

func NewPasswordPolicyDelegationSettings

func NewPasswordPolicyDelegationSettings() *PasswordPolicyDelegationSettings

func (*PasswordPolicyDelegationSettings) IsPolicyInstance

func (a *PasswordPolicyDelegationSettings) IsPolicyInstance() bool

type PasswordPolicyDelegationSettingsOptions

type PasswordPolicyDelegationSettingsOptions struct {
	SkipUnlock *bool `json:"skipUnlock,omitempty"`
}

func NewPasswordPolicyDelegationSettingsOptions

func NewPasswordPolicyDelegationSettingsOptions() *PasswordPolicyDelegationSettingsOptions

func (*PasswordPolicyDelegationSettingsOptions) IsPolicyInstance

func (a *PasswordPolicyDelegationSettingsOptions) IsPolicyInstance() bool

type PasswordPolicyPasswordSettings

type PasswordPolicyPasswordSettings struct {
	Age        *PasswordPolicyPasswordSettingsAge        `json:"age,omitempty"`
	Complexity *PasswordPolicyPasswordSettingsComplexity `json:"complexity,omitempty"`
	Lockout    *PasswordPolicyPasswordSettingsLockout    `json:"lockout,omitempty"`
}

func NewPasswordPolicyPasswordSettings

func NewPasswordPolicyPasswordSettings() *PasswordPolicyPasswordSettings

func (*PasswordPolicyPasswordSettings) IsPolicyInstance

func (a *PasswordPolicyPasswordSettings) IsPolicyInstance() bool

type PasswordPolicyPasswordSettingsAge

type PasswordPolicyPasswordSettingsAge struct {
	ExpireWarnDays    int64  `json:"-"`
	ExpireWarnDaysPtr *int64 `json:"expireWarnDays,omitempty"`
	HistoryCount      int64  `json:"-"`
	HistoryCountPtr   *int64 `json:"historyCount,omitempty"`
	MaxAgeDays        int64  `json:"-"`
	MaxAgeDaysPtr     *int64 `json:"maxAgeDays,omitempty"`
	MinAgeMinutes     int64  `json:"-"`
	MinAgeMinutesPtr  *int64 `json:"minAgeMinutes,omitempty"`
}

func NewPasswordPolicyPasswordSettingsAge

func NewPasswordPolicyPasswordSettingsAge() *PasswordPolicyPasswordSettingsAge

func (*PasswordPolicyPasswordSettingsAge) IsPolicyInstance

func (a *PasswordPolicyPasswordSettingsAge) IsPolicyInstance() bool

func (*PasswordPolicyPasswordSettingsAge) MarshalJSON

func (a *PasswordPolicyPasswordSettingsAge) MarshalJSON() ([]byte, error)

func (*PasswordPolicyPasswordSettingsAge) UnmarshalJSON

func (a *PasswordPolicyPasswordSettingsAge) UnmarshalJSON(data []byte) error

type PasswordPolicyPasswordSettingsComplexity

type PasswordPolicyPasswordSettingsComplexity struct {
	Dictionary        *PasswordDictionary `json:"dictionary,omitempty"`
	ExcludeAttributes []string            `json:"excludeAttributes,omitempty"`
	ExcludeUsername   *bool               `json:"excludeUsername,omitempty"`
	MinLength         int64               `json:"-"`
	MinLengthPtr      *int64              `json:"minLength,omitempty"`
	MinLowerCase      int64               `json:"-"`
	MinLowerCasePtr   *int64              `json:"minLowerCase"`
	MinNumber         int64               `json:"-"`
	MinNumberPtr      *int64              `json:"minNumber"`
	MinSymbol         int64               `json:"-"`
	MinSymbolPtr      *int64              `json:"minSymbol"`
	MinUpperCase      int64               `json:"-"`
	MinUpperCasePtr   *int64              `json:"minUpperCase"`
}

func NewPasswordPolicyPasswordSettingsComplexity

func NewPasswordPolicyPasswordSettingsComplexity() *PasswordPolicyPasswordSettingsComplexity

func (*PasswordPolicyPasswordSettingsComplexity) IsPolicyInstance

func (a *PasswordPolicyPasswordSettingsComplexity) IsPolicyInstance() bool

func (*PasswordPolicyPasswordSettingsComplexity) MarshalJSON

func (a *PasswordPolicyPasswordSettingsComplexity) MarshalJSON() ([]byte, error)

func (*PasswordPolicyPasswordSettingsComplexity) UnmarshalJSON

func (a *PasswordPolicyPasswordSettingsComplexity) UnmarshalJSON(data []byte) error

type PasswordPolicyPasswordSettingsLockout

type PasswordPolicyPasswordSettingsLockout struct {
	AutoUnlockMinutes               int64    `json:"-"`
	AutoUnlockMinutesPtr            *int64   `json:"autoUnlockMinutes,omitempty"`
	MaxAttempts                     int64    `json:"-"`
	MaxAttemptsPtr                  *int64   `json:"maxAttempts,omitempty"`
	ShowLockoutFailures             *bool    `json:"showLockoutFailures,omitempty"`
	UserLockoutNotificationChannels []string `json:"userLockoutNotificationChannels,omitempty"`
}

func NewPasswordPolicyPasswordSettingsLockout

func NewPasswordPolicyPasswordSettingsLockout() *PasswordPolicyPasswordSettingsLockout

func (*PasswordPolicyPasswordSettingsLockout) IsPolicyInstance

func (a *PasswordPolicyPasswordSettingsLockout) IsPolicyInstance() bool

func (*PasswordPolicyPasswordSettingsLockout) MarshalJSON

func (a *PasswordPolicyPasswordSettingsLockout) MarshalJSON() ([]byte, error)

func (*PasswordPolicyPasswordSettingsLockout) UnmarshalJSON

func (a *PasswordPolicyPasswordSettingsLockout) UnmarshalJSON(data []byte) error

type PasswordPolicyRecoveryEmail

type PasswordPolicyRecoveryEmail struct {
	Properties *PasswordPolicyRecoveryEmailProperties `json:"properties,omitempty"`
	Status     string                                 `json:"status,omitempty"`
}

func NewPasswordPolicyRecoveryEmail

func NewPasswordPolicyRecoveryEmail() *PasswordPolicyRecoveryEmail

func (*PasswordPolicyRecoveryEmail) IsPolicyInstance

func (a *PasswordPolicyRecoveryEmail) IsPolicyInstance() bool

type PasswordPolicyRecoveryEmailProperties

type PasswordPolicyRecoveryEmailProperties struct {
	RecoveryToken *PasswordPolicyRecoveryEmailRecoveryToken `json:"recoveryToken,omitempty"`
}

func NewPasswordPolicyRecoveryEmailProperties

func NewPasswordPolicyRecoveryEmailProperties() *PasswordPolicyRecoveryEmailProperties

func (*PasswordPolicyRecoveryEmailProperties) IsPolicyInstance

func (a *PasswordPolicyRecoveryEmailProperties) IsPolicyInstance() bool

type PasswordPolicyRecoveryEmailRecoveryToken

type PasswordPolicyRecoveryEmailRecoveryToken struct {
	TokenLifetimeMinutes    int64  `json:"-"`
	TokenLifetimeMinutesPtr *int64 `json:"tokenLifetimeMinutes"`
}

func NewPasswordPolicyRecoveryEmailRecoveryToken

func NewPasswordPolicyRecoveryEmailRecoveryToken() *PasswordPolicyRecoveryEmailRecoveryToken

func (*PasswordPolicyRecoveryEmailRecoveryToken) IsPolicyInstance

func (a *PasswordPolicyRecoveryEmailRecoveryToken) IsPolicyInstance() bool

func (*PasswordPolicyRecoveryEmailRecoveryToken) MarshalJSON

func (a *PasswordPolicyRecoveryEmailRecoveryToken) MarshalJSON() ([]byte, error)

func (*PasswordPolicyRecoveryEmailRecoveryToken) UnmarshalJSON

func (a *PasswordPolicyRecoveryEmailRecoveryToken) UnmarshalJSON(data []byte) error

type PasswordPolicyRecoveryFactorSettings

type PasswordPolicyRecoveryFactorSettings struct {
	Status string `json:"status,omitempty"`
}

func NewPasswordPolicyRecoveryFactorSettings

func NewPasswordPolicyRecoveryFactorSettings() *PasswordPolicyRecoveryFactorSettings

func (*PasswordPolicyRecoveryFactorSettings) IsPolicyInstance

func (a *PasswordPolicyRecoveryFactorSettings) IsPolicyInstance() bool

type PasswordPolicyRecoveryFactors

type PasswordPolicyRecoveryFactors struct {
	OktaCall         *PasswordPolicyRecoveryFactorSettings `json:"okta_call,omitempty"`
	OktaEmail        *PasswordPolicyRecoveryEmail          `json:"okta_email,omitempty"`
	OktaSms          *PasswordPolicyRecoveryFactorSettings `json:"okta_sms,omitempty"`
	RecoveryQuestion *PasswordPolicyRecoveryQuestion       `json:"recovery_question,omitempty"`
}

func NewPasswordPolicyRecoveryFactors

func NewPasswordPolicyRecoveryFactors() *PasswordPolicyRecoveryFactors

func (*PasswordPolicyRecoveryFactors) IsPolicyInstance

func (a *PasswordPolicyRecoveryFactors) IsPolicyInstance() bool

type PasswordPolicyRecoveryQuestion

type PasswordPolicyRecoveryQuestion struct {
	Properties *PasswordPolicyRecoveryQuestionProperties `json:"properties,omitempty"`
	Status     string                                    `json:"status,omitempty"`
}

func NewPasswordPolicyRecoveryQuestion

func NewPasswordPolicyRecoveryQuestion() *PasswordPolicyRecoveryQuestion

func (*PasswordPolicyRecoveryQuestion) IsPolicyInstance

func (a *PasswordPolicyRecoveryQuestion) IsPolicyInstance() bool

type PasswordPolicyRecoveryQuestionComplexity

type PasswordPolicyRecoveryQuestionComplexity struct {
	MinLength    int64  `json:"-"`
	MinLengthPtr *int64 `json:"minLength,omitempty"`
}

func NewPasswordPolicyRecoveryQuestionComplexity

func NewPasswordPolicyRecoveryQuestionComplexity() *PasswordPolicyRecoveryQuestionComplexity

func (*PasswordPolicyRecoveryQuestionComplexity) IsPolicyInstance

func (a *PasswordPolicyRecoveryQuestionComplexity) IsPolicyInstance() bool

func (*PasswordPolicyRecoveryQuestionComplexity) MarshalJSON

func (a *PasswordPolicyRecoveryQuestionComplexity) MarshalJSON() ([]byte, error)

func (*PasswordPolicyRecoveryQuestionComplexity) UnmarshalJSON

func (a *PasswordPolicyRecoveryQuestionComplexity) UnmarshalJSON(data []byte) error

type PasswordPolicyRecoveryQuestionProperties

type PasswordPolicyRecoveryQuestionProperties struct {
	Complexity *PasswordPolicyRecoveryQuestionComplexity `json:"complexity,omitempty"`
}

func NewPasswordPolicyRecoveryQuestionProperties

func NewPasswordPolicyRecoveryQuestionProperties() *PasswordPolicyRecoveryQuestionProperties

func (*PasswordPolicyRecoveryQuestionProperties) IsPolicyInstance

func (a *PasswordPolicyRecoveryQuestionProperties) IsPolicyInstance() bool

type PasswordPolicyRecoverySettings

type PasswordPolicyRecoverySettings struct {
	Factors *PasswordPolicyRecoveryFactors `json:"factors,omitempty"`
}

func NewPasswordPolicyRecoverySettings

func NewPasswordPolicyRecoverySettings() *PasswordPolicyRecoverySettings

func (*PasswordPolicyRecoverySettings) IsPolicyInstance

func (a *PasswordPolicyRecoverySettings) IsPolicyInstance() bool

type PasswordPolicyRuleAction

type PasswordPolicyRuleAction struct {
	Access string `json:"access,omitempty"`
}

func NewPasswordPolicyRuleAction

func NewPasswordPolicyRuleAction() *PasswordPolicyRuleAction

func (*PasswordPolicyRuleAction) IsPolicyInstance

func (a *PasswordPolicyRuleAction) IsPolicyInstance() bool

type PasswordPolicyRuleActions

type PasswordPolicyRuleActions struct {
	Enroll                   *PolicyRuleActionsEnroll           `json:"enroll,omitempty"`
	Idp                      *IdpPolicyRuleAction               `json:"idp,omitempty"`
	PasswordChange           *PasswordPolicyRuleAction          `json:"passwordChange,omitempty"`
	SelfServicePasswordReset *PasswordPolicyRuleAction          `json:"selfServicePasswordReset,omitempty"`
	SelfServiceUnlock        *PasswordPolicyRuleAction          `json:"selfServiceUnlock,omitempty"`
	Signon                   *OktaSignOnPolicyRuleSignonActions `json:"signon,omitempty"`
}

func NewPasswordPolicyRuleActions

func NewPasswordPolicyRuleActions() *PasswordPolicyRuleActions

func (*PasswordPolicyRuleActions) IsPolicyInstance

func (a *PasswordPolicyRuleActions) IsPolicyInstance() bool

type PasswordSettingObject

type PasswordSettingObject struct {
	Change string `json:"change,omitempty"`
	Seed   string `json:"seed,omitempty"`
	Status string `json:"status,omitempty"`
}

func NewPasswordSettingObject

func NewPasswordSettingObject() *PasswordSettingObject

func (*PasswordSettingObject) IsApplicationInstance

func (a *PasswordSettingObject) IsApplicationInstance() bool

type Permission

type Permission struct {
	Label string      `json:"label"`
	Links interface{} `json:"links"`
}

type PlatformConditionEvaluatorPlatform

type PlatformConditionEvaluatorPlatform struct {
	Os   *PlatformConditionEvaluatorPlatformOperatingSystem `json:"os,omitempty"`
	Type string                                             `json:"type,omitempty"`
}

func NewPlatformConditionEvaluatorPlatform

func NewPlatformConditionEvaluatorPlatform() *PlatformConditionEvaluatorPlatform

func (*PlatformConditionEvaluatorPlatform) IsPolicyInstance

func (a *PlatformConditionEvaluatorPlatform) IsPolicyInstance() bool

type PlatformConditionEvaluatorPlatformOperatingSystem

type PlatformConditionEvaluatorPlatformOperatingSystem struct {
	Expression string                                                    `json:"expression"`
	Type       string                                                    `json:"type,omitempty"`
	Version    *PlatformConditionEvaluatorPlatformOperatingSystemVersion `json:"version,omitempty"`
}

func NewPlatformConditionEvaluatorPlatformOperatingSystem

func NewPlatformConditionEvaluatorPlatformOperatingSystem() *PlatformConditionEvaluatorPlatformOperatingSystem

func (*PlatformConditionEvaluatorPlatformOperatingSystem) IsPolicyInstance

type PlatformConditionEvaluatorPlatformOperatingSystemVersion

type PlatformConditionEvaluatorPlatformOperatingSystemVersion struct {
	MatchType string `json:"matchType,omitempty"`
	Value     string `json:"value,omitempty"`
}

func (*PlatformConditionEvaluatorPlatformOperatingSystemVersion) IsPolicyInstance

type PlatformPolicyRuleCondition

type PlatformPolicyRuleCondition struct {
	Exclude []*PlatformConditionEvaluatorPlatform `json:"exclude,omitempty"`
	Include []*PlatformConditionEvaluatorPlatform `json:"include,omitempty"`
}

func NewPlatformPolicyRuleCondition

func NewPlatformPolicyRuleCondition() *PlatformPolicyRuleCondition

func (*PlatformPolicyRuleCondition) IsPolicyInstance

func (a *PlatformPolicyRuleCondition) IsPolicyInstance() bool

type Policies

type Policies interface {
	IsPolicyInstance() bool
}

type Policy

type Policy struct {
	Embedded    interface{}           `json:"_embedded,omitempty"`
	Links       interface{}           `json:"_links,omitempty"`
	Conditions  *PolicyRuleConditions `json:"conditions,omitempty"`
	Created     *time.Time            `json:"created,omitempty"`
	Description string                `json:"description,omitempty"`
	Id          string                `json:"id,omitempty"`
	LastUpdated *time.Time            `json:"lastUpdated,omitempty"`
	Name        string                `json:"name,omitempty"`
	Priority    int64                 `json:"-"`
	PriorityPtr *int64                `json:"priority,omitempty"`
	Status      string                `json:"status,omitempty"`
	System      *bool                 `json:"system,omitempty"`
	Type        string                `json:"type,omitempty"`
}

func NewPolicy

func NewPolicy() *Policy

func (*Policy) IsPolicyInstance

func (a *Policy) IsPolicyInstance() bool

func (*Policy) MarshalJSON

func (a *Policy) MarshalJSON() ([]byte, error)

func (*Policy) UnmarshalJSON

func (a *Policy) UnmarshalJSON(data []byte) error
type PolicyAccountLink struct {
	Action string                   `json:"action,omitempty"`
	Filter *PolicyAccountLinkFilter `json:"filter,omitempty"`
}
func NewPolicyAccountLink() *PolicyAccountLink

func (*PolicyAccountLink) IsPolicyInstance

func (a *PolicyAccountLink) IsPolicyInstance() bool

type PolicyAccountLinkFilter

type PolicyAccountLinkFilter struct {
	Groups *PolicyAccountLinkFilterGroups `json:"groups,omitempty"`
}

func NewPolicyAccountLinkFilter

func NewPolicyAccountLinkFilter() *PolicyAccountLinkFilter

func (*PolicyAccountLinkFilter) IsPolicyInstance

func (a *PolicyAccountLinkFilter) IsPolicyInstance() bool

type PolicyAccountLinkFilterGroups

type PolicyAccountLinkFilterGroups struct {
	Include []string `json:"include,omitempty"`
}

func NewPolicyAccountLinkFilterGroups

func NewPolicyAccountLinkFilterGroups() *PolicyAccountLinkFilterGroups

func (*PolicyAccountLinkFilterGroups) IsPolicyInstance

func (a *PolicyAccountLinkFilterGroups) IsPolicyInstance() bool

type PolicyAuthenticator

type PolicyAuthenticator struct {
	Key         string                          `json:"key,omitempty"`
	ID          string                          `json:"id,omitempty"`
	Enroll      *Enroll                         `json:"enroll,omitempty"`
	Constraints *PolicyAuthenticatorConstraints `json:"constraints,omitempty"`
}

type PolicyAuthenticatorConstraints

type PolicyAuthenticatorConstraints struct {
	AaguidGroups []string `json:"aaguidGroups,omitempty"`
}

type PolicyFactor

type PolicyFactor struct {
	Consent *Consent `json:"consent,omitempty"`
	Enroll  *Enroll  `json:"enroll,omitempty"`
}

type PolicyFactorsSettings

type PolicyFactorsSettings struct {
	// TODO
	Duo          *PolicyFactor `json:"duo,omitempty"`
	FidoU2f      *PolicyFactor `json:"fido_u2f,omitempty"`
	FidoWebauthn *PolicyFactor `json:"fido_webauthn,omitempty"`
	Hotp         *PolicyFactor `json:"hotp,omitempty"`
	GoogleOtp    *PolicyFactor `json:"google_otp,omitempty"`
	OktaCall     *PolicyFactor `json:"okta_call,omitempty"`
	OktaOtp      *PolicyFactor `json:"okta_otp,omitempty"`
	OktaPassword *PolicyFactor `json:"okta_password,omitempty"`
	OktaPush     *PolicyFactor `json:"okta_push,omitempty"`
	OktaQuestion *PolicyFactor `json:"okta_question,omitempty"`
	OktaSms      *PolicyFactor `json:"okta_sms,omitempty"`
	OktaEmail    *PolicyFactor `json:"okta_email,omitempty"`
	RsaToken     *PolicyFactor `json:"rsa_token,omitempty"`
	SymantecVip  *PolicyFactor `json:"symantec_vip,omitempty"`
	YubikeyToken *PolicyFactor `json:"yubikey_token,omitempty"`
}

PolicyFactorsSettings is not expressed in the okta-sdk-golang yet

type PolicyNetworkCondition

type PolicyNetworkCondition struct {
	Connection string   `json:"connection,omitempty"`
	Exclude    []string `json:"exclude,omitempty"`
	Include    []string `json:"include,omitempty"`
}

func NewPolicyNetworkCondition

func NewPolicyNetworkCondition() *PolicyNetworkCondition

func (*PolicyNetworkCondition) IsPolicyInstance

func (a *PolicyNetworkCondition) IsPolicyInstance() bool

type PolicyPeopleCondition

type PolicyPeopleCondition struct {
	Groups *GroupCondition `json:"groups,omitempty"`
	Users  *UserCondition  `json:"users,omitempty"`
}

func NewPolicyPeopleCondition

func NewPolicyPeopleCondition() *PolicyPeopleCondition

func (*PolicyPeopleCondition) IsPolicyInstance

func (a *PolicyPeopleCondition) IsPolicyInstance() bool

type PolicyResource

type PolicyResource resource

func (*PolicyResource) ActivatePolicy

func (m *PolicyResource) ActivatePolicy(ctx context.Context, policyId string) (*Response, error)

Activates a policy.

func (*PolicyResource) ActivatePolicyRule

func (m *PolicyResource) ActivatePolicyRule(ctx context.Context, policyId, ruleId string) (*Response, error)

Activates a policy rule.

func (*PolicyResource) CreatePolicy

func (m *PolicyResource) CreatePolicy(ctx context.Context, body Policies, qp *query.Params) (Policies, *Response, error)

Creates a policy.

func (*PolicyResource) CreatePolicyRule

func (m *PolicyResource) CreatePolicyRule(ctx context.Context, policyId string, body SdkPolicyRule) (*SdkPolicyRule, *Response, error)

Creates a policy rule.

func (*PolicyResource) DeactivatePolicy

func (m *PolicyResource) DeactivatePolicy(ctx context.Context, policyId string) (*Response, error)

Deactivates a policy.

func (*PolicyResource) DeactivatePolicyRule

func (m *PolicyResource) DeactivatePolicyRule(ctx context.Context, policyId, ruleId string) (*Response, error)

Deactivates a policy rule.

func (*PolicyResource) DeletePolicy

func (m *PolicyResource) DeletePolicy(ctx context.Context, policyId string) (*Response, error)

Removes a policy.

func (*PolicyResource) DeletePolicyRule

func (m *PolicyResource) DeletePolicyRule(ctx context.Context, policyId, ruleId string) (*Response, error)

Removes a policy rule.

func (*PolicyResource) GetPolicy

func (m *PolicyResource) GetPolicy(ctx context.Context, policyId string, policyInstance Policies, qp *query.Params) (Policies, *Response, error)

Gets a policy.

func (*PolicyResource) GetPolicyRule

func (m *PolicyResource) GetPolicyRule(ctx context.Context, policyId, ruleId string) (*SdkPolicyRule, *Response, error)

Gets a policy rule.

func (*PolicyResource) ListPolicies

func (m *PolicyResource) ListPolicies(ctx context.Context, qp *query.Params) ([]Policies, *Response, error)

Gets all policies with the specified type.

func (*PolicyResource) ListPolicyRules

func (m *PolicyResource) ListPolicyRules(ctx context.Context, policyId string) ([]*SdkPolicyRule, *Response, error)

Enumerates all policy rules.

func (*PolicyResource) UpdatePolicy

func (m *PolicyResource) UpdatePolicy(ctx context.Context, policyId string, body Policies) (Policies, *Response, error)

Updates a policy.

func (*PolicyResource) UpdatePolicyRule

func (m *PolicyResource) UpdatePolicyRule(ctx context.Context, policyId, ruleId string, body SdkPolicyRule) (*SdkPolicyRule, *Response, error)

Updates a policy rule.

type PolicyRuleActionsEnroll

type PolicyRuleActionsEnroll struct {
	Self string `json:"self,omitempty"`
}

func NewPolicyRuleActionsEnroll

func NewPolicyRuleActionsEnroll() *PolicyRuleActionsEnroll

func (*PolicyRuleActionsEnroll) IsPolicyInstance

func (a *PolicyRuleActionsEnroll) IsPolicyInstance() bool

type PolicyRuleAuthContextCondition

type PolicyRuleAuthContextCondition struct {
	AuthType string `json:"authType,omitempty"`
}

func NewPolicyRuleAuthContextCondition

func NewPolicyRuleAuthContextCondition() *PolicyRuleAuthContextCondition

func (*PolicyRuleAuthContextCondition) IsPolicyInstance

func (a *PolicyRuleAuthContextCondition) IsPolicyInstance() bool

type PolicyRuleConditions

type PolicyRuleConditions struct {
	App                   *AppAndInstancePolicyRuleCondition             `json:"app,omitempty"`
	Apps                  *AppInstancePolicyRuleCondition                `json:"apps,omitempty"`
	AuthContext           *PolicyRuleAuthContextCondition                `json:"authContext,omitempty"`
	AuthProvider          *PasswordPolicyAuthenticationProviderCondition `json:"authProvider,omitempty"`
	BeforeScheduledAction *BeforeScheduledActionPolicyRuleCondition      `json:"beforeScheduledAction,omitempty"`
	Clients               *ClientPolicyCondition                         `json:"clients,omitempty"`
	Context               *ContextPolicyRuleCondition                    `json:"context,omitempty"`
	Device                *DevicePolicyRuleCondition                     `json:"device,omitempty"`
	GrantTypes            *GrantTypePolicyRuleCondition                  `json:"grantTypes,omitempty"`
	Groups                *GroupPolicyRuleCondition                      `json:"groups,omitempty"`
	IdentityProvider      *IdentityProviderPolicyRuleCondition           `json:"identityProvider,omitempty"`
	MdmEnrollment         *MDMEnrollmentPolicyRuleCondition              `json:"mdmEnrollment,omitempty"`
	Network               *PolicyNetworkCondition                        `json:"network,omitempty"`
	People                *PolicyPeopleCondition                         `json:"people,omitempty"`
	Platform              *PlatformPolicyRuleCondition                   `json:"platform,omitempty"`
	Risk                  *RiskPolicyRuleCondition                       `json:"risk,omitempty"`
	RiskScore             *RiskScorePolicyRuleCondition                  `json:"riskScore,omitempty"`
	Scopes                *OAuth2ScopesMediationPolicyRuleCondition      `json:"scopes,omitempty"`
	UserIdentifier        *UserIdentifierPolicyRuleCondition             `json:"userIdentifier,omitempty"`
	UserStatus            *UserStatusPolicyRuleCondition                 `json:"userStatus,omitempty"`
	Users                 *UserPolicyRuleCondition                       `json:"users,omitempty"`
}

func NewPolicyRuleConditions

func NewPolicyRuleConditions() *PolicyRuleConditions

func (*PolicyRuleConditions) IsPolicyInstance

func (a *PolicyRuleConditions) IsPolicyInstance() bool

type PolicySubject

type PolicySubject struct {
	Filter           string                  `json:"filter,omitempty"`
	Format           []string                `json:"format,omitempty"`
	MatchAttribute   string                  `json:"matchAttribute,omitempty"`
	MatchType        string                  `json:"matchType,omitempty"`
	UserNameTemplate *PolicyUserNameTemplate `json:"userNameTemplate,omitempty"`
}

func NewPolicySubject

func NewPolicySubject() *PolicySubject

func (*PolicySubject) IsPolicyInstance

func (a *PolicySubject) IsPolicyInstance() bool

type PolicyUserNameTemplate

type PolicyUserNameTemplate struct {
	Template string `json:"template,omitempty"`
}

func NewPolicyUserNameTemplate

func NewPolicyUserNameTemplate() *PolicyUserNameTemplate

func (*PolicyUserNameTemplate) IsPolicyInstance

func (a *PolicyUserNameTemplate) IsPolicyInstance() bool

type PossessionConstraint

type PossessionConstraint struct {
	AuthenticationMethods         []AuthenticationMethodObject `json:"authenticationMethods,omitempty"`
	ExcludedAuthenticationMethods []AuthenticationMethodObject `json:"excludedAuthenticationMethods,omitempty"`
	Methods                       []string                     `json:"methods,omitempty"`
	ReauthenticateIn              string                       `json:"reauthenticateIn,omitempty"`
	Types                         []string                     `json:"types,omitempty"`
	Required                      bool                         `json:"required"`
	DeviceBound                   string                       `json:"deviceBound,omitempty"`
	HardwareProtection            string                       `json:"hardwareProtection,omitempty"`
	PhishingResistant             string                       `json:"phishingResistant,omitempty"`
	UserPresence                  string                       `json:"userPresence,omitempty"`
	UserVerification              string                       `json:"userVerification,omitempty"`
	UserVerificationMethods       []string                     `json:"userVerificationMethods,omitempty"`
}

func NewPossessionConstraint

func NewPossessionConstraint() *PossessionConstraint

func (*PossessionConstraint) IsPolicyInstance

func (a *PossessionConstraint) IsPolicyInstance() bool

type PreRegistrationInlineHook

type PreRegistrationInlineHook struct {
	InlineHookId string `json:"inlineHookId,omitempty"`
}

func NewPreRegistrationInlineHook

func NewPreRegistrationInlineHook() *PreRegistrationInlineHook

func (*PreRegistrationInlineHook) IsPolicyInstance

func (a *PreRegistrationInlineHook) IsPolicyInstance() bool

type PrivateKeyAuth

type PrivateKeyAuth struct {
	// contains filtered or unexported fields
}

func NewPrivateKeyAuth

func NewPrivateKeyAuth(config PrivateKeyAuthConfig) *PrivateKeyAuth

func (*PrivateKeyAuth) Authorize

func (a *PrivateKeyAuth) Authorize(method, URL string) error

type PrivateKeyAuthConfig

type PrivateKeyAuthConfig struct {
	TokenCache       *goCache.Cache
	HttpClient       *http.Client
	PrivateKeySigner jose.Signer
	PrivateKey       string
	PrivateKeyId     string
	ClientId         string
	OrgURL           string
	Scopes           []string
	MaxRetries       int32
	MaxBackoff       int64
	Req              *http.Request
}

type ProfileEnrollmentPolicyRuleAction

type ProfileEnrollmentPolicyRuleAction struct {
	Access                     string                                            `json:"access,omitempty"`
	ActivationRequirements     *ProfileEnrollmentPolicyRuleActivationRequirement `json:"activationRequirements,omitempty"`
	PreRegistrationInlineHooks []*PreRegistrationInlineHook                      `json:"preRegistrationInlineHooks,omitempty"`
	ProfileAttributes          []*ProfileEnrollmentPolicyRuleProfileAttribute    `json:"profileAttributes,omitempty"`
	ProgressiveProfilingAction string                                            `json:"progressiveProfilingAction,omitempty"`
	TargetGroupIds             []string                                          `json:"targetGroupIds,omitempty"`
	UiSchemaId                 string                                            `json:"uiSchemaId,omitempty"`
	UnknownUserAction          string                                            `json:"unknownUserAction,omitempty"`
}

func NewProfileEnrollmentPolicyRuleAction

func NewProfileEnrollmentPolicyRuleAction() *ProfileEnrollmentPolicyRuleAction

func (*ProfileEnrollmentPolicyRuleAction) IsPolicyInstance

func (a *ProfileEnrollmentPolicyRuleAction) IsPolicyInstance() bool

type ProfileEnrollmentPolicyRuleActivationRequirement

type ProfileEnrollmentPolicyRuleActivationRequirement struct {
	EmailVerification *bool `json:"emailVerification,omitempty"`
}

func NewProfileEnrollmentPolicyRuleActivationRequirement

func NewProfileEnrollmentPolicyRuleActivationRequirement() *ProfileEnrollmentPolicyRuleActivationRequirement

func (*ProfileEnrollmentPolicyRuleActivationRequirement) IsPolicyInstance

type ProfileEnrollmentPolicyRuleProfileAttribute

type ProfileEnrollmentPolicyRuleProfileAttribute struct {
	Label    string `json:"label,omitempty"`
	Name     string `json:"name,omitempty"`
	Required *bool  `json:"required,omitempty"`
}

func NewProfileEnrollmentPolicyRuleProfileAttribute

func NewProfileEnrollmentPolicyRuleProfileAttribute() *ProfileEnrollmentPolicyRuleProfileAttribute

func (*ProfileEnrollmentPolicyRuleProfileAttribute) IsPolicyInstance

func (a *ProfileEnrollmentPolicyRuleProfileAttribute) IsPolicyInstance() bool

type ProfileMapping

type ProfileMapping struct {
	Links      interface{}                        `json:"_links,omitempty"`
	Id         string                             `json:"id,omitempty"`
	Properties map[string]*ProfileMappingProperty `json:"properties,omitempty"`
	Source     *ProfileMappingSource              `json:"source,omitempty"`
	Target     *ProfileMappingSource              `json:"target,omitempty"`
}

type ProfileMappingProperty

type ProfileMappingProperty struct {
	Expression string `json:"expression,omitempty"`
	PushStatus string `json:"pushStatus,omitempty"`
}

type ProfileMappingResource

type ProfileMappingResource resource

func (*ProfileMappingResource) GetProfileMapping

func (m *ProfileMappingResource) GetProfileMapping(ctx context.Context, mappingId string) (*ProfileMapping, *Response, error)

Fetches a single Profile Mapping referenced by its ID.

func (*ProfileMappingResource) ListProfileMappings

func (m *ProfileMappingResource) ListProfileMappings(ctx context.Context, qp *query.Params) ([]*ProfileMapping, *Response, error)

Enumerates Profile Mappings in your organization with pagination.

func (*ProfileMappingResource) UpdateProfileMapping

func (m *ProfileMappingResource) UpdateProfileMapping(ctx context.Context, mappingId string, body ProfileMapping) (*ProfileMapping, *Response, error)

Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.

type ProfileMappingSource

type ProfileMappingSource struct {
	Links interface{} `json:"_links,omitempty"`
	Id    string      `json:"id,omitempty"`
	Name  string      `json:"name,omitempty"`
	Type  string      `json:"type,omitempty"`
}

type ProfileSettingObject

type ProfileSettingObject struct {
	Status string `json:"status,omitempty"`
}

func NewProfileSettingObject

func NewProfileSettingObject() *ProfileSettingObject

func (*ProfileSettingObject) IsApplicationInstance

func (a *ProfileSettingObject) IsApplicationInstance() bool

type Protocol

type Protocol struct {
	Algorithms  *ProtocolAlgorithms          `json:"algorithms,omitempty"`
	Credentials *IdentityProviderCredentials `json:"credentials,omitempty"`
	Endpoints   *ProtocolEndpoints           `json:"endpoints,omitempty"`
	Issuer      *ProtocolEndpoint            `json:"issuer,omitempty"`
	RelayState  *ProtocolRelayState          `json:"relayState,omitempty"`
	Scopes      []string                     `json:"scopes,omitempty"`
	Settings    *ProtocolSettings            `json:"settings,omitempty"`
	Type        string                       `json:"type,omitempty"`
}

type ProtocolAlgorithmType

type ProtocolAlgorithmType struct {
	Signature *ProtocolAlgorithmTypeSignature `json:"signature,omitempty"`
}

type ProtocolAlgorithmTypeSignature

type ProtocolAlgorithmTypeSignature struct {
	Algorithm string `json:"algorithm,omitempty"`
	Scope     string `json:"scope,omitempty"`
}

type ProtocolAlgorithms

type ProtocolAlgorithms struct {
	Request  *ProtocolAlgorithmType `json:"request,omitempty"`
	Response *ProtocolAlgorithmType `json:"response,omitempty"`
}

type ProtocolEndpoint

type ProtocolEndpoint struct {
	Binding     string `json:"binding,omitempty"`
	Destination string `json:"destination,omitempty"`
	Type        string `json:"type,omitempty"`
	Url         string `json:"url,omitempty"`
}

type ProtocolEndpoints

type ProtocolEndpoints struct {
	Acs           *ProtocolEndpoint `json:"acs,omitempty"`
	Authorization *ProtocolEndpoint `json:"authorization,omitempty"`
	Jwks          *ProtocolEndpoint `json:"jwks,omitempty"`
	Metadata      *ProtocolEndpoint `json:"metadata,omitempty"`
	Slo           *ProtocolEndpoint `json:"slo,omitempty"`
	Sso           *ProtocolEndpoint `json:"sso,omitempty"`
	Token         *ProtocolEndpoint `json:"token,omitempty"`
	UserInfo      *ProtocolEndpoint `json:"userInfo,omitempty"`
}

type ProtocolRelayState

type ProtocolRelayState struct {
	Format string `json:"format,omitempty"`
}

type ProtocolSettings

type ProtocolSettings struct {
	NameFormat string `json:"nameFormat,omitempty"`
}

type Provisioning

type Provisioning struct {
	Action        string                  `json:"action,omitempty"`
	Conditions    *ProvisioningConditions `json:"conditions,omitempty"`
	Groups        *ProvisioningGroups     `json:"groups,omitempty"`
	ProfileMaster *bool                   `json:"profileMaster,omitempty"`
}

type ProvisioningConditions

type ProvisioningConditions struct {
	Deprovisioned *ProvisioningDeprovisionedCondition `json:"deprovisioned,omitempty"`
	Suspended     *ProvisioningSuspendedCondition     `json:"suspended,omitempty"`
}

type ProvisioningConnection

type ProvisioningConnection struct {
	Links      interface{} `json:"_links,omitempty"`
	AuthScheme string      `json:"authScheme,omitempty"`
	Status     string      `json:"status,omitempty"`
}

func NewProvisioningConnection

func NewProvisioningConnection() *ProvisioningConnection

func (*ProvisioningConnection) IsApplicationInstance

func (a *ProvisioningConnection) IsApplicationInstance() bool

type ProvisioningConnectionProfile

type ProvisioningConnectionProfile struct {
	AuthScheme string `json:"authScheme,omitempty"`
	Token      string `json:"token,omitempty"`
}

func NewProvisioningConnectionProfile

func NewProvisioningConnectionProfile() *ProvisioningConnectionProfile

func (*ProvisioningConnectionProfile) IsApplicationInstance

func (a *ProvisioningConnectionProfile) IsApplicationInstance() bool

type ProvisioningConnectionProfileResource

type ProvisioningConnectionProfileResource resource

type ProvisioningConnectionRequest

type ProvisioningConnectionRequest struct {
	Profile *ProvisioningConnectionProfile `json:"profile,omitempty"`
}

func NewProvisioningConnectionRequest

func NewProvisioningConnectionRequest() *ProvisioningConnectionRequest

func (*ProvisioningConnectionRequest) IsApplicationInstance

func (a *ProvisioningConnectionRequest) IsApplicationInstance() bool

type ProvisioningConnectionResource

type ProvisioningConnectionResource resource

type ProvisioningDeprovisionedCondition

type ProvisioningDeprovisionedCondition struct {
	Action string `json:"action,omitempty"`
}

type ProvisioningGroups

type ProvisioningGroups struct {
	Action              string   `json:"action,omitempty"`
	Assignments         []string `json:"assignments,omitempty"`
	Filter              []string `json:"filter,omitempty"`
	SourceAttributeName string   `json:"sourceAttributeName,omitempty"`
}

type ProvisioningSuspendedCondition

type ProvisioningSuspendedCondition struct {
	Action string `json:"action,omitempty"`
}

type RateLimitGranularModeSettings

type RateLimitGranularModeSettings struct {
	OAuth2Authorize string `json:"OAUTH2_AUTHORIZE"`
	LoginPage       string `json:"LOGIN_PAGE"`
}

type RateLimitingCommunications

type RateLimitingCommunications struct {
	RateLimitNotification *bool `json:"rateLimitNotification"`
}

type RecoveryQuestionCredential

type RecoveryQuestionCredential struct {
	Answer   string `json:"answer,omitempty"`
	Question string `json:"question,omitempty"`
}

type RequestAccessToken

type RequestAccessToken struct {
	TokenType   string `json:"token_type,omitempty"`
	ExpiresIn   int    `json:"expires_in,omitempty"`
	AccessToken string `json:"access_token,omitempty"`
	Scope       string `json:"scope,omitempty"`
}

type RequestExecutor

type RequestExecutor struct {
	BaseUrl *urlpkg.URL
	// contains filtered or unexported fields
}

func NewRequestExecutor

func NewRequestExecutor(httpClient *http.Client, cache cache.Cache, config *config) *RequestExecutor

func (*RequestExecutor) AsBinary

func (re *RequestExecutor) AsBinary() *RequestExecutor

func (*RequestExecutor) Do

func (re *RequestExecutor) Do(ctx context.Context, req *http.Request, v interface{}) (*Response, error)

func (*RequestExecutor) NewRequest

func (re *RequestExecutor) NewRequest(method, url string, body interface{}) (*http.Request, error)

func (*RequestExecutor) RefreshNext

func (re *RequestExecutor) RefreshNext() *RequestExecutor

func (*RequestExecutor) SetHTTPTransport

func (re *RequestExecutor) SetHTTPTransport(transport http.RoundTripper)

func (*RequestExecutor) WithAccept

func (re *RequestExecutor) WithAccept(acceptHeader string) *RequestExecutor

func (*RequestExecutor) WithContentType

func (re *RequestExecutor) WithContentType(contentTypeHeader string) *RequestExecutor

type ResetPasswordToken

type ResetPasswordToken struct {
	ResetPasswordUrl string `json:"resetPasswordUrl,omitempty"`
}

type ResourceSet

type ResourceSet struct {
	Id          string   `json:"id,omitempty"`
	Label       string   `json:"label,omitempty"`
	Description string   `json:"description,omitempty"`
	Resources   []string `json:"resources,omitempty"`
}

type ResourceSetResource

type ResourceSetResource struct {
	Id          string      `json:"id"`
	Created     time.Time   `json:"created"`
	LastUpdated time.Time   `json:"lastUpdated"`
	Links       interface{} `json:"_links"`
}

type Response

type Response struct {
	*http.Response

	Self     string
	NextPage string
	// contains filtered or unexported fields
}

func (*Response) HasNextPage

func (r *Response) HasNextPage() bool

func (*Response) Next

func (r *Response) Next(ctx context.Context, v interface{}) (*Response, error)
type ResponseLinks struct {
	Links interface{} `json:"_links,omitempty"`
}

type RiskPolicyRuleCondition

type RiskPolicyRuleCondition struct {
	Behaviors []string `json:"behaviors,omitempty"`
}

func NewRiskPolicyRuleCondition

func NewRiskPolicyRuleCondition() *RiskPolicyRuleCondition

func (*RiskPolicyRuleCondition) IsPolicyInstance

func (a *RiskPolicyRuleCondition) IsPolicyInstance() bool

type RiskScorePolicyRuleCondition

type RiskScorePolicyRuleCondition struct {
	Level string `json:"level,omitempty"`
}

func NewRiskScorePolicyRuleCondition

func NewRiskScorePolicyRuleCondition() *RiskScorePolicyRuleCondition

func (*RiskScorePolicyRuleCondition) IsPolicyInstance

func (a *RiskScorePolicyRuleCondition) IsPolicyInstance() bool

type Role

type Role struct {
	Embedded       interface{} `json:"_embedded,omitempty"`
	Links          interface{} `json:"_links,omitempty"`
	AssignmentType string      `json:"assignmentType,omitempty"`
	Created        *time.Time  `json:"created,omitempty"`
	Description    string      `json:"description,omitempty"`
	Id             string      `json:"id,omitempty"`
	Label          string      `json:"label,omitempty"`
	LastUpdated    *time.Time  `json:"lastUpdated,omitempty"`
	Status         string      `json:"status,omitempty"`
	Type           string      `json:"type,omitempty"`
}

type SSWSAuth

type SSWSAuth struct {
	// contains filtered or unexported fields
}

func NewSSWSAuth

func NewSSWSAuth(token string, req *http.Request) *SSWSAuth

func (*SSWSAuth) Authorize

func (a *SSWSAuth) Authorize(method, URL string) error

type SamlApplication

type SamlApplication struct {
	Embedded      interface{}               `json:"_embedded,omitempty"`
	Links         interface{}               `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility `json:"accessibility,omitempty"`
	Created       *time.Time                `json:"created,omitempty"`
	Credentials   *ApplicationCredentials   `json:"credentials,omitempty"`
	Features      []string                  `json:"features,omitempty"`
	Id            string                    `json:"id,omitempty"`
	Label         string                    `json:"label,omitempty"`
	LastUpdated   *time.Time                `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing     `json:"licensing,omitempty"`
	Name          string                    `json:"name,omitempty"`
	Profile       interface{}               `json:"profile,omitempty"`
	Settings      *SamlApplicationSettings  `json:"settings,omitempty"`
	SignOnMode    string                    `json:"signOnMode,omitempty"`
	Status        string                    `json:"status,omitempty"`
	Visibility    *ApplicationVisibility    `json:"visibility,omitempty"`
}

func NewSamlApplication

func NewSamlApplication() *SamlApplication

func (*SamlApplication) IsApplicationInstance

func (a *SamlApplication) IsApplicationInstance() bool

type SamlApplicationSettings

type SamlApplicationSettings struct {
	App                *ApplicationSettingsApplication   `json:"app,omitempty"`
	ImplicitAssignment *bool                             `json:"implicitAssignment,omitempty"`
	InlineHookId       string                            `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes         `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications `json:"notifications,omitempty"`
	SignOn             *SamlApplicationSettingsSignOn    `json:"signOn,omitempty"`
}

type SamlApplicationSettingsSignOn

type SamlApplicationSettingsSignOn struct {
	AcsEndpoints              []*AcsEndpoint            `json:"acsEndpoints,omitempty"`
	AllowMultipleAcsEndpoints *bool                     `json:"allowMultipleAcsEndpoints,omitempty"`
	AssertionSigned           *bool                     `json:"assertionSigned,omitempty"`
	AttributeStatements       []*SamlAttributeStatement `json:"attributeStatements"`
	Audience                  string                    `json:"audience,omitempty"`
	AudienceOverride          string                    `json:"audienceOverride"`
	AuthnContextClassRef      string                    `json:"authnContextClassRef,omitempty"`
	DefaultRelayState         string                    `json:"defaultRelayState"`
	Destination               string                    `json:"destination,omitempty"`
	DestinationOverride       string                    `json:"destinationOverride"`
	DigestAlgorithm           string                    `json:"digestAlgorithm,omitempty"`
	HonorForceAuthn           *bool                     `json:"honorForceAuthn,omitempty"`
	IdpIssuer                 string                    `json:"idpIssuer,omitempty"`
	InlineHooks               []*SignOnInlineHook       `json:"inlineHooks,omitempty"`
	Recipient                 string                    `json:"recipient,omitempty"`
	RecipientOverride         string                    `json:"recipientOverride"`
	RequestCompressed         *bool                     `json:"requestCompressed,omitempty"`
	ResponseSigned            *bool                     `json:"responseSigned,omitempty"`
	SamlSignedRequestEnabled  *bool                     `json:"samlSignedRequestEnabled,omitempty"`
	SignatureAlgorithm        string                    `json:"signatureAlgorithm,omitempty"`
	Slo                       *SingleLogout             `json:"slo,omitempty"`
	SpCertificate             *SpCertificate            `json:"spCertificate,omitempty"`
	SpIssuer                  string                    `json:"spIssuer,omitempty"`
	SsoAcsUrl                 string                    `json:"ssoAcsUrl,omitempty"`
	SsoAcsUrlOverride         string                    `json:"ssoAcsUrlOverride"`
	SubjectNameIdFormat       string                    `json:"subjectNameIdFormat,omitempty"`
	SubjectNameIdTemplate     string                    `json:"subjectNameIdTemplate,omitempty"`
}

type SamlAttributeStatement

type SamlAttributeStatement struct {
	FilterType  string   `json:"filterType,omitempty"`
	FilterValue string   `json:"filterValue,omitempty"`
	Name        string   `json:"name,omitempty"`
	Namespace   string   `json:"namespace,omitempty"`
	Type        string   `json:"type,omitempty"`
	Values      []string `json:"values,omitempty"`
}

type ScheduledUserLifecycleAction

type ScheduledUserLifecycleAction struct {
	Status string `json:"status,omitempty"`
}

func NewScheduledUserLifecycleAction

func NewScheduledUserLifecycleAction() *ScheduledUserLifecycleAction

func (*ScheduledUserLifecycleAction) IsPolicyInstance

func (a *ScheduledUserLifecycleAction) IsPolicyInstance() bool

type SchemeApplicationCredentials

type SchemeApplicationCredentials struct {
	Signing          *ApplicationCredentialsSigning          `json:"signing,omitempty"`
	UserNameTemplate *ApplicationCredentialsUsernameTemplate `json:"userNameTemplate,omitempty"`
	Password         *PasswordCredential                     `json:"password,omitempty"`
	RevealPassword   *bool                                   `json:"revealPassword,omitempty"`
	Scheme           string                                  `json:"scheme,omitempty"`
	UserName         string                                  `json:"userName"`
}

type Scope

type Scope struct {
	AllowedOktaApps []*IframeEmbedScopeAllowedApps `json:"allowedOktaApps,omitempty"`
	StringValue     string                         `json:"stringValue,omitempty"`
	Type            string                         `json:"type,omitempty"`
}

type SdkEmailTemplate

type SdkEmailTemplate struct {
	Id              string                          `json:"id,omitempty"`
	Name            string                          `json:"name,omitempty"`
	Type            string                          `json:"type,omitempty"`
	DefaultLanguage string                          `json:"defaultLanguage,omitempty"`
	Subject         string                          `json:"subject,omitempty"`
	Template        string                          `json:"template,omitempty"`
	Translations    map[string]*SdkEmailTranslation `json:"translations,omitempty"`
}

TODO deprecated

type SdkEmailTranslation

type SdkEmailTranslation struct {
	Subject  string `json:"subject,omitempty"`
	Template string `json:"template,omitempty"`
}

TODO deprecated

type SdkPolicy

type SdkPolicy struct {
	// TODO
	Policy

	Settings *SdkPolicySettings `json:"settings,omitempty"`
}

Policy wrapper over okta.Policy until all of the public properties are fully supported

func MfaPolicy

func MfaPolicy() SdkPolicy

MfaPolicy returns policy of MFA_ENROLL type

func PasswordPolicy

func PasswordPolicy() SdkPolicy

PasswordPolicy returns policy of PASSWORD type

func ProfileEnrollmentPolicy

func ProfileEnrollmentPolicy() SdkPolicy

ProfileEnrollmentPolicy returns policy of PROFILE_ENROLLMENT type

func SignOnPolicy

func SignOnPolicy() SdkPolicy

SignOnPolicy returns policy of OKTA_SIGN_ON type

func (*SdkPolicy) MarshalJSON

func (a *SdkPolicy) MarshalJSON() ([]byte, error)

MarshalJSON Deal with the embedded struct okta.Policy having its own marshaler. okta.Policy doens't support a policy settings fully so we have a local implementation of it here. https://developer.okta.com/docs/reference/api/policy/#policy-settings-object

func (*SdkPolicy) UnmarshalJSON

func (a *SdkPolicy) UnmarshalJSON(data []byte) error

type SdkPolicyRule

type SdkPolicyRule struct {
	Id          string                `json:"id,omitempty"`
	Type        string                `json:"type,omitempty"`
	Name        string                `json:"name,omitempty"`
	Status      string                `json:"status,omitempty"`
	Priority    int64                 `json:"priority,omitempty"`
	System      *bool                 `json:"system,omitempty"`
	Created     *time.Time            `json:"created,omitempty"`
	LastUpdated *time.Time            `json:"lastUpdated,omitempty"`
	Conditions  *PolicyRuleConditions `json:"conditions"`
	Actions     SdkPolicyRuleActions  `json:"actions,omitempty"`
}

func MfaPolicyRule

func MfaPolicyRule() SdkPolicyRule

func PasswordPolicyRule

func PasswordPolicyRule() SdkPolicyRule

func ProfileEnrollmentPolicyRule

func ProfileEnrollmentPolicyRule() SdkPolicyRule

func SignOnPolicyRule

func SignOnPolicyRule() SdkPolicyRule

type SdkPolicyRuleActions

type SdkPolicyRuleActions struct {
	SignOn            *SdkSignOnPolicyRuleSignOnActions  `json:"signon,omitempty"`
	ProfileEnrollment *ProfileEnrollmentPolicyRuleAction `json:"profileEnrollment,omitempty"`
	*PasswordPolicyRuleActions
}

type SdkPolicySettings

type SdkPolicySettings struct {
	// TODO
	Authenticators []*PolicyAuthenticator            `json:"authenticators,omitempty"`
	Delegation     *PasswordPolicyDelegationSettings `json:"delegation,omitempty"`
	Factors        *PolicyFactorsSettings            `json:"factors,omitempty"`
	Password       *PasswordPolicyPasswordSettings   `json:"password,omitempty"`
	Recovery       *PasswordPolicyRecoverySettings   `json:"recovery,omitempty"`
	Type           string                            `json:"type,omitempty"`
}

PolicySettings missing from okta-sdk-golang. However, there is a subset okta.PasswordPolicySettings.

type SdkSignOnPolicyRuleSignOnActions

type SdkSignOnPolicyRuleSignOnActions struct {
	Access                  string                                     `json:"access,omitempty"`
	FactorLifetime          int64                                      `json:"factorLifetime,omitempty"`
	FactorPromptMode        string                                     `json:"factorPromptMode,omitempty"`
	PrimaryFactor           string                                     `json:"primaryFactor,omitempty"`
	RememberDeviceByDefault *bool                                      `json:"rememberDeviceByDefault,omitempty"`
	RequireFactor           *bool                                      `json:"requireFactor,omitempty"`
	Session                 *OktaSignOnPolicyRuleSignonSessionActions  `json:"session,omitempty"`
	Challenge               *SdkSignOnPolicyRuleSignOnActionsChallenge `json:"challenge,omitempty"`
}

type SdkSignOnPolicyRuleSignOnActionsChallenge

type SdkSignOnPolicyRuleSignOnActionsChallenge struct {
	Chain []SdkSignOnPolicyRuleSignOnActionsChallengeChain `json:"chain,omitempty"`
}

type SdkSignOnPolicyRuleSignOnActionsChallengeChain

type SdkSignOnPolicyRuleSignOnActionsChallengeChain struct {
	Criteria []SdkSignOnPolicyRuleSignOnActionsChallengeChainCriteria `json:"criteria,omitempty"`
	Next     []SdkSignOnPolicyRuleSignOnActionsChallengeChainNext     `json:"next,omitempty"`
}

type SdkSignOnPolicyRuleSignOnActionsChallengeChainCriteria

type SdkSignOnPolicyRuleSignOnActionsChallengeChainCriteria struct {
	Provider   string `json:"provider,omitempty"`
	FactorType string `json:"factorType,omitempty"`
}

type SdkSignOnPolicyRuleSignOnActionsChallengeChainNext

type SdkSignOnPolicyRuleSignOnActionsChallengeChainNext struct {
	Criteria []SdkSignOnPolicyRuleSignOnActionsChallengeChainCriteria `json:"criteria,omitempty"`
}

type SecurePasswordStoreApplication

type SecurePasswordStoreApplication struct {
	Embedded      interface{}                             `json:"_embedded,omitempty"`
	Links         interface{}                             `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility               `json:"accessibility,omitempty"`
	Created       *time.Time                              `json:"created,omitempty"`
	Credentials   *SchemeApplicationCredentials           `json:"credentials,omitempty"`
	Features      []string                                `json:"features,omitempty"`
	Id            string                                  `json:"id,omitempty"`
	Label         string                                  `json:"label,omitempty"`
	LastUpdated   *time.Time                              `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing                   `json:"licensing,omitempty"`
	Name          string                                  `json:"name,omitempty"`
	Profile       interface{}                             `json:"profile,omitempty"`
	Settings      *SecurePasswordStoreApplicationSettings `json:"settings,omitempty"`
	SignOnMode    string                                  `json:"signOnMode,omitempty"`
	Status        string                                  `json:"status,omitempty"`
	Visibility    *ApplicationVisibility                  `json:"visibility,omitempty"`
}

func NewSecurePasswordStoreApplication

func NewSecurePasswordStoreApplication() *SecurePasswordStoreApplication

func (*SecurePasswordStoreApplication) IsApplicationInstance

func (a *SecurePasswordStoreApplication) IsApplicationInstance() bool

type SecurePasswordStoreApplicationSettings

type SecurePasswordStoreApplicationSettings struct {
	App                *SecurePasswordStoreApplicationSettingsApplication `json:"app,omitempty"`
	ImplicitAssignment *bool                                              `json:"implicitAssignment,omitempty"`
	InlineHookId       string                                             `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes                          `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications                  `json:"notifications,omitempty"`
}

type SecurePasswordStoreApplicationSettingsApplication

type SecurePasswordStoreApplicationSettingsApplication struct {
	OptionalField1      string `json:"optionalField1,omitempty"`
	OptionalField1Value string `json:"optionalField1Value,omitempty"`
	OptionalField2      string `json:"optionalField2,omitempty"`
	OptionalField2Value string `json:"optionalField2Value,omitempty"`
	OptionalField3      string `json:"optionalField3,omitempty"`
	OptionalField3Value string `json:"optionalField3Value,omitempty"`
	PasswordField       string `json:"passwordField,omitempty"`
	Url                 string `json:"url,omitempty"`
	UsernameField       string `json:"usernameField,omitempty"`
}

type SecurityNotificationEmails

type SecurityNotificationEmails struct {
	SendEmailForNewDeviceEnabled        bool `json:"sendEmailForNewDeviceEnabled"`
	SendEmailForFactorEnrollmentEnabled bool `json:"sendEmailForFactorEnrollmentEnabled"`
	SendEmailForFactorResetEnabled      bool `json:"sendEmailForFactorResetEnabled"`
	SendEmailForPasswordChangedEnabled  bool `json:"sendEmailForPasswordChangedEnabled"`
	ReportSuspiciousActivityEnabled     bool `json:"reportSuspiciousActivityEnabled"`
}

type SecurityQuestion

type SecurityQuestion struct {
	Answer       string `json:"answer,omitempty"`
	Question     string `json:"question,omitempty"`
	QuestionText string `json:"questionText,omitempty"`
}

func NewSecurityQuestion

func NewSecurityQuestion() *SecurityQuestion

func (*SecurityQuestion) IsUserFactorInstance

func (a *SecurityQuestion) IsUserFactorInstance() bool

type SecurityQuestionUserFactor

type SecurityQuestionUserFactor struct {
	Embedded    interface{}                        `json:"_embedded,omitempty"`
	Links       interface{}                        `json:"_links,omitempty"`
	Created     *time.Time                         `json:"created,omitempty"`
	FactorType  string                             `json:"factorType,omitempty"`
	Id          string                             `json:"id,omitempty"`
	LastUpdated *time.Time                         `json:"lastUpdated,omitempty"`
	Provider    string                             `json:"provider,omitempty"`
	Status      string                             `json:"status,omitempty"`
	Verify      *VerifyFactorRequest               `json:"verify,omitempty"`
	Profile     *SecurityQuestionUserFactorProfile `json:"profile,omitempty"`
}

func NewSecurityQuestionUserFactor

func NewSecurityQuestionUserFactor() *SecurityQuestionUserFactor

func (*SecurityQuestionUserFactor) IsUserFactorInstance

func (a *SecurityQuestionUserFactor) IsUserFactorInstance() bool

type SecurityQuestionUserFactorProfile

type SecurityQuestionUserFactorProfile struct {
	Answer       string `json:"answer,omitempty"`
	Question     string `json:"question,omitempty"`
	QuestionText string `json:"questionText,omitempty"`
}

func NewSecurityQuestionUserFactorProfile

func NewSecurityQuestionUserFactorProfile() *SecurityQuestionUserFactorProfile

func (*SecurityQuestionUserFactorProfile) IsUserFactorInstance

func (a *SecurityQuestionUserFactorProfile) IsUserFactorInstance() bool

type Session

type Session struct {
	Links                    interface{}                    `json:"_links,omitempty"`
	Amr                      []*SessionAuthenticationMethod `json:"amr,omitempty"`
	CreatedAt                *time.Time                     `json:"createdAt,omitempty"`
	ExpiresAt                *time.Time                     `json:"expiresAt,omitempty"`
	Id                       string                         `json:"id,omitempty"`
	Idp                      *SessionIdentityProvider       `json:"idp,omitempty"`
	LastFactorVerification   *time.Time                     `json:"lastFactorVerification,omitempty"`
	LastPasswordVerification *time.Time                     `json:"lastPasswordVerification,omitempty"`
	Login                    string                         `json:"login,omitempty"`
	Status                   string                         `json:"status,omitempty"`
	UserId                   string                         `json:"userId,omitempty"`
}

type SessionAuthenticationMethod

type SessionAuthenticationMethod string

type SessionIdentityProvider

type SessionIdentityProvider struct {
	Id   string `json:"id,omitempty"`
	Type string `json:"type,omitempty"`
}

type SessionResource

type SessionResource resource

func (*SessionResource) CreateSession

func (m *SessionResource) CreateSession(ctx context.Context, body CreateSessionRequest) (*Session, *Response, error)

Creates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.

func (*SessionResource) EndSession

func (m *SessionResource) EndSession(ctx context.Context, sessionId string) (*Response, error)

func (*SessionResource) GetSession

func (m *SessionResource) GetSession(ctx context.Context, sessionId string) (*Session, *Response, error)

Get details about a session.

func (*SessionResource) RefreshSession

func (m *SessionResource) RefreshSession(ctx context.Context, sessionId string) (*Session, *Response, error)

type SignOnInlineHook

type SignOnInlineHook struct {
	Id string `json:"id,omitempty"`
}

type SingleLogout

type SingleLogout struct {
	Enabled   *bool  `json:"enabled,omitempty"`
	Issuer    string `json:"issuer,omitempty"`
	LogoutUrl string `json:"logoutUrl,omitempty"`
}

type SmsTemplate

type SmsTemplate struct {
	Created      *time.Time               `json:"created,omitempty"`
	Id           string                   `json:"id,omitempty"`
	LastUpdated  *time.Time               `json:"lastUpdated,omitempty"`
	Name         string                   `json:"name,omitempty"`
	Template     string                   `json:"template,omitempty"`
	Translations *SmsTemplateTranslations `json:"translations,omitempty"`
	Type         string                   `json:"type,omitempty"`
}

type SmsTemplateResource

type SmsTemplateResource resource

func (*SmsTemplateResource) CreateSmsTemplate

func (m *SmsTemplateResource) CreateSmsTemplate(ctx context.Context, body SmsTemplate) (*SmsTemplate, *Response, error)

Adds a new custom SMS template to your organization.

func (*SmsTemplateResource) DeleteSmsTemplate

func (m *SmsTemplateResource) DeleteSmsTemplate(ctx context.Context, templateId string) (*Response, error)

Removes an SMS template.

func (*SmsTemplateResource) GetSmsTemplate

func (m *SmsTemplateResource) GetSmsTemplate(ctx context.Context, templateId string) (*SmsTemplate, *Response, error)

Fetches a specific template by `id`

func (*SmsTemplateResource) ListSmsTemplates

func (m *SmsTemplateResource) ListSmsTemplates(ctx context.Context, qp *query.Params) ([]*SmsTemplate, *Response, error)

Enumerates custom SMS templates in your organization. A subset of templates can be returned that match a template type.

func (*SmsTemplateResource) PartialUpdateSmsTemplate

func (m *SmsTemplateResource) PartialUpdateSmsTemplate(ctx context.Context, templateId string, body SmsTemplate) (*SmsTemplate, *Response, error)

Updates only some of the SMS template properties:

func (*SmsTemplateResource) UpdateSmsTemplate

func (m *SmsTemplateResource) UpdateSmsTemplate(ctx context.Context, templateId string, body SmsTemplate) (*SmsTemplate, *Response, error)

Updates the SMS template.

type SmsTemplateTranslations

type SmsTemplateTranslations map[string]interface{}

type SocialAuthToken

type SocialAuthToken struct {
	ExpiresAt       *time.Time `json:"expiresAt,omitempty"`
	Id              string     `json:"id,omitempty"`
	Scopes          []string   `json:"scopes,omitempty"`
	Token           string     `json:"token,omitempty"`
	TokenAuthScheme string     `json:"tokenAuthScheme,omitempty"`
	TokenType       string     `json:"tokenType,omitempty"`
}

func (*SocialAuthToken) UnmarshalJSON

func (a *SocialAuthToken) UnmarshalJSON(data []byte) error

type SpCertificate

type SpCertificate struct {
	X5c []string `json:"x5c,omitempty"`
}

type Subscription

type Subscription struct {
	Links            interface{} `json:"_links,omitempty"`
	Channels         []string    `json:"channels,omitempty"`
	NotificationType string      `json:"notificationType,omitempty"`
	Status           string      `json:"status,omitempty"`
}

type SubscriptionResource

type SubscriptionResource resource

func (*SubscriptionResource) GetRoleSubscriptionByNotificationType

func (m *SubscriptionResource) GetRoleSubscriptionByNotificationType(ctx context.Context, roleTypeOrRoleId, notificationType string) (*Subscription, *Response, error)

When roleType Get subscriptions of a Role with a specific notification type. Else when roleId Get subscription of a Custom Role with a specific notification type.

func (*SubscriptionResource) ListRoleSubscriptions

func (m *SubscriptionResource) ListRoleSubscriptions(ctx context.Context, roleTypeOrRoleId string) ([]*Subscription, *Response, error)

When roleType List all subscriptions of a Role. Else when roleId List subscriptions of a Custom Role

func (*SubscriptionResource) SubscribeRoleSubscriptionByNotificationType

func (m *SubscriptionResource) SubscribeRoleSubscriptionByNotificationType(ctx context.Context, roleTypeOrRoleId, notificationType string) (*Response, error)

When roleType Subscribes a Role to a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Subscribes a Custom Role to a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.

func (*SubscriptionResource) SubscribeUserSubscriptionByNotificationType

func (m *SubscriptionResource) SubscribeUserSubscriptionByNotificationType(ctx context.Context, userId, notificationType string) (*Response, error)

Subscribes a User to a specific notification type. Only the current User can subscribe to a specific notification type. An AccessDeniedException message is sent if requests are made from other users.

func (*SubscriptionResource) UnsubscribeRoleSubscriptionByNotificationType

func (m *SubscriptionResource) UnsubscribeRoleSubscriptionByNotificationType(ctx context.Context, roleTypeOrRoleId, notificationType string) (*Response, error)

When roleType Unsubscribes a Role from a specific notification type. When you change the subscription status of a Role, it overrides the subscription of any individual user of that Role. Else when roleId Unsubscribes a Custom Role from a specific notification type. When you change the subscription status of a Custom Role, it overrides the subscription of any individual user of that Custom Role.

func (*SubscriptionResource) UnsubscribeUserSubscriptionByNotificationType

func (m *SubscriptionResource) UnsubscribeUserSubscriptionByNotificationType(ctx context.Context, userId, notificationType string) (*Response, error)

Unsubscribes a User from a specific notification type. Only the current User can unsubscribe from a specific notification type. An AccessDeniedException message is sent if requests are made from other users.

type SwaApplication

type SwaApplication struct {
	Credentials   *SchemeApplicationCredentials `json:"credentials,omitempty"`
	Embedded      interface{}                   `json:"_embedded,omitempty"`
	Links         interface{}                   `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility     `json:"accessibility,omitempty"`
	Created       *time.Time                    `json:"created,omitempty"`
	Features      []string                      `json:"features,omitempty"`
	Id            string                        `json:"id,omitempty"`
	Label         string                        `json:"label,omitempty"`
	LastUpdated   *time.Time                    `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing         `json:"licensing,omitempty"`
	Name          string                        `json:"name,omitempty"`
	Profile       interface{}                   `json:"profile,omitempty"`
	Settings      *SwaApplicationSettings       `json:"settings,omitempty"`
	SignOnMode    string                        `json:"signOnMode,omitempty"`
	Status        string                        `json:"status,omitempty"`
	Visibility    *ApplicationVisibility        `json:"visibility,omitempty"`
}

func NewSwaApplication

func NewSwaApplication() *SwaApplication

func (*SwaApplication) IsApplicationInstance

func (a *SwaApplication) IsApplicationInstance() bool

type SwaApplicationSettings

type SwaApplicationSettings struct {
	App                *SwaApplicationSettingsApplication `json:"app,omitempty"`
	ImplicitAssignment *bool                              `json:"implicitAssignment,omitempty"`
	InlineHookId       string                             `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes          `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications  `json:"notifications,omitempty"`
}

type SwaApplicationSettingsApplication

type SwaApplicationSettingsApplication struct {
	ButtonField   string `json:"buttonField,omitempty"`
	Checkbox      string `json:"checkbox,omitempty"`
	LoginUrlRegex string `json:"loginUrlRegex,omitempty"`
	PasswordField string `json:"passwordField,omitempty"`
	RedirectUrl   string `json:"redirectUrl,omitempty"`
	Url           string `json:"url,omitempty"`
	UsernameField string `json:"usernameField,omitempty"`
}

type SwaThreeFieldApplication

type SwaThreeFieldApplication struct {
	Credentials   *SchemeApplicationCredentials     `json:"credentials,omitempty"`
	Embedded      interface{}                       `json:"_embedded,omitempty"`
	Links         interface{}                       `json:"_links,omitempty"`
	Accessibility *ApplicationAccessibility         `json:"accessibility,omitempty"`
	Created       *time.Time                        `json:"created,omitempty"`
	Features      []string                          `json:"features,omitempty"`
	Id            string                            `json:"id,omitempty"`
	Label         string                            `json:"label,omitempty"`
	LastUpdated   *time.Time                        `json:"lastUpdated,omitempty"`
	Licensing     *ApplicationLicensing             `json:"licensing,omitempty"`
	Name          string                            `json:"name,omitempty"`
	Profile       interface{}                       `json:"profile,omitempty"`
	Settings      *SwaThreeFieldApplicationSettings `json:"settings,omitempty"`
	SignOnMode    string                            `json:"signOnMode,omitempty"`
	Status        string                            `json:"status,omitempty"`
	Visibility    *ApplicationVisibility            `json:"visibility,omitempty"`
}

func NewSwaThreeFieldApplication

func NewSwaThreeFieldApplication() *SwaThreeFieldApplication

func (*SwaThreeFieldApplication) IsApplicationInstance

func (a *SwaThreeFieldApplication) IsApplicationInstance() bool

type SwaThreeFieldApplicationSettings

type SwaThreeFieldApplicationSettings struct {
	App                *SwaThreeFieldApplicationSettingsApplication `json:"app,omitempty"`
	ImplicitAssignment *bool                                        `json:"implicitAssignment,omitempty"`
	InlineHookId       string                                       `json:"inlineHookId,omitempty"`
	Notes              *ApplicationSettingsNotes                    `json:"notes,omitempty"`
	Notifications      *ApplicationSettingsNotifications            `json:"notifications,omitempty"`
}

type SwaThreeFieldApplicationSettingsApplication

type SwaThreeFieldApplicationSettingsApplication struct {
	ButtonSelector     string `json:"buttonSelector,omitempty"`
	ExtraFieldSelector string `json:"extraFieldSelector,omitempty"`
	ExtraFieldValue    string `json:"extraFieldValue,omitempty"`
	LoginUrlRegex      string `json:"loginUrlRegex,omitempty"`
	PasswordSelector   string `json:"passwordSelector,omitempty"`
	TargetURL          string `json:"targetURL,omitempty"`
	UserNameSelector   string `json:"userNameSelector,omitempty"`
}

type TempPassword

type TempPassword struct {
	TempPassword string `json:"tempPassword,omitempty"`
}

type Terms

type Terms struct {
	Format string `json:"format,omitempty"`
	Value  string `json:"value,omitempty"`
}

type Theme

type Theme struct {
	Links                             interface{} `json:"_links,omitempty"`
	BackgroundImage                   string      `json:"backgroundImage,omitempty"`
	EmailTemplateTouchPointVariant    string      `json:"emailTemplateTouchPointVariant,omitempty"`
	EndUserDashboardTouchPointVariant string      `json:"endUserDashboardTouchPointVariant,omitempty"`
	ErrorPageTouchPointVariant        string      `json:"errorPageTouchPointVariant,omitempty"`
	PrimaryColorContrastHex           string      `json:"primaryColorContrastHex,omitempty"`
	PrimaryColorHex                   string      `json:"primaryColorHex,omitempty"`
	SecondaryColorContrastHex         string      `json:"secondaryColorContrastHex,omitempty"`
	SecondaryColorHex                 string      `json:"secondaryColorHex,omitempty"`
	SignInPageTouchPointVariant       string      `json:"signInPageTouchPointVariant,omitempty"`
}

type ThemeResource

type ThemeResource resource

func (*ThemeResource) GetBrandTheme

func (m *ThemeResource) GetBrandTheme(ctx context.Context, brandId, themeId string) (*ThemeResponse, *Response, error)

Fetches a theme for a brand

func (*ThemeResource) UpdateBrandTheme

func (m *ThemeResource) UpdateBrandTheme(ctx context.Context, brandId, themeId string, body Theme) (*ThemeResponse, *Response, error)

Updates a theme for a brand

type ThemeResponse

type ThemeResponse struct {
	Links                             interface{} `json:"_links,omitempty"`
	BackgroundImage                   string      `json:"backgroundImage,omitempty"`
	EmailTemplateTouchPointVariant    string      `json:"emailTemplateTouchPointVariant,omitempty"`
	EndUserDashboardTouchPointVariant string      `json:"endUserDashboardTouchPointVariant,omitempty"`
	ErrorPageTouchPointVariant        string      `json:"errorPageTouchPointVariant,omitempty"`
	Favicon                           string      `json:"favicon,omitempty"`
	Id                                string      `json:"id,omitempty"`
	PrimaryColorContrastHex           string      `json:"primaryColorContrastHex,omitempty"`
	PrimaryColorHex                   string      `json:"primaryColorHex,omitempty"`
	SecondaryColorContrastHex         string      `json:"secondaryColorContrastHex,omitempty"`
	SecondaryColorHex                 string      `json:"secondaryColorHex,omitempty"`
	SignInPageTouchPointVariant       string      `json:"signInPageTouchPointVariant,omitempty"`
}

type ThreatInsightConfiguration

type ThreatInsightConfiguration struct {
	Links        interface{} `json:"_links,omitempty"`
	Action       string      `json:"action,omitempty"`
	Created      *time.Time  `json:"created,omitempty"`
	ExcludeZones []string    `json:"excludeZones,omitempty"`
	LastUpdated  *time.Time  `json:"lastUpdated,omitempty"`
}

type ThreatInsightConfigurationResource

type ThreatInsightConfigurationResource resource

func (*ThreatInsightConfigurationResource) GetCurrentConfiguration

Gets current ThreatInsight configuration

func (*ThreatInsightConfigurationResource) UpdateConfiguration

Updates ThreatInsight configuration

type TokenAuthorizationServerPolicyRuleAction

type TokenAuthorizationServerPolicyRuleAction struct {
	AccessTokenLifetimeMinutes     int64                                               `json:"-"`
	AccessTokenLifetimeMinutesPtr  *int64                                              `json:"accessTokenLifetimeMinutes"`
	InlineHook                     *TokenAuthorizationServerPolicyRuleActionInlineHook `json:"inlineHook,omitempty"`
	RefreshTokenLifetimeMinutes    int64                                               `json:"-"`
	RefreshTokenLifetimeMinutesPtr *int64                                              `json:"refreshTokenLifetimeMinutes"`
	RefreshTokenWindowMinutes      int64                                               `json:"-"`
	RefreshTokenWindowMinutesPtr   *int64                                              `json:"refreshTokenWindowMinutes"`
}

func (*TokenAuthorizationServerPolicyRuleAction) MarshalJSON

func (a *TokenAuthorizationServerPolicyRuleAction) MarshalJSON() ([]byte, error)

func (*TokenAuthorizationServerPolicyRuleAction) UnmarshalJSON

func (a *TokenAuthorizationServerPolicyRuleAction) UnmarshalJSON(data []byte) error

type TokenAuthorizationServerPolicyRuleActionInlineHook

type TokenAuthorizationServerPolicyRuleActionInlineHook struct {
	Id string `json:"id,omitempty"`
}

type TrustedOrigin

type TrustedOrigin struct {
	Links         interface{} `json:"_links,omitempty"`
	Created       *time.Time  `json:"created,omitempty"`
	CreatedBy     string      `json:"createdBy,omitempty"`
	Id            string      `json:"id,omitempty"`
	LastUpdated   *time.Time  `json:"lastUpdated,omitempty"`
	LastUpdatedBy string      `json:"lastUpdatedBy,omitempty"`
	Name          string      `json:"name,omitempty"`
	Origin        string      `json:"origin,omitempty"`
	Scopes        []*Scope    `json:"scopes,omitempty"`
	Status        string      `json:"status,omitempty"`
}

type TrustedOriginResource

type TrustedOriginResource resource

func (*TrustedOriginResource) ActivateOrigin

func (m *TrustedOriginResource) ActivateOrigin(ctx context.Context, trustedOriginId string) (*TrustedOrigin, *Response, error)

func (*TrustedOriginResource) CreateOrigin

func (*TrustedOriginResource) DeactivateOrigin

func (m *TrustedOriginResource) DeactivateOrigin(ctx context.Context, trustedOriginId string) (*TrustedOrigin, *Response, error)

func (*TrustedOriginResource) DeleteOrigin

func (m *TrustedOriginResource) DeleteOrigin(ctx context.Context, trustedOriginId string) (*Response, error)

func (*TrustedOriginResource) GetOrigin

func (m *TrustedOriginResource) GetOrigin(ctx context.Context, trustedOriginId string) (*TrustedOrigin, *Response, error)

func (*TrustedOriginResource) ListOrigins

func (m *TrustedOriginResource) ListOrigins(ctx context.Context, qp *query.Params) ([]*TrustedOrigin, *Response, error)

func (*TrustedOriginResource) UpdateOrigin

func (m *TrustedOriginResource) UpdateOrigin(ctx context.Context, trustedOriginId string, body TrustedOrigin) (*TrustedOrigin, *Response, error)

type User

type User struct {
	Embedded              interface{}      `json:"_embedded,omitempty"`
	Links                 interface{}      `json:"_links,omitempty"`
	Activated             *time.Time       `json:"activated,omitempty"`
	Created               *time.Time       `json:"created,omitempty"`
	Credentials           *UserCredentials `json:"credentials,omitempty"`
	Id                    string           `json:"id,omitempty"`
	LastLogin             *time.Time       `json:"lastLogin,omitempty"`
	LastUpdated           *time.Time       `json:"lastUpdated,omitempty"`
	PasswordChanged       *time.Time       `json:"passwordChanged,omitempty"`
	Profile               *UserProfile     `json:"profile,omitempty"`
	Status                string           `json:"status,omitempty"`
	StatusChanged         *time.Time       `json:"statusChanged,omitempty"`
	TransitioningToStatus string           `json:"transitioningToStatus,omitempty"`
	Type                  *UserType        `json:"type,omitempty"`
}

type UserActivationToken

type UserActivationToken struct {
	ActivationToken string `json:"activationToken,omitempty"`
	ActivationUrl   string `json:"activationUrl,omitempty"`
}

type UserAgent

type UserAgent struct {
	// contains filtered or unexported fields
}

func NewUserAgent

func NewUserAgent(config *config) UserAgent

func (UserAgent) String

func (ua UserAgent) String() string

type UserCondition

type UserCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

func NewUserCondition

func NewUserCondition() *UserCondition

func (*UserCondition) IsPolicyInstance

func (a *UserCondition) IsPolicyInstance() bool

type UserCredentials

type UserCredentials struct {
	Password         *PasswordCredential         `json:"password,omitempty"`
	Provider         *AuthenticationProvider     `json:"provider,omitempty"`
	RecoveryQuestion *RecoveryQuestionCredential `json:"recovery_question,omitempty"`
}

type UserFactor

type UserFactor struct {
	Embedded    interface{}          `json:"_embedded,omitempty"`
	Links       interface{}          `json:"_links,omitempty"`
	Created     *time.Time           `json:"created,omitempty"`
	FactorType  string               `json:"factorType,omitempty"`
	Id          string               `json:"id,omitempty"`
	LastUpdated *time.Time           `json:"lastUpdated,omitempty"`
	Provider    string               `json:"provider,omitempty"`
	Status      string               `json:"status,omitempty"`
	Verify      *VerifyFactorRequest `json:"verify,omitempty"`
}

func NewUserFactor

func NewUserFactor() *UserFactor

func (*UserFactor) IsUserFactorInstance

func (a *UserFactor) IsUserFactorInstance() bool

type UserFactorResource

type UserFactorResource resource

func (*UserFactorResource) ActivateFactor

func (m *UserFactorResource) ActivateFactor(ctx context.Context, userId, factorId string, body ActivateFactorRequest, factorInstance Factor) (Factor, *Response, error)

The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.

func (*UserFactorResource) DeleteFactor

func (m *UserFactorResource) DeleteFactor(ctx context.Context, userId, factorId string) (*Response, error)

Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.

func (*UserFactorResource) EnrollFactor

func (m *UserFactorResource) EnrollFactor(ctx context.Context, userId string, body Factor, qp *query.Params) (Factor, *Response, error)

Enrolls a user with a supported factor.

func (*UserFactorResource) GetFactor

func (m *UserFactorResource) GetFactor(ctx context.Context, userId, factorId string, factorInstance Factor) (Factor, *Response, error)

Fetches a factor for the specified user

func (*UserFactorResource) GetFactorTransactionStatus

func (m *UserFactorResource) GetFactorTransactionStatus(ctx context.Context, userId, factorId, transactionId string) (*VerifyUserFactorResponse, *Response, error)

Polls factors verification transaction for status.

func (*UserFactorResource) ListFactors

func (m *UserFactorResource) ListFactors(ctx context.Context, userId string) ([]Factor, *Response, error)

Enumerates all the enrolled factors for the specified user

func (*UserFactorResource) ListSupportedFactors

func (m *UserFactorResource) ListSupportedFactors(ctx context.Context, userId string) ([]Factor, *Response, error)

Enumerates all the supported factors that can be enrolled for the specified user

func (*UserFactorResource) ListSupportedSecurityQuestions

func (m *UserFactorResource) ListSupportedSecurityQuestions(ctx context.Context, userId string) ([]*SecurityQuestion, *Response, error)

Enumerates all available security questions for a user's `question` factor

func (*UserFactorResource) VerifyFactor

func (m *UserFactorResource) VerifyFactor(ctx context.Context, userId, factorId string, body VerifyFactorRequest, factorInstance Factor, qp *query.Params) (*VerifyUserFactorResponse, *Response, error)

Verifies an OTP for a `token` or `token:hardware` factor

type UserIdString

type UserIdString struct {
	Links  interface{} `json:"_links,omitempty"`
	UserId string      `json:"userId,omitempty"`
}

type UserIdentifierConditionEvaluatorPattern

type UserIdentifierConditionEvaluatorPattern struct {
	MatchType string `json:"matchType,omitempty"`
	Value     string `json:"value,omitempty"`
}

func NewUserIdentifierConditionEvaluatorPattern

func NewUserIdentifierConditionEvaluatorPattern() *UserIdentifierConditionEvaluatorPattern

func (*UserIdentifierConditionEvaluatorPattern) IsPolicyInstance

func (a *UserIdentifierConditionEvaluatorPattern) IsPolicyInstance() bool

type UserIdentifierPolicyRuleCondition

type UserIdentifierPolicyRuleCondition struct {
	Attribute string                                     `json:"attribute,omitempty"`
	Patterns  []*UserIdentifierConditionEvaluatorPattern `json:"patterns,omitempty"`
	Type      string                                     `json:"type,omitempty"`
}

func NewUserIdentifierPolicyRuleCondition

func NewUserIdentifierPolicyRuleCondition() *UserIdentifierPolicyRuleCondition

func (*UserIdentifierPolicyRuleCondition) IsPolicyInstance

func (a *UserIdentifierPolicyRuleCondition) IsPolicyInstance() bool

type UserIdentityProviderLinkRequest

type UserIdentityProviderLinkRequest struct {
	ExternalId string `json:"externalId,omitempty"`
}

func NewUserIdentityProviderLinkRequest

func NewUserIdentityProviderLinkRequest() *UserIdentityProviderLinkRequest

func (*UserIdentityProviderLinkRequest) IsPolicyInstance

func (a *UserIdentityProviderLinkRequest) IsPolicyInstance() bool

type UserLifecycleAttributePolicyRuleCondition

type UserLifecycleAttributePolicyRuleCondition struct {
	AttributeName string `json:"attributeName,omitempty"`
	MatchingValue string `json:"matchingValue,omitempty"`
}

func NewUserLifecycleAttributePolicyRuleCondition

func NewUserLifecycleAttributePolicyRuleCondition() *UserLifecycleAttributePolicyRuleCondition

func (*UserLifecycleAttributePolicyRuleCondition) IsPolicyInstance

func (a *UserLifecycleAttributePolicyRuleCondition) IsPolicyInstance() bool

type UserPolicyRuleCondition

type UserPolicyRuleCondition struct {
	Exclude                []string                                   `json:"exclude,omitempty"`
	Inactivity             *InactivityPolicyRuleCondition             `json:"inactivity,omitempty"`
	Include                []string                                   `json:"include,omitempty"`
	LifecycleExpiration    *LifecycleExpirationPolicyRuleCondition    `json:"lifecycleExpiration,omitempty"`
	PasswordExpiration     *PasswordExpirationPolicyRuleCondition     `json:"passwordExpiration,omitempty"`
	UserLifecycleAttribute *UserLifecycleAttributePolicyRuleCondition `json:"userLifecycleAttribute,omitempty"`
}

func NewUserPolicyRuleCondition

func NewUserPolicyRuleCondition() *UserPolicyRuleCondition

func (*UserPolicyRuleCondition) IsPolicyInstance

func (a *UserPolicyRuleCondition) IsPolicyInstance() bool

type UserProfile

type UserProfile map[string]interface{}

type UserResource

type UserResource resource

func (*UserResource) ActivateUser

func (m *UserResource) ActivateUser(ctx context.Context, userId string, qp *query.Params) (*UserActivationToken, *Response, error)

Activates a user. This operation can only be performed on users with a `STAGED` status. Activation of a user is an asynchronous operation. The user will have the `transitioningToStatus` property with a value of `ACTIVE` during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of `ACTIVE` when the activation process is complete.

func (*UserResource) AddAllAppsAsTargetToRole

func (m *UserResource) AddAllAppsAsTargetToRole(ctx context.Context, userId, roleId string) (*Response, error)

func (*UserResource) AddApplicationTargetToAdminRoleForUser

func (m *UserResource) AddApplicationTargetToAdminRoleForUser(ctx context.Context, userId, roleId, appName string) (*Response, error)

func (*UserResource) AddApplicationTargetToAppAdminRoleForUser

func (m *UserResource) AddApplicationTargetToAppAdminRoleForUser(ctx context.Context, userId, roleId, appName, applicationId string) (*Response, error)

Add App Instance Target to App Administrator Role given to a User

func (*UserResource) AddGroupTargetToRole

func (m *UserResource) AddGroupTargetToRole(ctx context.Context, userId, roleId, groupId string) (*Response, error)

func (*UserResource) AssignRoleToUser

func (m *UserResource) AssignRoleToUser(ctx context.Context, userId string, body AssignRoleRequest, qp *query.Params) (*Role, *Response, error)

Assigns a role to a user.

func (*UserResource) ChangePassword

func (m *UserResource) ChangePassword(ctx context.Context, userId string, body ChangePasswordRequest, qp *query.Params) (*UserCredentials, *Response, error)

Changes a user's password by validating the user's current password. This operation can only be performed on users in `STAGED`, `ACTIVE`, `PASSWORD_EXPIRED`, or `RECOVERY` status that have a valid password credential

func (*UserResource) ChangeRecoveryQuestion

func (m *UserResource) ChangeRecoveryQuestion(ctx context.Context, userId string, body UserCredentials) (*UserCredentials, *Response, error)

Changes a user's recovery question & answer credential by validating the user's current password. This operation can only be performed on users in **STAGED**, **ACTIVE** or **RECOVERY** `status` that have a valid password credential

func (*UserResource) ClearUserSessions

func (m *UserResource) ClearUserSessions(ctx context.Context, userId string, qp *query.Params) (*Response, error)

Removes all active identity provider sessions. This forces the user to authenticate on the next operation. Optionally revokes OpenID Connect and OAuth refresh and access tokens issued to the user.

func (*UserResource) CreateUser

func (m *UserResource) CreateUser(ctx context.Context, body CreateUserRequest, qp *query.Params) (*User, *Response, error)

Creates a new user in your Okta organization with or without credentials.

func (*UserResource) DeactivateOrDeleteUser

func (m *UserResource) DeactivateOrDeleteUser(ctx context.Context, userId string, qp *query.Params) (*Response, error)

Deletes a user permanently. This operation can only be performed on users that have a `DEPROVISIONED` status. **This action cannot be recovered!**

func (*UserResource) DeactivateUser

func (m *UserResource) DeactivateUser(ctx context.Context, userId string, qp *query.Params) (*Response, error)

Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.

func (*UserResource) ExpirePassword

func (m *UserResource) ExpirePassword(ctx context.Context, userId string) (*User, *Response, error)

This operation transitions the user to the status of `PASSWORD_EXPIRED` so that the user is required to change their password at their next login.

func (*UserResource) ExpirePasswordAndGetTemporaryPassword

func (m *UserResource) ExpirePasswordAndGetTemporaryPassword(ctx context.Context, userId string) (*TempPassword, *Response, error)

This operation transitions the user to the status of `PASSWORD_EXPIRED` and the user's password is reset to a temporary password that is returned.

func (*UserResource) ForgotPasswordGenerateOneTimeToken

func (m *UserResource) ForgotPasswordGenerateOneTimeToken(ctx context.Context, userId string, qp *query.Params) (*ForgotPasswordResponse, *Response, error)

Generates a one-time token (OTT) that can be used to reset a user's password

func (*UserResource) ForgotPasswordSetNewPassword

func (m *UserResource) ForgotPasswordSetNewPassword(ctx context.Context, userId string, body UserCredentials, qp *query.Params) (*ForgotPasswordResponse, *Response, error)

Sets a new password for a user by validating the user's answer to their current recovery question

func (*UserResource) GetLinkedObjectsForUser

func (m *UserResource) GetLinkedObjectsForUser(ctx context.Context, userId, relationshipName string, qp *query.Params) ([]*ResponseLinks, *Response, error)

Get linked objects for a user, relationshipName can be a primary or associated relationship name

func (*UserResource) GetRefreshTokenForUserAndClient

func (m *UserResource) GetRefreshTokenForUserAndClient(ctx context.Context, userId, clientId, tokenId string, qp *query.Params) (*OAuth2RefreshToken, *Response, error)

Gets a refresh token issued for the specified User and Client.

func (*UserResource) GetUser

func (m *UserResource) GetUser(ctx context.Context, userId string) (*User, *Response, error)

Fetches a user from your Okta organization.

func (*UserResource) GetUserGrant

func (m *UserResource) GetUserGrant(ctx context.Context, userId, grantId string, qp *query.Params) (*OAuth2ScopeConsentGrant, *Response, error)

Gets a grant for the specified user

func (*UserResource) GetUserRole

func (m *UserResource) GetUserRole(ctx context.Context, userId, roleId string) (*Role, *Response, error)

Gets role that is assigne to user.

func (*UserResource) GetUserSubscriptionByNotificationType

func (m *UserResource) GetUserSubscriptionByNotificationType(ctx context.Context, userId, notificationType string) (*Subscription, *Response, error)

Get the subscriptions of a User with a specific notification type. Only gets subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.

func (m *UserResource) ListAppLinks(ctx context.Context, userId string) ([]*AppLink, *Response, error)

Fetches appLinks for all direct or indirect (via group membership) assigned applications.

func (*UserResource) ListApplicationTargetsForApplicationAdministratorRoleForUser

func (m *UserResource) ListApplicationTargetsForApplicationAdministratorRoleForUser(ctx context.Context, userId, roleId string, qp *query.Params) ([]*CatalogApplication, *Response, error)

Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.

func (*UserResource) ListAssignedRolesForUser

func (m *UserResource) ListAssignedRolesForUser(ctx context.Context, userId string, qp *query.Params) ([]*Role, *Response, error)

Lists all roles assigned to a user.

func (*UserResource) ListGrantsForUserAndClient

func (m *UserResource) ListGrantsForUserAndClient(ctx context.Context, userId, clientId string, qp *query.Params) ([]*OAuth2ScopeConsentGrant, *Response, error)

Lists all grants for a specified user and client

func (*UserResource) ListGroupTargetsForRole

func (m *UserResource) ListGroupTargetsForRole(ctx context.Context, userId, roleId string, qp *query.Params) ([]*Group, *Response, error)

func (*UserResource) ListRefreshTokensForUserAndClient

func (m *UserResource) ListRefreshTokensForUserAndClient(ctx context.Context, userId, clientId string, qp *query.Params) ([]*OAuth2RefreshToken, *Response, error)

Lists all refresh tokens issued for the specified User and Client.

func (*UserResource) ListUserClients

func (m *UserResource) ListUserClients(ctx context.Context, userId string) ([]*OAuth2Client, *Response, error)

Lists all client resources for which the specified user has grants or tokens.

func (*UserResource) ListUserGrants

func (m *UserResource) ListUserGrants(ctx context.Context, userId string, qp *query.Params) ([]*OAuth2ScopeConsentGrant, *Response, error)

Lists all grants for the specified user

func (*UserResource) ListUserGroups

func (m *UserResource) ListUserGroups(ctx context.Context, userId string) ([]*Group, *Response, error)

Fetches the groups of which the user is a member.

func (*UserResource) ListUserIdentityProviders

func (m *UserResource) ListUserIdentityProviders(ctx context.Context, userId string) ([]*IdentityProvider, *Response, error)

Lists the IdPs associated with the user.

func (*UserResource) ListUserSubscriptions

func (m *UserResource) ListUserSubscriptions(ctx context.Context, userId string) ([]*Subscription, *Response, error)

List subscriptions of a User. Only lists subscriptions for current user. An AccessDeniedException message is sent if requests are made from other users.

func (*UserResource) ListUsers

func (m *UserResource) ListUsers(ctx context.Context, qp *query.Params) ([]*User, *Response, error)

Lists users that do not have a status of 'DEPROVISIONED' (by default), up to the maximum (200 for most orgs), with pagination in most cases. A subset of users can be returned that match a supported filter expression or search criteria.

func (*UserResource) PartialUpdateUser

func (m *UserResource) PartialUpdateUser(ctx context.Context, userId string, body User, qp *query.Params) (*User, *Response, error)

Update a user's profile or credentials with partial update semantics.

func (*UserResource) ReactivateUser

func (m *UserResource) ReactivateUser(ctx context.Context, userId string, qp *query.Params) (*UserActivationToken, *Response, error)

Reactivates a user. This operation can only be performed on users with a `PROVISIONED` status. This operation restarts the activation workflow if for some reason the user activation was not completed when using the activationToken from [Activate User](#activate-user).

func (*UserResource) RemoveApplicationTargetFromAdministratorRoleForUser

func (m *UserResource) RemoveApplicationTargetFromAdministratorRoleForUser(ctx context.Context, userId, roleId, appName, applicationId string) (*Response, error)

Remove App Instance Target to App Administrator Role given to a User

func (*UserResource) RemoveApplicationTargetFromApplicationAdministratorRoleForUser

func (m *UserResource) RemoveApplicationTargetFromApplicationAdministratorRoleForUser(ctx context.Context, userId, roleId, appName string) (*Response, error)

func (*UserResource) RemoveGroupTargetFromRole

func (m *UserResource) RemoveGroupTargetFromRole(ctx context.Context, userId, roleId, groupId string) (*Response, error)

func (*UserResource) RemoveLinkedObjectForUser

func (m *UserResource) RemoveLinkedObjectForUser(ctx context.Context, userId, relationshipName string) (*Response, error)

Delete linked objects for a user, relationshipName can be ONLY a primary relationship name

func (*UserResource) RemoveRoleFromUser

func (m *UserResource) RemoveRoleFromUser(ctx context.Context, userId, roleId string) (*Response, error)

Unassigns a role from a user.

func (*UserResource) ResetFactors

func (m *UserResource) ResetFactors(ctx context.Context, userId string) (*Response, error)

This operation resets all factors for the specified user. All MFA factor enrollments returned to the unenrolled state. The user's status remains ACTIVE. This link is present only if the user is currently enrolled in one or more MFA factors.

func (*UserResource) ResetPassword

func (m *UserResource) ResetPassword(ctx context.Context, userId string, qp *query.Params) (*ResetPasswordToken, *Response, error)

Generates a one-time token (OTT) that can be used to reset a user's password. The OTT link can be automatically emailed to the user or returned to the API caller and distributed using a custom flow.

func (*UserResource) RevokeGrantsForUserAndClient

func (m *UserResource) RevokeGrantsForUserAndClient(ctx context.Context, userId, clientId string) (*Response, error)

Revokes all grants for the specified user and client

func (*UserResource) RevokeTokenForUserAndClient

func (m *UserResource) RevokeTokenForUserAndClient(ctx context.Context, userId, clientId, tokenId string) (*Response, error)

Revokes the specified refresh token.

func (*UserResource) RevokeTokensForUserAndClient

func (m *UserResource) RevokeTokensForUserAndClient(ctx context.Context, userId, clientId string) (*Response, error)

Revokes all refresh tokens issued for the specified User and Client.

func (*UserResource) RevokeUserGrant

func (m *UserResource) RevokeUserGrant(ctx context.Context, userId, grantId string) (*Response, error)

Revokes one grant for a specified user

func (*UserResource) RevokeUserGrants

func (m *UserResource) RevokeUserGrants(ctx context.Context, userId string) (*Response, error)

Revokes all grants for a specified user

func (*UserResource) SetLinkedObjectForUser

func (m *UserResource) SetLinkedObjectForUser(ctx context.Context, associatedUserId, primaryRelationshipName, primaryUserId string) (*Response, error)

func (*UserResource) SuspendUser

func (m *UserResource) SuspendUser(ctx context.Context, userId string) (*Response, error)

Suspends a user. This operation can only be performed on users with an `ACTIVE` status. The user will have a status of `SUSPENDED` when the process is complete.

func (*UserResource) UnlockUser

func (m *UserResource) UnlockUser(ctx context.Context, userId string) (*Response, error)

Unlocks a user with a `LOCKED_OUT` status and returns them to `ACTIVE` status. Users will be able to login with their current password.

func (*UserResource) UnsuspendUser

func (m *UserResource) UnsuspendUser(ctx context.Context, userId string) (*Response, error)

Unsuspends a user and returns them to the `ACTIVE` state. This operation can only be performed on users that have a `SUSPENDED` status.

func (*UserResource) UpdateUser

func (m *UserResource) UpdateUser(ctx context.Context, userId string, body User, qp *query.Params) (*User, *Response, error)

Update a user's profile and/or credentials using strict-update semantics.

type UserSchema

type UserSchema struct {
	Schema      string                 `json:"$schema,omitempty"`
	Links       interface{}            `json:"_links,omitempty"`
	Created     string                 `json:"created,omitempty"`
	Definitions *UserSchemaDefinitions `json:"definitions,omitempty"`
	Id          string                 `json:"id,omitempty"`
	LastUpdated string                 `json:"lastUpdated,omitempty"`
	Name        string                 `json:"name,omitempty"`
	Properties  *UserSchemaProperties  `json:"properties,omitempty"`
	Title       string                 `json:"title,omitempty"`
	Type        string                 `json:"type,omitempty"`
}

type UserSchemaAttribute

type UserSchemaAttribute struct {
	Description       string                           `json:"description,omitempty"`
	Enum              []interface{}                    `json:"enum,omitempty"`
	ExternalName      string                           `json:"externalName,omitempty"`
	ExternalNamespace string                           `json:"externalNamespace,omitempty"`
	Items             *UserSchemaAttributeItems        `json:"items,omitempty"`
	Master            *UserSchemaAttributeMaster       `json:"master,omitempty"`
	MaxLength         int64                            `json:"-"`
	MaxLengthPtr      *int64                           `json:"maxLength,omitempty"`
	MinLength         int64                            `json:"-"`
	MinLengthPtr      *int64                           `json:"minLength,omitempty"`
	Mutability        string                           `json:"mutability,omitempty"`
	OneOf             []*UserSchemaAttributeEnum       `json:"oneOf,omitempty"`
	Pattern           *string                          `json:"pattern,omitempty"`
	Permissions       []*UserSchemaAttributePermission `json:"permissions,omitempty"`
	Required          *bool                            `json:"required,omitempty"`
	Scope             string                           `json:"scope,omitempty"`
	Title             string                           `json:"title,omitempty"`
	Type              string                           `json:"type,omitempty"`
	Union             string                           `json:"union,omitempty"`
	Unique            string                           `json:"unique,omitempty"`
}

func (*UserSchemaAttribute) MarshalJSON

func (a *UserSchemaAttribute) MarshalJSON() ([]byte, error)

func (*UserSchemaAttribute) UnmarshalJSON

func (a *UserSchemaAttribute) UnmarshalJSON(data []byte) error

type UserSchemaAttributeEnum

type UserSchemaAttributeEnum struct {
	Const interface{} `json:"const,omitempty"`
	Title string      `json:"title,omitempty"`
}

type UserSchemaAttributeItems

type UserSchemaAttributeItems struct {
	Enum  []interface{}              `json:"enum,omitempty"`
	OneOf []*UserSchemaAttributeEnum `json:"oneOf,omitempty"`
	Type  string                     `json:"type,omitempty"`
}

type UserSchemaAttributeMaster

type UserSchemaAttributeMaster struct {
	Priority []*UserSchemaAttributeMasterPriority `json:"priority,omitempty"`
	Type     string                               `json:"type,omitempty"`
}

type UserSchemaAttributeMasterPriority

type UserSchemaAttributeMasterPriority struct {
	Type  string `json:"type,omitempty"`
	Value string `json:"value,omitempty"`
}

type UserSchemaAttributePermission

type UserSchemaAttributePermission struct {
	Action    string `json:"action,omitempty"`
	Principal string `json:"principal,omitempty"`
}

type UserSchemaBase

type UserSchemaBase struct {
	Id         string                          `json:"id,omitempty"`
	Properties map[string]*UserSchemaAttribute `json:"properties,omitempty"`
	Required   []string                        `json:"required,omitempty"`
	Type       string                          `json:"type,omitempty"`
}

type UserSchemaDefinitions

type UserSchemaDefinitions struct {
	Base   *UserSchemaBase   `json:"base,omitempty"`
	Custom *UserSchemaPublic `json:"custom,omitempty"`
}

type UserSchemaProperties

type UserSchemaProperties struct {
	Profile *UserSchemaPropertiesProfile `json:"profile,omitempty"`
}

type UserSchemaPropertiesProfile

type UserSchemaPropertiesProfile struct {
	AllOf []*UserSchemaPropertiesProfileItem `json:"allOf,omitempty"`
}

type UserSchemaPropertiesProfileItem

type UserSchemaPropertiesProfileItem struct {
	Ref string `json:"$ref,omitempty"`
}

type UserSchemaPublic

type UserSchemaPublic struct {
	Id         string                          `json:"id,omitempty"`
	Properties map[string]*UserSchemaAttribute `json:"properties,omitempty"`
	Required   []string                        `json:"required,omitempty"`
	Type       string                          `json:"type,omitempty"`
}

type UserSchemaResource

type UserSchemaResource resource

func (*UserSchemaResource) GetApplicationUserSchema

func (m *UserSchemaResource) GetApplicationUserSchema(ctx context.Context, appInstanceId string) (*UserSchema, *Response, error)

Fetches the Schema for an App User

func (*UserSchemaResource) GetUserSchema

func (m *UserSchemaResource) GetUserSchema(ctx context.Context, schemaId string) (*UserSchema, *Response, error)

Fetches the schema for a Schema Id.

func (*UserSchemaResource) UpdateApplicationUserProfile

func (m *UserSchemaResource) UpdateApplicationUserProfile(ctx context.Context, appInstanceId string, body UserSchema) (*UserSchema, *Response, error)

Partial updates on the User Profile properties of the Application User Schema.

func (*UserSchemaResource) UpdateUserProfile

func (m *UserSchemaResource) UpdateUserProfile(ctx context.Context, schemaId string, body UserSchema) (*UserSchema, *Response, error)

Partial updates on the User Profile properties of the user schema.

type UserStatusPolicyRuleCondition

type UserStatusPolicyRuleCondition struct {
	Value string `json:"value,omitempty"`
}

func NewUserStatusPolicyRuleCondition

func NewUserStatusPolicyRuleCondition() *UserStatusPolicyRuleCondition

func (*UserStatusPolicyRuleCondition) IsPolicyInstance

func (a *UserStatusPolicyRuleCondition) IsPolicyInstance() bool

type UserType

type UserType struct {
	Links         interface{} `json:"_links,omitempty"`
	Created       *time.Time  `json:"created,omitempty"`
	CreatedBy     string      `json:"createdBy,omitempty"`
	Default       *bool       `json:"default,omitempty"`
	Description   string      `json:"description,omitempty"`
	DisplayName   string      `json:"displayName,omitempty"`
	Id            string      `json:"id,omitempty"`
	LastUpdated   *time.Time  `json:"lastUpdated,omitempty"`
	LastUpdatedBy string      `json:"lastUpdatedBy,omitempty"`
	Name          string      `json:"name,omitempty"`
}

type UserTypeCondition

type UserTypeCondition struct {
	Exclude []string `json:"exclude,omitempty"`
	Include []string `json:"include,omitempty"`
}

func NewUserTypeCondition

func NewUserTypeCondition() *UserTypeCondition

func (*UserTypeCondition) IsPolicyInstance

func (a *UserTypeCondition) IsPolicyInstance() bool

type UserTypeResource

type UserTypeResource resource

func (*UserTypeResource) CreateUserType

func (m *UserTypeResource) CreateUserType(ctx context.Context, body UserType) (*UserType, *Response, error)

Creates a new User Type. A default User Type is automatically created along with your org, and you may add another 9 User Types for a maximum of 10.

func (*UserTypeResource) DeleteUserType

func (m *UserTypeResource) DeleteUserType(ctx context.Context, typeId string) (*Response, error)

Deletes a User Type permanently. This operation is not permitted for the default type, nor for any User Type that has existing users

func (*UserTypeResource) GetUserType

func (m *UserTypeResource) GetUserType(ctx context.Context, typeId string) (*UserType, *Response, error)

Fetches a User Type by ID. The special identifier `default` may be used to fetch the default User Type.

func (*UserTypeResource) ListUserTypes

func (m *UserTypeResource) ListUserTypes(ctx context.Context) ([]*UserType, *Response, error)

Fetches all User Types in your org

func (*UserTypeResource) ReplaceUserType

func (m *UserTypeResource) ReplaceUserType(ctx context.Context, typeId string, body UserType) (*UserType, *Response, error)

Replace an existing User Type

func (*UserTypeResource) UpdateUserType

func (m *UserTypeResource) UpdateUserType(ctx context.Context, typeId string, body UserType) (*UserType, *Response, error)

Updates an existing User Type

type VerificationMethod

type VerificationMethod struct {
	Constraints      []*AccessPolicyConstraints `json:"constraints,omitempty"`
	FactorMode       string                     `json:"factorMode,omitempty"`
	InactivityPeriod string                     `json:"inactivityPeriod,omitempty"`
	ReauthenticateIn string                     `json:"reauthenticateIn,omitempty"`
	Type             string                     `json:"type,omitempty"`
}

func NewVerificationMethod

func NewVerificationMethod() *VerificationMethod

func (*VerificationMethod) IsPolicyInstance

func (a *VerificationMethod) IsPolicyInstance() bool

type VerifyFactorRequest

type VerifyFactorRequest struct {
	ActivationToken  string `json:"activationToken,omitempty"`
	Answer           string `json:"answer,omitempty"`
	Attestation      string `json:"attestation,omitempty"`
	ClientData       string `json:"clientData,omitempty"`
	NextPassCode     string `json:"nextPassCode,omitempty"`
	PassCode         string `json:"passCode,omitempty"`
	RegistrationData string `json:"registrationData,omitempty"`
	StateToken       string `json:"stateToken,omitempty"`
}

func NewVerifyFactorRequest

func NewVerifyFactorRequest() *VerifyFactorRequest

func (*VerifyFactorRequest) IsUserFactorInstance

func (a *VerifyFactorRequest) IsUserFactorInstance() bool

type VerifyUserFactorResponse

type VerifyUserFactorResponse struct {
	Embedded            interface{} `json:"_embedded,omitempty"`
	Links               interface{} `json:"_links,omitempty"`
	ExpiresAt           *time.Time  `json:"expiresAt,omitempty"`
	FactorResult        string      `json:"factorResult,omitempty"`
	FactorResultMessage string      `json:"factorResultMessage,omitempty"`
}

func NewVerifyUserFactorResponse

func NewVerifyUserFactorResponse() *VerifyUserFactorResponse

func (*VerifyUserFactorResponse) IsUserFactorInstance

func (a *VerifyUserFactorResponse) IsUserFactorInstance() bool

Source Files

Directories

Path Synopsis
DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK
DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK
DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK
DO NOT EDIT LOCAL SDK - USE v3 okta-sdk-golang FOR API CALLS THAT DO NOT EXIST IN LOCAL SDK

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL