diff --git a/openapi.json b/openapi.json index 864de78..ebaa37a 100644 --- a/openapi.json +++ b/openapi.json @@ -59514,6 +59514,10 @@ "OauthResourceServerReadProfileResponse": { "type": "object", "properties": { + "actor_claim": { + "type": "string", + "description": "Optional claim to use as the actor identifier." + }, "audiences": { "type": "array", "description": "List of allowed audiences (aud claim).", @@ -59572,6 +59576,10 @@ "type": "string" } }, + "unique_id_claim": { + "type": "string", + "description": "Optional claim to use as the unique identifier for the JWT claim." + }, "use_jwks": { "type": "boolean", "description": "If true, use JWKS URI for key validation profile names." @@ -59585,6 +59593,11 @@ "OauthResourceServerUpdateProfileRequest": { "type": "object", "properties": { + "actor_claim": { + "type": "string", + "description": "Optional claim to use as the actor identifier.", + "default": "act" + }, "audiences": { "type": "array", "description": "List of allowed audiences (aud claim).", @@ -59641,6 +59654,11 @@ "type": "string" } }, + "unique_id_claim": { + "type": "string", + "description": "Optional unique identifier for the JWT claim.", + "default": "jti" + }, "use_jwks": { "type": "boolean", "description": "If true, use JWKS URI for key validation; if false, use static public keys.", diff --git a/src/models/OauthResourceServerReadProfileResponse.ts b/src/models/OauthResourceServerReadProfileResponse.ts index 933152a..f76cc16 100644 --- a/src/models/OauthResourceServerReadProfileResponse.ts +++ b/src/models/OauthResourceServerReadProfileResponse.ts @@ -23,6 +23,12 @@ import { mapValues } from '../runtime'; * @interface OauthResourceServerReadProfileResponse */ export interface OauthResourceServerReadProfileResponse { + /** + * Optional claim to use as the actor identifier. + * @type {string} + * @memberof OauthResourceServerReadProfileResponse + */ + actor_claim?: string; /** * List of allowed audiences (aud claim). * @type {Array} @@ -95,6 +101,12 @@ export interface OauthResourceServerReadProfileResponse { * @memberof OauthResourceServerReadProfileResponse */ supported_algorithms?: Array; + /** + * Optional claim to use as the unique identifier for the JWT claim. + * @type {string} + * @memberof OauthResourceServerReadProfileResponse + */ + unique_id_claim?: string; /** * If true, use JWKS URI for key validation profile names. * @type {boolean} @@ -126,6 +138,7 @@ export function OauthResourceServerReadProfileResponseFromJSONTyped(json: any, i } return { + 'actor_claim': json['actor_claim'] == null ? undefined : json['actor_claim'], 'audiences': json['audiences'] == null ? undefined : json['audiences'], 'clock_skew_leeway': json['clock_skew_leeway'] == null ? undefined : json['clock_skew_leeway'], 'config_id': json['config_id'] == null ? undefined : json['config_id'], @@ -138,6 +151,7 @@ export function OauthResourceServerReadProfileResponseFromJSONTyped(json: any, i 'profile_name': json['profile_name'] == null ? undefined : json['profile_name'], 'public_keys': json['public_keys'] == null ? undefined : json['public_keys'], 'supported_algorithms': json['supported_algorithms'] == null ? undefined : json['supported_algorithms'], + 'unique_id_claim': json['unique_id_claim'] == null ? undefined : json['unique_id_claim'], 'use_jwks': json['use_jwks'] == null ? undefined : json['use_jwks'], 'user_claim': json['user_claim'] == null ? undefined : json['user_claim'], }; @@ -154,6 +168,7 @@ export function OauthResourceServerReadProfileResponseToJSONTyped(value?: OauthR return { + 'actor_claim': value['actor_claim'], 'audiences': value['audiences'], 'clock_skew_leeway': value['clock_skew_leeway'], 'config_id': value['config_id'], @@ -166,6 +181,7 @@ export function OauthResourceServerReadProfileResponseToJSONTyped(value?: OauthR 'profile_name': value['profile_name'], 'public_keys': value['public_keys'], 'supported_algorithms': value['supported_algorithms'], + 'unique_id_claim': value['unique_id_claim'], 'use_jwks': value['use_jwks'], 'user_claim': value['user_claim'], }; diff --git a/src/models/OauthResourceServerUpdateProfileRequest.ts b/src/models/OauthResourceServerUpdateProfileRequest.ts index 9c2d26d..208e590 100644 --- a/src/models/OauthResourceServerUpdateProfileRequest.ts +++ b/src/models/OauthResourceServerUpdateProfileRequest.ts @@ -23,6 +23,12 @@ import { mapValues } from '../runtime'; * @interface OauthResourceServerUpdateProfileRequest */ export interface OauthResourceServerUpdateProfileRequest { + /** + * Optional claim to use as the actor identifier. + * @type {string} + * @memberof OauthResourceServerUpdateProfileRequest + */ + actor_claim?: string; /** * List of allowed audiences (aud claim). * @type {Array} @@ -89,6 +95,12 @@ export interface OauthResourceServerUpdateProfileRequest { * @memberof OauthResourceServerUpdateProfileRequest */ supported_algorithms?: Array; + /** + * Optional unique identifier for the JWT claim. + * @type {string} + * @memberof OauthResourceServerUpdateProfileRequest + */ + unique_id_claim?: string; /** * If true, use JWKS URI for key validation; if false, use static public keys. * @type {boolean} @@ -121,6 +133,7 @@ export function OauthResourceServerUpdateProfileRequestFromJSONTyped(json: any, } return { + 'actor_claim': json['actor_claim'] == null ? undefined : json['actor_claim'], 'audiences': json['audiences'] == null ? undefined : json['audiences'], 'clock_skew_leeway': json['clock_skew_leeway'] == null ? undefined : json['clock_skew_leeway'], 'enabled': json['enabled'] == null ? undefined : json['enabled'], @@ -132,6 +145,7 @@ export function OauthResourceServerUpdateProfileRequestFromJSONTyped(json: any, 'optional_authorization_details': json['optional_authorization_details'] == null ? undefined : json['optional_authorization_details'], 'public_keys': json['public_keys'] == null ? undefined : json['public_keys'], 'supported_algorithms': json['supported_algorithms'] == null ? undefined : json['supported_algorithms'], + 'unique_id_claim': json['unique_id_claim'] == null ? undefined : json['unique_id_claim'], 'use_jwks': json['use_jwks'] == null ? undefined : json['use_jwks'], 'user_claim': json['user_claim'] == null ? undefined : json['user_claim'], }; @@ -148,6 +162,7 @@ export function OauthResourceServerUpdateProfileRequestToJSONTyped(value?: Oauth return { + 'actor_claim': value['actor_claim'], 'audiences': value['audiences'], 'clock_skew_leeway': value['clock_skew_leeway'], 'enabled': value['enabled'], @@ -159,6 +174,7 @@ export function OauthResourceServerUpdateProfileRequestToJSONTyped(value?: Oauth 'optional_authorization_details': value['optional_authorization_details'], 'public_keys': value['public_keys'], 'supported_algorithms': value['supported_algorithms'], + 'unique_id_claim': value['unique_id_claim'], 'use_jwks': value['use_jwks'], 'user_claim': value['user_claim'], };