From 6ab7026eb51830e4b755a0e4263b4a75b2386b7d Mon Sep 17 00:00:00 2001 From: Gyanesh Gouraw <160731216+gyaneshgouraw-okta@users.noreply.github.com> Date: Tue, 7 May 2024 14:02:26 +0530 Subject: [PATCH] Added new values of token_dialect in management api generated section (#1003) Co-authored-by: gyaneshgouraw-okta --- src/management/__generated/models/index.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/management/__generated/models/index.ts b/src/management/__generated/models/index.ts index 520cc95dc..62c7bd43d 100644 --- a/src/management/__generated/models/index.ts +++ b/src/management/__generated/models/index.ts @@ -10406,7 +10406,7 @@ export interface ResourceServer { */ enforce_policies: boolean; /** - * Dialect of access tokens that should be issued. Can be `access_token` or `access_token_authz` (includes permissions). + * Dialect of access tokens that should be issued. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims. * */ token_dialect: ResourceServerTokenDialectEnum; @@ -10426,6 +10426,8 @@ export type ResourceServerSigningAlgEnum = export const ResourceServerTokenDialectEnum = { token: 'access_token', token_authz: 'access_token_authz', + rfc9068_profile: 'rfc9068_profile', + rfc9068_profile_authz: 'rfc9068_profile_authz', } as const; export type ResourceServerTokenDialectEnum = (typeof ResourceServerTokenDialectEnum)[keyof typeof ResourceServerTokenDialectEnum]; @@ -10470,7 +10472,7 @@ export interface ResourceServerCreate { */ token_lifetime?: number; /** - * Dialect of issued access token. Can be `access_token` or `access_token_authz` (includes permissions). Values can be `access_token` or `access_token_authz` (includes permissions). + * Dialect of access tokens that should be issued. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims. * */ token_dialect?: ResourceServerCreateTokenDialectEnum; @@ -10500,6 +10502,8 @@ export type ResourceServerCreateSigningAlgEnum = export const ResourceServerCreateTokenDialectEnum = { token: 'access_token', token_authz: 'access_token_authz', + rfc9068_profile: 'rfc9068_profile', + rfc9068_profile_authz: 'rfc9068_profile_authz', } as const; export type ResourceServerCreateTokenDialectEnum = (typeof ResourceServerCreateTokenDialectEnum)[keyof typeof ResourceServerCreateTokenDialectEnum]; @@ -10544,7 +10548,7 @@ export interface ResourceServerUpdate { */ token_lifetime?: number; /** - * Dialect of issued access token. Can be `access_token` or `access_token_authz` (includes permissions). + * Dialect of access tokens that should be issued. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims. * */ token_dialect?: ResourceServerUpdateTokenDialectEnum; @@ -10569,6 +10573,8 @@ export type ResourceServerUpdateSigningAlgEnum = export const ResourceServerUpdateTokenDialectEnum = { token: 'access_token', token_authz: 'access_token_authz', + rfc9068_profile: 'rfc9068_profile', + rfc9068_profile_authz: 'rfc9068_profile_authz', } as const; export type ResourceServerUpdateTokenDialectEnum = (typeof ResourceServerUpdateTokenDialectEnum)[keyof typeof ResourceServerUpdateTokenDialectEnum];