Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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).",
Expand Down Expand Up @@ -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."
Expand All @@ -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).",
Expand Down Expand Up @@ -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.",
Expand Down
16 changes: 16 additions & 0 deletions src/models/OauthResourceServerReadProfileResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>}
Expand Down Expand Up @@ -95,6 +101,12 @@ export interface OauthResourceServerReadProfileResponse {
* @memberof OauthResourceServerReadProfileResponse
*/
supported_algorithms?: Array<string>;
/**
* 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}
Expand Down Expand Up @@ -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'],
Expand All @@ -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'],
};
Expand All @@ -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'],
Expand All @@ -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'],
};
Expand Down
16 changes: 16 additions & 0 deletions src/models/OauthResourceServerUpdateProfileRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>}
Expand Down Expand Up @@ -89,6 +95,12 @@ export interface OauthResourceServerUpdateProfileRequest {
* @memberof OauthResourceServerUpdateProfileRequest
*/
supported_algorithms?: Array<string>;
/**
* 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}
Expand Down Expand Up @@ -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'],
Expand All @@ -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'],
};
Expand All @@ -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'],
Expand All @@ -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'],
};
Expand Down
Loading