pub struct IdentityProviders {
    pub client: Client,
}

Fields

client: Client

Implementations

List Identity Providers.

This function performs a GET to the /api/v1/idps endpoint.

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

Parameters:

  • q: &str – Searches the name property of IdPs for matching value.
  • after: &str – Specifies the pagination cursor for the next page of IdPs.
  • limit: i64 – Specifies the number of IdP results in a page.
  • type_: &str – Filters IdPs by type.

List Identity Providers.

This function performs a GET to the /api/v1/idps endpoint.

As opposed to list, this function returns all the pages of the request at once.

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

Add Identity Provider.

This function performs a POST to the /api/v1/idps endpoint.

Adds a new IdP to your organization.

List Keys.

This function performs a GET to the /api/v1/idps/credentials/keys endpoint.

Enumerates IdP key credentials.

Parameters:

  • after: &str – Specifies the pagination cursor for the next page of keys.
  • limit: i64 – Specifies the number of key results in a page.

List Keys.

This function performs a GET to the /api/v1/idps/credentials/keys endpoint.

As opposed to list_keys, this function returns all the pages of the request at once.

Enumerates IdP key credentials.

Add X.509 Certificate Public Key.

This function performs a POST to the /api/v1/idps/credentials/keys endpoint.

Adds a new X.509 certificate credential to the IdP key store.

Get Key.

This function performs a GET to the /api/v1/idps/credentials/keys/{keyId} endpoint.

Gets a specific IdP Key Credential by kid

Parameters:

  • key_id: &str

Delete Key.

This function performs a DELETE to the /api/v1/idps/credentials/keys/{keyId} endpoint.

Deletes a specific IdP Key Credential by kid if it is not currently being used by an Active or Inactive IdP.

Parameters:

  • key_id: &str

Get Identity Provider.

This function performs a GET to the /api/v1/idps/{idpId} endpoint.

Fetches an IdP by id.

Parameters:

  • idp_id: &str

Update Identity Provider.

This function performs a PUT to the /api/v1/idps/{idpId} endpoint.

Updates the configuration for an IdP.

Parameters:

  • idp_id: &str

Delete Identity Provider.

This function performs a DELETE to the /api/v1/idps/{idpId} endpoint.

Removes an IdP from your organization.

Parameters:

  • idp_id: &str

List Certificate Signing Requests for IdP.

This function performs a GET to the /api/v1/idps/{idpId}/credentials/csrs endpoint.

Enumerates Certificate Signing Requests for an IdP

Parameters:

  • idp_id: &str

List Certificate Signing Requests for IdP.

This function performs a GET to the /api/v1/idps/{idpId}/credentials/csrs endpoint.

As opposed to list_csrs_for, this function returns all the pages of the request at once.

Enumerates Certificate Signing Requests for an IdP

Generate Certificate Signing Request for IdP.

This function performs a POST to the /api/v1/idps/{idpId}/credentials/csrs endpoint.

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

Parameters:

  • idp_id: &str

This function performs a GET to the /api/v1/idps/{idpId}/credentials/csrs/{csrId} endpoint.

Gets a specific Certificate Signing Request model by id

Parameters:

  • idp_id: &str
  • csr_id: &str

This function performs a DELETE to the /api/v1/idps/{idpId}/credentials/csrs/{csrId} endpoint.

Revoke a Certificate Signing Request and delete the key pair from the IdP

Parameters:

  • idp_id: &str
  • csr_id: &str

This function performs a POST to the /api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish endpoint.

Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.

Parameters:

  • idp_id: &str
  • csr_id: &str

List Signing Key Credentials for IdP.

This function performs a GET to the /api/v1/idps/{idpId}/credentials/keys endpoint.

Enumerates signing key credentials for an IdP

Parameters:

  • idp_id: &str

List Signing Key Credentials for IdP.

This function performs a GET to the /api/v1/idps/{idpId}/credentials/keys endpoint.

As opposed to list_signing_keys, this function returns all the pages of the request at once.

Enumerates signing key credentials for an IdP

Generate New IdP Signing Key Credential.

This function performs a POST to the /api/v1/idps/{idpId}/credentials/keys/generate endpoint.

Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP

Parameters:

  • idp_id: &str
  • validity_years: i64 – expiry of the IdP Key Credential.

Get Signing Key Credential for IdP.

This function performs a GET to the /api/v1/idps/{idpId}/credentials/keys/{keyId} endpoint.

Gets a specific IdP Key Credential by kid

Parameters:

  • idp_id: &str
  • key_id: &str

Clone Signing Key Credential for IdP.

This function performs a POST to the /api/v1/idps/{idpId}/credentials/keys/{keyId}/clone endpoint.

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

Parameters:

  • idp_id: &str
  • key_id: &str
  • target_idp_id: &str

Activate Identity Provider.

This function performs a POST to the /api/v1/idps/{idpId}/lifecycle/activate endpoint.

Activates an inactive IdP.

Parameters:

  • idp_id: &str

Deactivate Identity Provider.

This function performs a POST to the /api/v1/idps/{idpId}/lifecycle/deactivate endpoint.

Deactivates an active IdP.

Parameters:

  • idp_id: &str

Find Users.

This function performs a GET to the /api/v1/idps/{idpId}/users endpoint.

Find all the users linked to an identity provider

Parameters:

  • idp_id: &str

Find Users.

This function performs a GET to the /api/v1/idps/{idpId}/users endpoint.

As opposed to list_application_users, this function returns all the pages of the request at once.

Find all the users linked to an identity provider

This function performs a GET to the /api/v1/idps/{idpId}/users/{userId} endpoint.

Fetches a linked IdP user by ID

Parameters:

  • idp_id: &str
  • user_id: &str

Link a user to a Social IdP without a transaction.

This function performs a POST to the /api/v1/idps/{idpId}/users/{userId} endpoint.

Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type

Parameters:

  • idp_id: &str
  • user_id: &str

Unlink User from IdP.

This function performs a DELETE to the /api/v1/idps/{idpId}/users/{userId} endpoint.

Removes the link between the Okta user and the IdP user.

Parameters:

  • idp_id: &str
  • user_id: &str

Social Authentication Token Operation.

This function performs a GET to the /api/v1/idps/{idpId}/users/{userId}/credentials/tokens endpoint.

Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.

Parameters:

  • idp_id: &str
  • user_id: &str

Social Authentication Token Operation.

This function performs a GET to the /api/v1/idps/{idpId}/users/{userId}/credentials/tokens endpoint.

As opposed to list_social_auth_tokens, this function returns all the pages of the request at once.

Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more