diff --git a/src/management/__generated/managers/clients-manager.ts b/src/management/__generated/managers/clients-manager.ts
index f012342e5..2ed8bb095 100644
--- a/src/management/__generated/managers/clients-manager.ts
+++ b/src/management/__generated/managers/clients-manager.ts
@@ -79,15 +79,18 @@ export class ClientsManager extends BaseAPI {
}
/**
- * Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude
- * may also be specified. Note:
+ * Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude may also be specified.
+ * For more information, read Applications in Auth0 and Single Sign-On.
+ *
*
* -
- *
client_id
, app_type
, name
, and description
can be retrieved with
- * any scope.
+ * The following can be retrieved with any scope:
+ * client_id
, app_type
, name
, and description
.
*
* -
- *
callbacks
, oidc_backchannel_logout
, allowed_origins
,
+ * The following properties can only be retrieved with the read:clients
or
+ * read:client_keys
scope:
+ * callbacks
, oidc_logout
, allowed_origins
,
* web_origins
, tenant
, global
, config_route
,
* callback_url_template
, jwt_configuration
,
* jwt_configuration.lifetime_in_seconds
, jwt_configuration.secret_encoded
,
@@ -100,14 +103,13 @@ export class ClientsManager extends BaseAPI {
* is_token_endpoint_ip_header_trusted
, initiate_login_uri
, grant_types
,
* refresh_token
, refresh_token.rotation_type
, refresh_token.expiration_type
,
* refresh_token.leeway
, refresh_token.token_lifetime
, organization_usage
,
- * organization_require_behavior
- * properties can only be retrieved with the read:clients
or
- * read:client_keys
scope.
+ * organization_require_behavior
.
*
* -
+ * The following properties can only be retrieved with the
+ *
read:client_keys
or read:client_credentials
scope:
* encryption_key
, encryption_key.pub
, encryption_key.cert
,
- * client_secret
, client_authentication_methods
and signing_key
properties can only be retrieved with the
- * read:client_keys
or read:client_credentials
scope.
+ * client_secret
, client_authentication_methods
and signing_key
.
*
*
*
@@ -148,6 +150,14 @@ export class ClientsManager extends BaseAPI {
key: 'include_totals',
config: {},
},
+ {
+ key: 'from',
+ config: {},
+ },
+ {
+ key: 'take',
+ config: {},
+ },
{
key: 'is_global',
config: {},
@@ -160,6 +170,14 @@ export class ClientsManager extends BaseAPI {
key: 'app_type',
config: {},
},
+ {
+ key: 'client_ids',
+ config: {},
+ },
+ {
+ key: 'q',
+ config: {},
+ },
]);
const response = await this.request(
@@ -175,14 +193,17 @@ export class ClientsManager extends BaseAPI {
}
/**
- * Retrieve client details. A list of fields to include or exclude may also be specified. Note:
+ * Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
+ * For more information, read Applications in Auth0 and Single Sign-On.
*
* -
- *
client_id
, app_type
, name
, and description
can be retrieved with
- * the any of the scopes.
+ * The following properties can be retrieved with any of the scopes:
+ * client_id
, app_type
, name
, and description
.
*
* -
- *
callbacks
, oidc_backchannel_logout
, allowed_origins
,
+ * The following properties can only be retrieved with the read:clients
or
+ * read:client_keys
scopes:
+ * callbacks
, oidc_logout
, allowed_origins
,
* web_origins
, tenant
, global
, config_route
,
* callback_url_template
, jwt_configuration
,
* jwt_configuration.lifetime_in_seconds
, jwt_configuration.secret_encoded
,
@@ -195,18 +216,16 @@ export class ClientsManager extends BaseAPI {
* is_token_endpoint_ip_header_trusted
, initiate_login_uri
, grant_types
,
* refresh_token
, refresh_token.rotation_type
, refresh_token.expiration_type
,
* refresh_token.leeway
, refresh_token.token_lifetime
, organization_usage
,
- * organization_require_behavior
- * properties can only be retrieved with the read:clients
or
- * read:client_keys
scope.
+ * organization_require_behavior
.
*
* -
+ * The following properties can only be retrieved with the
read:client_keys
or read:client_credentials
scopes:
* encryption_key
, encryption_key.pub
, encryption_key.cert
,
- * client_secret
, client_authentication_methods
and signing_key
properties can only be retrieved with the
- * read:client_keys
or read:client_credentials
scope.
+ * client_secret
, client_authentication_methods
and signing_key
.
*
*
*
- * Get a client
+ * Get client by ID
*
* @throws {RequiredError}
*/
@@ -298,6 +317,8 @@ export class ClientsManager extends BaseAPI {
}
/**
+ * Updates a client's settings. For more information, read Applications in Auth0 and Single Sign-On.
+ *
* Notes:
* - The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope.
* - The client_authentication_methods
and token_endpoint_auth_method
properties are mutually exclusive. Use
@@ -371,7 +392,8 @@ export class ClientsManager extends BaseAPI {
}
/**
- * Create a new client (application or SSO integration).
+ * Create a new client (application or SSO integration). For more information, read Create Applications
+ * API Endpoints for Single Sign-On.
*
* Notes:
* - We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret.
diff --git a/src/management/__generated/managers/organizations-manager.ts b/src/management/__generated/managers/organizations-manager.ts
index 110db67f8..2b2d5ff2d 100644
--- a/src/management/__generated/managers/organizations-manager.ts
+++ b/src/management/__generated/managers/organizations-manager.ts
@@ -8,6 +8,7 @@ import type {
GetInvitations200Response,
GetInvitations200ResponseOneOfInner,
GetMembers200Response,
+ GetOrganizationClientGrants200Response,
GetOrganizationMemberRoles200Response,
GetOrganizations200Response,
GetOrganizations200ResponseOneOfInner,
@@ -23,6 +24,8 @@ import type {
GetInvitations200ResponseOneOf,
GetMembers200ResponseOneOf,
GetMembers200ResponseOneOfInner,
+ GetOrganizationClientGrants200ResponseOneOf,
+ GetOrganizationClientGrants200ResponseOneOfInner,
GetOrganizationMemberRoles200ResponseOneOf,
GetOrganizationMemberRoles200ResponseOneOfInner,
GetOrganizations200ResponseOneOf,
@@ -37,6 +40,7 @@ import type {
GetInvitationsByInvitationIdRequest,
GetMembersRequest,
GetNameByNameRequest,
+ GetOrganizationClientGrantsRequest,
GetOrganizationMemberRolesRequest,
GetOrganizationsRequest,
GetOrganizationsByIdRequest,
@@ -483,6 +487,70 @@ export class OrganizationsManager extends BaseAPI {
return runtime.JSONApiResponse.fromResponse(response);
}
+ /**
+ * Get client grants associated to an organization
+ *
+ * @throws {RequiredError}
+ */
+ async getOrganizationClientGrants(
+ requestParameters: GetOrganizationClientGrantsRequest & { include_totals: true },
+ initOverrides?: InitOverride
+ ): Promise>;
+ async getOrganizationClientGrants(
+ requestParameters?: GetOrganizationClientGrantsRequest,
+ initOverrides?: InitOverride
+ ): Promise>>;
+ async getOrganizationClientGrants(
+ requestParameters: GetOrganizationClientGrantsRequest,
+ initOverrides?: InitOverride
+ ): Promise> {
+ runtime.validateRequiredRequestParams(requestParameters, ['id']);
+
+ const queryParameters = runtime.applyQueryParams(requestParameters, [
+ {
+ key: 'audience',
+ config: {},
+ },
+ {
+ key: 'client_id',
+ config: {},
+ },
+ {
+ key: 'grant_ids',
+ config: {
+ isArray: true,
+ isCollectionFormatMulti: true,
+ },
+ },
+ {
+ key: 'page',
+ config: {},
+ },
+ {
+ key: 'per_page',
+ config: {},
+ },
+ {
+ key: 'include_totals',
+ config: {},
+ },
+ ]);
+
+ const response = await this.request(
+ {
+ path: `/organizations/{id}/client-grants`.replace(
+ '{id}',
+ encodeURIComponent(String(requestParameters.id))
+ ),
+ method: 'GET',
+ query: queryParameters,
+ },
+ initOverrides
+ );
+
+ return runtime.JSONApiResponse.fromResponse(response);
+ }
+
/**
* Get the roles assigned to an organization member
*
diff --git a/src/management/__generated/managers/resource-servers-manager.ts b/src/management/__generated/managers/resource-servers-manager.ts
index 689957943..15ad8931a 100644
--- a/src/management/__generated/managers/resource-servers-manager.ts
+++ b/src/management/__generated/managers/resource-servers-manager.ts
@@ -45,7 +45,7 @@ export class ResourceServersManager extends BaseAPI {
}
/**
- * Retrieve APIs (also known as resource servers) that you can consume from your authorized applications.
+ * Retrieve details of all APIs associated with your tenant.
* Get resource servers
*
* @throws {RequiredError}
@@ -63,6 +63,13 @@ export class ResourceServersManager extends BaseAPI {
initOverrides?: InitOverride
): Promise> {
const queryParameters = runtime.applyQueryParams(requestParameters, [
+ {
+ key: 'identifiers',
+ config: {
+ isArray: true,
+ isCollectionFormatMulti: true,
+ },
+ },
{
key: 'page',
config: {},
diff --git a/src/management/__generated/models/index.ts b/src/management/__generated/models/index.ts
index d534bdf92..ba42dc8c1 100644
--- a/src/management/__generated/models/index.ts
+++ b/src/management/__generated/models/index.ts
@@ -4903,7 +4903,10 @@ export interface GetClientGrants200ResponseOneOf {
/**
*
*/
-export type GetClients200Response = Array | GetClients200ResponseOneOf;
+export type GetClients200Response =
+ | Array
+ | GetClients200ResponseOneOf
+ | GetClients200ResponseOneOf1;
/**
*
*/
@@ -4921,6 +4924,17 @@ export interface GetClients200ResponseOneOf {
*/
clients: Array;
}
+/**
+ *
+ */
+export interface GetClients200ResponseOneOf1 {
+ /**
+ */
+ next: string;
+ /**
+ */
+ clients: Array;
+}
/**
*
*/
@@ -6292,6 +6306,54 @@ export const GetMessageTypes200ResponseMessageTypesEnum = {
export type GetMessageTypes200ResponseMessageTypesEnum =
(typeof GetMessageTypes200ResponseMessageTypesEnum)[keyof typeof GetMessageTypes200ResponseMessageTypesEnum];
+/**
+ *
+ */
+export type GetOrganizationClientGrants200Response =
+ | Array
+ | GetOrganizationClientGrants200ResponseOneOf;
+/**
+ *
+ */
+export interface GetOrganizationClientGrants200ResponseOneOf {
+ /**
+ */
+ start: number;
+ /**
+ */
+ limit: number;
+ /**
+ */
+ total: number;
+ /**
+ */
+ grants: Array;
+}
+/**
+ *
+ */
+export interface GetOrganizationClientGrants200ResponseOneOfInner {
+ /**
+ * ID of the client grant.
+ *
+ */
+ id: string;
+ /**
+ * ID of the client.
+ *
+ */
+ client_id: string;
+ /**
+ * The audience (API identifier) of this client grant
+ *
+ */
+ audience: string;
+ /**
+ * Scopes allowed for this client grant.
+ *
+ */
+ scope: Array;
+}
/**
*
*/
@@ -13467,6 +13529,16 @@ export interface GetClientsRequest {
*
*/
include_totals?: boolean;
+ /**
+ * Optional Id from which to start selection.
+ *
+ */
+ from?: string;
+ /**
+ * Number of results per page. Defaults to 50.
+ *
+ */
+ take?: number;
/**
* Optional filter on the global client parameter.
*
@@ -13482,6 +13554,16 @@ export interface GetClientsRequest {
*
*/
app_type?: string;
+ /**
+ * A comma separated list of client_ids used to filter the returned clients
+ *
+ */
+ client_ids?: string;
+ /**
+ * Query in Lucene query string syntax.
+ *
+ */
+ q?: string;
}
/**
*
@@ -14665,6 +14747,46 @@ export interface GetNameByNameRequest {
*/
name: string;
}
+/**
+ *
+ */
+export interface GetOrganizationClientGrantsRequest {
+ /**
+ * Organization identifier
+ *
+ */
+ id: string;
+ /**
+ * Optional filter on audience of the client grant.
+ *
+ */
+ audience?: string;
+ /**
+ * Optional filter on client_id of the client grant.
+ *
+ */
+ client_id?: string;
+ /**
+ * A list of grant ids, which will filter the results.
+ *
+ */
+ grant_ids?: Array;
+ /**
+ * Page index of the results to return. First page is 0.
+ *
+ */
+ page?: number;
+ /**
+ * Number of results per page. Defaults to 50.
+ *
+ */
+ per_page?: number;
+ /**
+ * Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
+ *
+ */
+ include_totals?: boolean;
+}
/**
*
*/
@@ -15118,13 +15240,18 @@ export interface DeleteResourceServersByIdRequest {
*
*/
export interface GetResourceServersRequest {
+ /**
+ * A list of URI encoded identifiers to filter the results by. Consider URL limits when using this parameter, if the URL is too long, consider chunking the requests
+ *
+ */
+ identifiers?: Array;
/**
* Page index of the results to return. First page is 0.
*
*/
page?: number;
/**
- * Number of results per page. Paging is disabled if parameter not sent.
+ * Number of results per page.
*
*/
per_page?: number;