pub struct Applications {
    pub client: Client,
}

Fields

client: Client

Implementations

List Applications.

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

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

Parameters:

  • q: &str
  • after: &str – Specifies the pagination cursor for the next page of apps.
  • limit: i64 – Specifies the number of results for a page.
  • filter: &str – Filters apps by status, user.id, group.id or credentials.signing.kid expression.
  • expand: &str – Traverses users link relationship and optionally embeds Application User resource.
  • include_non_deleted: bool

List Applications.

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

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

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

Add Application.

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

Adds a new application to your Okta organization.

Parameters:

  • activate: bool – Executes activation lifecycle operation when creating the app.
  • okta_access_gateway_agent: &str

Get Application.

This function performs a GET to the /api/v1/apps/{appId} endpoint.

Fetches an application from your Okta organization by id.

Parameters:

  • app_id: &str
  • expand: &str

Update Application.

This function performs a PUT to the /api/v1/apps/{appId} endpoint.

Updates an application in your organization.

Parameters:

  • app_id: &str

Delete Application.

This function performs a DELETE to the /api/v1/apps/{appId} endpoint.

Removes an inactive application.

Parameters:

  • app_id: &str

List Certificate Signing Requests for Application.

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

Enumerates Certificate Signing Requests for an application

Parameters:

  • app_id: &str

List Certificate Signing Requests for Application.

This function performs a GET to the /api/v1/apps/{appId}/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 application

Generate Certificate Signing Request for Application.

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

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

Parameters:

  • app_id: &str

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

Parameters:

  • app_id: &str
  • csr_id: &str

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

Parameters:

  • app_id: &str
  • csr_id: &str

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

Parameters:

  • app_id: &str
  • csr_id: &str

List Key Credentials for Application.

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

Enumerates key credentials for an application

Parameters:

  • app_id: &str

List Key Credentials for Application.

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

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

Enumerates key credentials for an application

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

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

Parameters:

  • app_id: &str
  • validity_years: i64

Get Key Credential for Application.

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

Gets a specific application key credential by kid

Parameters:

  • app_id: &str
  • key_id: &str

Clone Application Key Credential.

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

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

Parameters:

  • app_id: &str
  • key_id: &str
  • target_aid: &str – Unique key of the target Application.

This function performs a GET to the /api/v1/apps/{appId}/grants endpoint.

Lists all scope consent grants for the application

Parameters:

  • app_id: &str
  • expand: &str

This function performs a GET to the /api/v1/apps/{appId}/grants endpoint.

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

Lists all scope consent grants for the application

This function performs a POST to the /api/v1/apps/{appId}/grants endpoint.

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

Parameters:

  • app_id: &str

This function performs a GET to the /api/v1/apps/{appId}/grants/{grantId} endpoint.

Fetches a single scope consent grant for the application

Parameters:

  • app_id: &str
  • grant_id: &str
  • expand: &str

This function performs a DELETE to the /api/v1/apps/{appId}/grants/{grantId} endpoint.

Revokes permission for the application to request the given scope

Parameters:

  • app_id: &str
  • grant_id: &str

List Groups Assigned to Application.

This function performs a GET to the /api/v1/apps/{appId}/groups endpoint.

Enumerates group assignments for an application.

Parameters:

  • app_id: &str
  • q: &str
  • after: &str – Specifies the pagination cursor for the next page of assignments.
  • limit: i64 – Specifies the number of results for a page.
  • expand: &str

List Groups Assigned to Application.

This function performs a GET to the /api/v1/apps/{appId}/groups endpoint.

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

Enumerates group assignments for an application.

Get Assigned Group for Application.

This function performs a GET to the /api/v1/apps/{appId}/groups/{groupId} endpoint.

Fetches an application group assignment

Parameters:

  • app_id: &str
  • group_id: &str
  • expand: &str

Assign Group to Application.

This function performs a PUT to the /api/v1/apps/{appId}/groups/{groupId} endpoint.

Assigns a group to an application

Parameters:

  • app_id: &str
  • group_id: &str

Remove Group from Application.

This function performs a DELETE to the /api/v1/apps/{appId}/groups/{groupId} endpoint.

Removes a group assignment from an application.

Parameters:

  • app_id: &str
  • group_id: &str

Activate Application.

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

Activates an inactive application.

Parameters:

  • app_id: &str

Deactivate Application.

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

Deactivates an active application.

Parameters:

  • app_id: &str

This function performs a GET to the /api/v1/apps/{appId}/tokens endpoint.

Lists all tokens for the application

Parameters:

  • app_id: &str
  • expand: &str
  • after: &str
  • limit: i64

This function performs a GET to the /api/v1/apps/{appId}/tokens endpoint.

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

Lists all tokens for the application

This function performs a DELETE to the /api/v1/apps/{appId}/tokens endpoint.

Revokes all tokens for the specified application

Parameters:

  • app_id: &str

This function performs a GET to the /api/v1/apps/{appId}/tokens/{tokenId} endpoint.

Gets a token for the specified application

Parameters:

  • app_id: &str
  • token_id: &str
  • expand: &str

This function performs a DELETE to the /api/v1/apps/{appId}/tokens/{tokenId} endpoint.

Revokes the specified token for the specified application

Parameters:

  • app_id: &str
  • token_id: &str

List Users Assigned to Application.

This function performs a GET to the /api/v1/apps/{appId}/users endpoint.

Enumerates all assigned application users for an application.

Parameters:

  • app_id: &str
  • q: &str
  • query_scope: &str
  • after: &str – specifies the pagination cursor for the next page of assignments.
  • limit: i64 – specifies the number of results for a page.
  • filter: &str
  • expand: &str

List Users Assigned to Application.

This function performs a GET to the /api/v1/apps/{appId}/users endpoint.

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

Enumerates all assigned application users for an application.

Assign User to Application for SSO & Provisioning.

This function performs a POST to the /api/v1/apps/{appId}/users endpoint.

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

Parameters:

  • app_id: &str

Get Assigned User for Application.

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

Fetches a specific user assignment for application by id.

Parameters:

  • app_id: &str
  • user_id: &str
  • expand: &str

Update Application Profile for Assigned User.

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

Updates a user’s profile for an application

Parameters:

  • app_id: &str
  • user_id: &str

Remove User from Application.

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

Removes an assignment for a user from an application.

Parameters:

  • app_id: &str
  • user_id: &str
  • send_email: bool

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