Skip to content

Commit 5536c08

Browse files
authored
Merge branch 'master' into jobs-manager-test
2 parents 4a205fd + 405ad8c commit 5536c08

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

src/management/__generated/managers/clients-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class ClientsManager extends BaseAPI {
102102
* <code>token_endpoint_auth_method</code>, <code>is_first_party</code>, <code>oidc_conformant</code>,
103103
* <code>is_token_endpoint_ip_header_trusted</code>, <code>initiate_login_uri</code>, <code>grant_types</code>,
104104
* <code>refresh_token</code>, <code>refresh_token.rotation_type</code>, <code>refresh_token.expiration_type</code>,
105-
* <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>,
105+
* <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>refresh_token.policies</code>, <code>organization_usage</code>,
106106
* <code>organization_require_behavior</code>.
107107
* </li>
108108
* <li>
@@ -215,7 +215,7 @@ export class ClientsManager extends BaseAPI {
215215
* <code>token_endpoint_auth_method</code>, <code>is_first_party</code>, <code>oidc_conformant</code>,
216216
* <code>is_token_endpoint_ip_header_trusted</code>, <code>initiate_login_uri</code>, <code>grant_types</code>,
217217
* <code>refresh_token</code>, <code>refresh_token.rotation_type</code>, <code>refresh_token.expiration_type</code>,
218-
* <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>,
218+
* <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>refresh_token.policies</code>, <code>organization_usage</code>,
219219
* <code>organization_require_behavior</code>.
220220
* </li>
221221
* <li>

src/management/__generated/models/index.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2323,6 +2323,11 @@ export interface ClientRefreshToken {
23232323
*
23242324
*/
23252325
infinite_idle_token_lifetime?: boolean;
2326+
/**
2327+
* A collection of policies governing multi-resource refresh token exchange (MRRT), defining how refresh tokens can be used across different resource servers
2328+
*
2329+
*/
2330+
policies?: Array<ClientRefreshTokenPoliciesInner>;
23262331
}
23272332

23282333
export const ClientRefreshTokenRotationTypeEnum = {
@@ -2339,6 +2344,21 @@ export const ClientRefreshTokenExpirationTypeEnum = {
23392344
export type ClientRefreshTokenExpirationTypeEnum =
23402345
(typeof ClientRefreshTokenExpirationTypeEnum)[keyof typeof ClientRefreshTokenExpirationTypeEnum];
23412346

2347+
/**
2348+
*
2349+
*/
2350+
export interface ClientRefreshTokenPoliciesInner {
2351+
/**
2352+
* The identifier of the resource server to which the Multi Resource Refresh Token Policy applies
2353+
*
2354+
*/
2355+
audience: string;
2356+
/**
2357+
* The resource server permissions granted under the Multi Resource Refresh Token Policy, defining the context in which an access token can be used
2358+
*
2359+
*/
2360+
scope: Array<string>;
2361+
}
23422362
/**
23432363
* JWT-secured Authorization Requests (JAR) settings.
23442364
*/
@@ -5381,6 +5401,8 @@ export interface GetClients200ResponseOneOf {
53815401
*/
53825402
export interface GetClients200ResponseOneOf1 {
53835403
/**
5404+
* Opaque identifier for use with the <i>from</i> query parameter for the next page of results.<br/>This identifier is valid for 24 hours.
5405+
*
53845406
*/
53855407
next: string;
53865408
/**
@@ -17771,7 +17793,7 @@ export interface GetClientsRequest {
1777117793
*/
1777217794
client_ids?: string;
1777317795
/**
17774-
* Query in <a href ="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene query string syntax</a>.
17796+
* Advanced Query in <a href="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i>
1777517797
*
1777617798
*/
1777717799
q?: string;

test/management/client.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ describe('ClientsManager', () => {
109109
expect(clients.data[0].client_secret).toBe(response[0].client_secret);
110110
expect(clients.data[0].app_type).toBe(response[0].app_type);
111111
expect(clients.data[0].logo_uri).toBe(response[0].logo_uri);
112+
expect(clients.data[0].refresh_token).toBe(response[0].refresh_token);
112113

113114
done();
114115
});
@@ -283,6 +284,7 @@ describe('ClientsManager', () => {
283284
expect(client.data.client_secret).toBe(response.client_secret);
284285
expect(client.data.app_type).toBe(response.app_type);
285286
expect(client.data.logo_uri).toBe(response.logo_uri);
287+
expect(client.data.refresh_token).toBe(response.refresh_token);
286288

287289
done();
288290
});
@@ -350,6 +352,7 @@ describe('ClientsManager', () => {
350352
expect(client.data.client_secret).toBe(response.client_secret);
351353
expect(client.data.app_type).toBe(response.app_type);
352354
expect(client.data.logo_uri).toBe(response.logo_uri);
355+
expect(client.data.refresh_token).toBe(response.refresh_token);
353356

354357
done();
355358
});

0 commit comments

Comments
 (0)