@goauthentik/api 2025.2.2-1742304973 → 2025.2.2-1742424775

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/apis/ProvidersApi.d.ts +1 -0
  2. package/dist/apis/ProvidersApi.js +3 -0
  3. package/dist/apis/SourcesApi.d.ts +2 -2
  4. package/dist/apis/SourcesApi.js +2 -2
  5. package/dist/esm/apis/ProvidersApi.d.ts +1 -0
  6. package/dist/esm/apis/ProvidersApi.js +3 -0
  7. package/dist/esm/apis/SourcesApi.d.ts +2 -2
  8. package/dist/esm/apis/SourcesApi.js +2 -2
  9. package/dist/esm/models/Brand.d.ts +6 -0
  10. package/dist/esm/models/Brand.js +2 -0
  11. package/dist/esm/models/BrandRequest.d.ts +6 -0
  12. package/dist/esm/models/BrandRequest.js +2 -0
  13. package/dist/esm/models/CurrentBrand.d.ts +6 -0
  14. package/dist/esm/models/CurrentBrand.js +4 -0
  15. package/dist/esm/models/PatchedBrandRequest.d.ts +6 -0
  16. package/dist/esm/models/PatchedBrandRequest.js +2 -0
  17. package/dist/esm/models/PatchedSAMLProviderRequest.d.ts +6 -0
  18. package/dist/esm/models/PatchedSAMLProviderRequest.js +2 -0
  19. package/dist/esm/models/SAMLProvider.d.ts +6 -0
  20. package/dist/esm/models/SAMLProvider.js +2 -0
  21. package/dist/esm/models/SAMLProviderRequest.d.ts +6 -0
  22. package/dist/esm/models/SAMLProviderRequest.js +2 -0
  23. package/dist/models/Brand.d.ts +6 -0
  24. package/dist/models/Brand.js +2 -0
  25. package/dist/models/BrandRequest.d.ts +6 -0
  26. package/dist/models/BrandRequest.js +2 -0
  27. package/dist/models/CurrentBrand.d.ts +6 -0
  28. package/dist/models/CurrentBrand.js +4 -0
  29. package/dist/models/PatchedBrandRequest.d.ts +6 -0
  30. package/dist/models/PatchedBrandRequest.js +2 -0
  31. package/dist/models/PatchedSAMLProviderRequest.d.ts +6 -0
  32. package/dist/models/PatchedSAMLProviderRequest.js +2 -0
  33. package/dist/models/SAMLProvider.d.ts +6 -0
  34. package/dist/models/SAMLProvider.js +2 -0
  35. package/dist/models/SAMLProviderRequest.d.ts +6 -0
  36. package/dist/models/SAMLProviderRequest.js +2 -0
  37. package/package.json +1 -1
  38. package/src/apis/ProvidersApi.ts +5 -0
  39. package/src/apis/SourcesApi.ts +2 -2
  40. package/src/models/Brand.ts +8 -0
  41. package/src/models/BrandRequest.ts +8 -0
  42. package/src/models/CurrentBrand.ts +9 -0
  43. package/src/models/PatchedBrandRequest.ts +8 -0
  44. package/src/models/PatchedSAMLProviderRequest.ts +8 -0
  45. package/src/models/SAMLProvider.ts +8 -0
  46. package/src/models/SAMLProviderRequest.ts +8 -0
@@ -383,6 +383,7 @@ export interface ProvidersSamlListRequest {
383
383
  assertionValidNotOnOrAfter?: string;
384
384
  audience?: string;
385
385
  authenticationFlow?: string;
386
+ authnContextClassRefMapping?: string;
386
387
  authorizationFlow?: string;
387
388
  backchannelApplication?: string;
388
389
  defaultRelayState?: string;
@@ -3361,6 +3361,9 @@ class ProvidersApi extends runtime.BaseAPI {
3361
3361
  if (requestParameters['authenticationFlow'] != null) {
3362
3362
  queryParameters['authentication_flow'] = requestParameters['authenticationFlow'];
3363
3363
  }
3364
+ if (requestParameters['authnContextClassRefMapping'] != null) {
3365
+ queryParameters['authn_context_class_ref_mapping'] = requestParameters['authnContextClassRefMapping'];
3366
+ }
3364
3367
  if (requestParameters['authorizationFlow'] != null) {
3365
3368
  queryParameters['authorization_flow'] = requestParameters['authorizationFlow'];
3366
3369
  }
@@ -610,11 +610,11 @@ export interface SourcesUserConnectionsSamlUsedByListRequest {
610
610
  */
611
611
  export declare class SourcesApi extends runtime.BaseAPI {
612
612
  /**
613
- * Source Viewset
613
+ * Prevent deletion of built-in sources
614
614
  */
615
615
  sourcesAllDestroyRaw(requestParameters: SourcesAllDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
616
616
  /**
617
- * Source Viewset
617
+ * Prevent deletion of built-in sources
618
618
  */
619
619
  sourcesAllDestroy(requestParameters: SourcesAllDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
620
620
  /**
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
30
30
  */
31
31
  class SourcesApi extends runtime.BaseAPI {
32
32
  /**
33
- * Source Viewset
33
+ * Prevent deletion of built-in sources
34
34
  */
35
35
  sourcesAllDestroyRaw(requestParameters, initOverrides) {
36
36
  return __awaiter(this, void 0, void 0, function* () {
@@ -56,7 +56,7 @@ class SourcesApi extends runtime.BaseAPI {
56
56
  });
57
57
  }
58
58
  /**
59
- * Source Viewset
59
+ * Prevent deletion of built-in sources
60
60
  */
61
61
  sourcesAllDestroy(requestParameters, initOverrides) {
62
62
  return __awaiter(this, void 0, void 0, function* () {
@@ -383,6 +383,7 @@ export interface ProvidersSamlListRequest {
383
383
  assertionValidNotOnOrAfter?: string;
384
384
  audience?: string;
385
385
  authenticationFlow?: string;
386
+ authnContextClassRefMapping?: string;
386
387
  authorizationFlow?: string;
387
388
  backchannelApplication?: string;
388
389
  defaultRelayState?: string;
@@ -3358,6 +3358,9 @@ export class ProvidersApi extends runtime.BaseAPI {
3358
3358
  if (requestParameters['authenticationFlow'] != null) {
3359
3359
  queryParameters['authentication_flow'] = requestParameters['authenticationFlow'];
3360
3360
  }
3361
+ if (requestParameters['authnContextClassRefMapping'] != null) {
3362
+ queryParameters['authn_context_class_ref_mapping'] = requestParameters['authnContextClassRefMapping'];
3363
+ }
3361
3364
  if (requestParameters['authorizationFlow'] != null) {
3362
3365
  queryParameters['authorization_flow'] = requestParameters['authorizationFlow'];
3363
3366
  }
@@ -610,11 +610,11 @@ export interface SourcesUserConnectionsSamlUsedByListRequest {
610
610
  */
611
611
  export declare class SourcesApi extends runtime.BaseAPI {
612
612
  /**
613
- * Source Viewset
613
+ * Prevent deletion of built-in sources
614
614
  */
615
615
  sourcesAllDestroyRaw(requestParameters: SourcesAllDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
616
616
  /**
617
- * Source Viewset
617
+ * Prevent deletion of built-in sources
618
618
  */
619
619
  sourcesAllDestroy(requestParameters: SourcesAllDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
620
620
  /**
@@ -27,7 +27,7 @@ import { FilePathRequestToJSON, GroupKerberosSourceConnectionFromJSON, GroupKerb
27
27
  */
28
28
  export class SourcesApi extends runtime.BaseAPI {
29
29
  /**
30
- * Source Viewset
30
+ * Prevent deletion of built-in sources
31
31
  */
32
32
  sourcesAllDestroyRaw(requestParameters, initOverrides) {
33
33
  return __awaiter(this, void 0, void 0, function* () {
@@ -53,7 +53,7 @@ export class SourcesApi extends runtime.BaseAPI {
53
53
  });
54
54
  }
55
55
  /**
56
- * Source Viewset
56
+ * Prevent deletion of built-in sources
57
57
  */
58
58
  sourcesAllDestroy(requestParameters, initOverrides) {
59
59
  return __awaiter(this, void 0, void 0, function* () {
@@ -51,6 +51,12 @@ export interface Brand {
51
51
  * @memberof Brand
52
52
  */
53
53
  brandingFavicon?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof Brand
58
+ */
59
+ brandingCustomCss?: string;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -35,6 +35,7 @@ export function BrandFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
36
36
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
37
37
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
38
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
38
39
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
39
40
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
40
41
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -59,6 +60,7 @@ export function BrandToJSONTyped(value, ignoreDiscriminator = false) {
59
60
  'branding_title': value['brandingTitle'],
60
61
  'branding_logo': value['brandingLogo'],
61
62
  'branding_favicon': value['brandingFavicon'],
63
+ 'branding_custom_css': value['brandingCustomCss'],
62
64
  'flow_authentication': value['flowAuthentication'],
63
65
  'flow_invalidation': value['flowInvalidation'],
64
66
  'flow_recovery': value['flowRecovery'],
@@ -45,6 +45,12 @@ export interface BrandRequest {
45
45
  * @memberof BrandRequest
46
46
  */
47
47
  brandingFavicon?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof BrandRequest
52
+ */
53
+ brandingCustomCss?: string;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -32,6 +32,7 @@ export function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
33
33
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
34
34
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
35
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
35
36
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
36
37
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
37
38
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -56,6 +57,7 @@ export function BrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
56
57
  'branding_title': value['brandingTitle'],
57
58
  'branding_logo': value['brandingLogo'],
58
59
  'branding_favicon': value['brandingFavicon'],
60
+ 'branding_custom_css': value['brandingCustomCss'],
59
61
  'flow_authentication': value['flowAuthentication'],
60
62
  'flow_invalidation': value['flowInvalidation'],
61
63
  'flow_recovery': value['flowRecovery'],
@@ -41,6 +41,12 @@ export interface CurrentBrand {
41
41
  * @memberof CurrentBrand
42
42
  */
43
43
  brandingFavicon: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof CurrentBrand
48
+ */
49
+ brandingCustomCss: string;
44
50
  /**
45
51
  *
46
52
  * @type {Array<FooterLink>}
@@ -25,6 +25,8 @@ export function instanceOfCurrentBrand(value) {
25
25
  return false;
26
26
  if (!('brandingFavicon' in value) || value['brandingFavicon'] === undefined)
27
27
  return false;
28
+ if (!('brandingCustomCss' in value) || value['brandingCustomCss'] === undefined)
29
+ return false;
28
30
  if (!('uiFooterLinks' in value) || value['uiFooterLinks'] === undefined)
29
31
  return false;
30
32
  if (!('uiTheme' in value) || value['uiTheme'] === undefined)
@@ -45,6 +47,7 @@ export function CurrentBrandFromJSONTyped(json, ignoreDiscriminator) {
45
47
  'brandingTitle': json['branding_title'],
46
48
  'brandingLogo': json['branding_logo'],
47
49
  'brandingFavicon': json['branding_favicon'],
50
+ 'brandingCustomCss': json['branding_custom_css'],
48
51
  'uiFooterLinks': (json['ui_footer_links'].map(FooterLinkFromJSON)),
49
52
  'uiTheme': UiThemeEnumFromJSON(json['ui_theme']),
50
53
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
@@ -68,6 +71,7 @@ export function CurrentBrandToJSONTyped(value, ignoreDiscriminator = false) {
68
71
  'branding_title': value['brandingTitle'],
69
72
  'branding_logo': value['brandingLogo'],
70
73
  'branding_favicon': value['brandingFavicon'],
74
+ 'branding_custom_css': value['brandingCustomCss'],
71
75
  'flow_authentication': value['flowAuthentication'],
72
76
  'flow_invalidation': value['flowInvalidation'],
73
77
  'flow_recovery': value['flowRecovery'],
@@ -45,6 +45,12 @@ export interface PatchedBrandRequest {
45
45
  * @memberof PatchedBrandRequest
46
46
  */
47
47
  brandingFavicon?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PatchedBrandRequest
52
+ */
53
+ brandingCustomCss?: string;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -30,6 +30,7 @@ export function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
31
31
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
32
32
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
33
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
33
34
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
34
35
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
35
36
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -54,6 +55,7 @@ export function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = fals
54
55
  'branding_title': value['brandingTitle'],
55
56
  'branding_logo': value['brandingLogo'],
56
57
  'branding_favicon': value['brandingFavicon'],
58
+ 'branding_custom_css': value['brandingCustomCss'],
57
59
  'flow_authentication': value['flowAuthentication'],
58
60
  'flow_invalidation': value['flowInvalidation'],
59
61
  'flow_recovery': value['flowRecovery'],
@@ -90,6 +90,12 @@ export interface PatchedSAMLProviderRequest {
90
90
  * @memberof PatchedSAMLProviderRequest
91
91
  */
92
92
  nameIdMapping?: string | null;
93
+ /**
94
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
95
+ * @type {string}
96
+ * @memberof PatchedSAMLProviderRequest
97
+ */
98
+ authnContextClassRefMapping?: string | null;
93
99
  /**
94
100
  *
95
101
  * @type {DigestAlgorithmEnum}
@@ -40,6 +40,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminato
40
40
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
41
41
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
42
42
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
43
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
43
44
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
44
45
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
45
46
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -71,6 +72,7 @@ export function PatchedSAMLProviderRequestToJSONTyped(value, ignoreDiscriminator
71
72
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
72
73
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
73
74
  'name_id_mapping': value['nameIdMapping'],
75
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
74
76
  'digest_algorithm': DigestAlgorithmEnumToJSON(value['digestAlgorithm']),
75
77
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value['signatureAlgorithm']),
76
78
  'signing_kp': value['signingKp'],
@@ -144,6 +144,12 @@ export interface SAMLProvider {
144
144
  * @memberof SAMLProvider
145
145
  */
146
146
  nameIdMapping?: string | null;
147
+ /**
148
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
149
+ * @type {string}
150
+ * @memberof SAMLProvider
151
+ */
152
+ authnContextClassRefMapping?: string | null;
147
153
  /**
148
154
  *
149
155
  * @type {DigestAlgorithmEnum}
@@ -87,6 +87,7 @@ export function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
87
87
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
88
88
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
89
89
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
90
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
90
91
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
91
92
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
92
93
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -124,6 +125,7 @@ export function SAMLProviderToJSONTyped(value, ignoreDiscriminator = false) {
124
125
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
125
126
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
126
127
  'name_id_mapping': value['nameIdMapping'],
128
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
127
129
  'digest_algorithm': DigestAlgorithmEnumToJSON(value['digestAlgorithm']),
128
130
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value['signatureAlgorithm']),
129
131
  'signing_kp': value['signingKp'],
@@ -90,6 +90,12 @@ export interface SAMLProviderRequest {
90
90
  * @memberof SAMLProviderRequest
91
91
  */
92
92
  nameIdMapping?: string | null;
93
+ /**
94
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
95
+ * @type {string}
96
+ * @memberof SAMLProviderRequest
97
+ */
98
+ authnContextClassRefMapping?: string | null;
93
99
  /**
94
100
  *
95
101
  * @type {DigestAlgorithmEnum}
@@ -48,6 +48,7 @@ export function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
48
48
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
49
49
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
50
50
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
51
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
51
52
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
52
53
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
53
54
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -79,6 +80,7 @@ export function SAMLProviderRequestToJSONTyped(value, ignoreDiscriminator = fals
79
80
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
80
81
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
81
82
  'name_id_mapping': value['nameIdMapping'],
83
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
82
84
  'digest_algorithm': DigestAlgorithmEnumToJSON(value['digestAlgorithm']),
83
85
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value['signatureAlgorithm']),
84
86
  'signing_kp': value['signingKp'],
@@ -51,6 +51,12 @@ export interface Brand {
51
51
  * @memberof Brand
52
52
  */
53
53
  brandingFavicon?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof Brand
58
+ */
59
+ brandingCustomCss?: string;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -42,6 +42,7 @@ function BrandFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
43
43
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
44
44
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
45
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
45
46
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
46
47
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
47
48
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -66,6 +67,7 @@ function BrandToJSONTyped(value, ignoreDiscriminator = false) {
66
67
  'branding_title': value['brandingTitle'],
67
68
  'branding_logo': value['brandingLogo'],
68
69
  'branding_favicon': value['brandingFavicon'],
70
+ 'branding_custom_css': value['brandingCustomCss'],
69
71
  'flow_authentication': value['flowAuthentication'],
70
72
  'flow_invalidation': value['flowInvalidation'],
71
73
  'flow_recovery': value['flowRecovery'],
@@ -45,6 +45,12 @@ export interface BrandRequest {
45
45
  * @memberof BrandRequest
46
46
  */
47
47
  brandingFavicon?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof BrandRequest
52
+ */
53
+ brandingCustomCss?: string;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -39,6 +39,7 @@ function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
40
40
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
41
41
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
42
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
42
43
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
43
44
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
44
45
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -63,6 +64,7 @@ function BrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
63
64
  'branding_title': value['brandingTitle'],
64
65
  'branding_logo': value['brandingLogo'],
65
66
  'branding_favicon': value['brandingFavicon'],
67
+ 'branding_custom_css': value['brandingCustomCss'],
66
68
  'flow_authentication': value['flowAuthentication'],
67
69
  'flow_invalidation': value['flowInvalidation'],
68
70
  'flow_recovery': value['flowRecovery'],
@@ -41,6 +41,12 @@ export interface CurrentBrand {
41
41
  * @memberof CurrentBrand
42
42
  */
43
43
  brandingFavicon: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof CurrentBrand
48
+ */
49
+ brandingCustomCss: string;
44
50
  /**
45
51
  *
46
52
  * @type {Array<FooterLink>}
@@ -32,6 +32,8 @@ function instanceOfCurrentBrand(value) {
32
32
  return false;
33
33
  if (!('brandingFavicon' in value) || value['brandingFavicon'] === undefined)
34
34
  return false;
35
+ if (!('brandingCustomCss' in value) || value['brandingCustomCss'] === undefined)
36
+ return false;
35
37
  if (!('uiFooterLinks' in value) || value['uiFooterLinks'] === undefined)
36
38
  return false;
37
39
  if (!('uiTheme' in value) || value['uiTheme'] === undefined)
@@ -52,6 +54,7 @@ function CurrentBrandFromJSONTyped(json, ignoreDiscriminator) {
52
54
  'brandingTitle': json['branding_title'],
53
55
  'brandingLogo': json['branding_logo'],
54
56
  'brandingFavicon': json['branding_favicon'],
57
+ 'brandingCustomCss': json['branding_custom_css'],
55
58
  'uiFooterLinks': (json['ui_footer_links'].map(FooterLink_1.FooterLinkFromJSON)),
56
59
  'uiTheme': (0, UiThemeEnum_1.UiThemeEnumFromJSON)(json['ui_theme']),
57
60
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
@@ -75,6 +78,7 @@ function CurrentBrandToJSONTyped(value, ignoreDiscriminator = false) {
75
78
  'branding_title': value['brandingTitle'],
76
79
  'branding_logo': value['brandingLogo'],
77
80
  'branding_favicon': value['brandingFavicon'],
81
+ 'branding_custom_css': value['brandingCustomCss'],
78
82
  'flow_authentication': value['flowAuthentication'],
79
83
  'flow_invalidation': value['flowInvalidation'],
80
84
  'flow_recovery': value['flowRecovery'],
@@ -45,6 +45,12 @@ export interface PatchedBrandRequest {
45
45
  * @memberof PatchedBrandRequest
46
46
  */
47
47
  brandingFavicon?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PatchedBrandRequest
52
+ */
53
+ brandingCustomCss?: string;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -37,6 +37,7 @@ function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
38
38
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
39
39
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
40
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
40
41
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
41
42
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
42
43
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -61,6 +62,7 @@ function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
61
62
  'branding_title': value['brandingTitle'],
62
63
  'branding_logo': value['brandingLogo'],
63
64
  'branding_favicon': value['brandingFavicon'],
65
+ 'branding_custom_css': value['brandingCustomCss'],
64
66
  'flow_authentication': value['flowAuthentication'],
65
67
  'flow_invalidation': value['flowInvalidation'],
66
68
  'flow_recovery': value['flowRecovery'],
@@ -90,6 +90,12 @@ export interface PatchedSAMLProviderRequest {
90
90
  * @memberof PatchedSAMLProviderRequest
91
91
  */
92
92
  nameIdMapping?: string | null;
93
+ /**
94
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
95
+ * @type {string}
96
+ * @memberof PatchedSAMLProviderRequest
97
+ */
98
+ authnContextClassRefMapping?: string | null;
93
99
  /**
94
100
  *
95
101
  * @type {DigestAlgorithmEnum}
@@ -47,6 +47,7 @@ function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
48
48
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
49
49
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
50
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
50
51
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumFromJSON)(json['digest_algorithm']),
51
52
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumFromJSON)(json['signature_algorithm']),
52
53
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -78,6 +79,7 @@ function PatchedSAMLProviderRequestToJSONTyped(value, ignoreDiscriminator = fals
78
79
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
79
80
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
80
81
  'name_id_mapping': value['nameIdMapping'],
82
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
81
83
  'digest_algorithm': (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumToJSON)(value['digestAlgorithm']),
82
84
  'signature_algorithm': (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumToJSON)(value['signatureAlgorithm']),
83
85
  'signing_kp': value['signingKp'],
@@ -144,6 +144,12 @@ export interface SAMLProvider {
144
144
  * @memberof SAMLProvider
145
145
  */
146
146
  nameIdMapping?: string | null;
147
+ /**
148
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
149
+ * @type {string}
150
+ * @memberof SAMLProvider
151
+ */
152
+ authnContextClassRefMapping?: string | null;
147
153
  /**
148
154
  *
149
155
  * @type {DigestAlgorithmEnum}
@@ -94,6 +94,7 @@ function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
94
94
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
95
95
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
96
96
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
97
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
97
98
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumFromJSON)(json['digest_algorithm']),
98
99
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumFromJSON)(json['signature_algorithm']),
99
100
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -131,6 +132,7 @@ function SAMLProviderToJSONTyped(value, ignoreDiscriminator = false) {
131
132
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
132
133
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
133
134
  'name_id_mapping': value['nameIdMapping'],
135
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
134
136
  'digest_algorithm': (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumToJSON)(value['digestAlgorithm']),
135
137
  'signature_algorithm': (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumToJSON)(value['signatureAlgorithm']),
136
138
  'signing_kp': value['signingKp'],
@@ -90,6 +90,12 @@ export interface SAMLProviderRequest {
90
90
  * @memberof SAMLProviderRequest
91
91
  */
92
92
  nameIdMapping?: string | null;
93
+ /**
94
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
95
+ * @type {string}
96
+ * @memberof SAMLProviderRequest
97
+ */
98
+ authnContextClassRefMapping?: string | null;
93
99
  /**
94
100
  *
95
101
  * @type {DigestAlgorithmEnum}
@@ -55,6 +55,7 @@ function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
56
56
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
57
57
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
58
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
58
59
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumFromJSON)(json['digest_algorithm']),
59
60
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumFromJSON)(json['signature_algorithm']),
60
61
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -86,6 +87,7 @@ function SAMLProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
86
87
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
87
88
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
88
89
  'name_id_mapping': value['nameIdMapping'],
90
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
89
91
  'digest_algorithm': (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumToJSON)(value['digestAlgorithm']),
90
92
  'signature_algorithm': (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumToJSON)(value['signatureAlgorithm']),
91
93
  'signing_kp': value['signingKp'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2025.2.2-1742304973",
3
+ "version": "2025.2.2-1742424775",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -683,6 +683,7 @@ export interface ProvidersSamlListRequest {
683
683
  assertionValidNotOnOrAfter?: string;
684
684
  audience?: string;
685
685
  authenticationFlow?: string;
686
+ authnContextClassRefMapping?: string;
686
687
  authorizationFlow?: string;
687
688
  backchannelApplication?: string;
688
689
  defaultRelayState?: string;
@@ -4851,6 +4852,10 @@ export class ProvidersApi extends runtime.BaseAPI {
4851
4852
  queryParameters['authentication_flow'] = requestParameters['authenticationFlow'];
4852
4853
  }
4853
4854
 
4855
+ if (requestParameters['authnContextClassRefMapping'] != null) {
4856
+ queryParameters['authn_context_class_ref_mapping'] = requestParameters['authnContextClassRefMapping'];
4857
+ }
4858
+
4854
4859
  if (requestParameters['authorizationFlow'] != null) {
4855
4860
  queryParameters['authorization_flow'] = requestParameters['authorizationFlow'];
4856
4861
  }
@@ -997,7 +997,7 @@ export interface SourcesUserConnectionsSamlUsedByListRequest {
997
997
  export class SourcesApi extends runtime.BaseAPI {
998
998
 
999
999
  /**
1000
- * Source Viewset
1000
+ * Prevent deletion of built-in sources
1001
1001
  */
1002
1002
  async sourcesAllDestroyRaw(requestParameters: SourcesAllDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
1003
1003
  if (requestParameters['slug'] == null) {
@@ -1030,7 +1030,7 @@ export class SourcesApi extends runtime.BaseAPI {
1030
1030
  }
1031
1031
 
1032
1032
  /**
1033
- * Source Viewset
1033
+ * Prevent deletion of built-in sources
1034
1034
  */
1035
1035
  async sourcesAllDestroy(requestParameters: SourcesAllDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
1036
1036
  await this.sourcesAllDestroyRaw(requestParameters, initOverrides);
@@ -55,6 +55,12 @@ export interface Brand {
55
55
  * @memberof Brand
56
56
  */
57
57
  brandingFavicon?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof Brand
62
+ */
63
+ brandingCustomCss?: string;
58
64
  /**
59
65
  *
60
66
  * @type {string}
@@ -136,6 +142,7 @@ export function BrandFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bra
136
142
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
137
143
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
138
144
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
145
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
139
146
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
140
147
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
141
148
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -164,6 +171,7 @@ export function BrandToJSONTyped(value?: Omit<Brand, 'brand_uuid'> | null, ignor
164
171
  'branding_title': value['brandingTitle'],
165
172
  'branding_logo': value['brandingLogo'],
166
173
  'branding_favicon': value['brandingFavicon'],
174
+ 'branding_custom_css': value['brandingCustomCss'],
167
175
  'flow_authentication': value['flowAuthentication'],
168
176
  'flow_invalidation': value['flowInvalidation'],
169
177
  'flow_recovery': value['flowRecovery'],
@@ -49,6 +49,12 @@ export interface BrandRequest {
49
49
  * @memberof BrandRequest
50
50
  */
51
51
  brandingFavicon?: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof BrandRequest
56
+ */
57
+ brandingCustomCss?: string;
52
58
  /**
53
59
  *
54
60
  * @type {string}
@@ -128,6 +134,7 @@ export function BrandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolea
128
134
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
129
135
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
130
136
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
137
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
131
138
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
132
139
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
133
140
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -156,6 +163,7 @@ export function BrandRequestToJSONTyped(value?: BrandRequest | null, ignoreDiscr
156
163
  'branding_title': value['brandingTitle'],
157
164
  'branding_logo': value['brandingLogo'],
158
165
  'branding_favicon': value['brandingFavicon'],
166
+ 'branding_custom_css': value['brandingCustomCss'],
159
167
  'flow_authentication': value['flowAuthentication'],
160
168
  'flow_invalidation': value['flowInvalidation'],
161
169
  'flow_recovery': value['flowRecovery'],
@@ -58,6 +58,12 @@ export interface CurrentBrand {
58
58
  * @memberof CurrentBrand
59
59
  */
60
60
  brandingFavicon: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof CurrentBrand
65
+ */
66
+ brandingCustomCss: string;
61
67
  /**
62
68
  *
63
69
  * @type {Array<FooterLink>}
@@ -124,6 +130,7 @@ export function instanceOfCurrentBrand(value: object): value is CurrentBrand {
124
130
  if (!('brandingTitle' in value) || value['brandingTitle'] === undefined) return false;
125
131
  if (!('brandingLogo' in value) || value['brandingLogo'] === undefined) return false;
126
132
  if (!('brandingFavicon' in value) || value['brandingFavicon'] === undefined) return false;
133
+ if (!('brandingCustomCss' in value) || value['brandingCustomCss'] === undefined) return false;
127
134
  if (!('uiFooterLinks' in value) || value['uiFooterLinks'] === undefined) return false;
128
135
  if (!('uiTheme' in value) || value['uiTheme'] === undefined) return false;
129
136
  if (!('defaultLocale' in value) || value['defaultLocale'] === undefined) return false;
@@ -144,6 +151,7 @@ export function CurrentBrandFromJSONTyped(json: any, ignoreDiscriminator: boolea
144
151
  'brandingTitle': json['branding_title'],
145
152
  'brandingLogo': json['branding_logo'],
146
153
  'brandingFavicon': json['branding_favicon'],
154
+ 'brandingCustomCss': json['branding_custom_css'],
147
155
  'uiFooterLinks': ((json['ui_footer_links'] as Array<any>).map(FooterLinkFromJSON)),
148
156
  'uiTheme': UiThemeEnumFromJSON(json['ui_theme']),
149
157
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
@@ -171,6 +179,7 @@ export function CurrentBrandToJSONTyped(value?: Omit<CurrentBrand, 'ui_footer_li
171
179
  'branding_title': value['brandingTitle'],
172
180
  'branding_logo': value['brandingLogo'],
173
181
  'branding_favicon': value['brandingFavicon'],
182
+ 'branding_custom_css': value['brandingCustomCss'],
174
183
  'flow_authentication': value['flowAuthentication'],
175
184
  'flow_invalidation': value['flowInvalidation'],
176
185
  'flow_recovery': value['flowRecovery'],
@@ -49,6 +49,12 @@ export interface PatchedBrandRequest {
49
49
  * @memberof PatchedBrandRequest
50
50
  */
51
51
  brandingFavicon?: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof PatchedBrandRequest
56
+ */
57
+ brandingCustomCss?: string;
52
58
  /**
53
59
  *
54
60
  * @type {string}
@@ -127,6 +133,7 @@ export function PatchedBrandRequestFromJSONTyped(json: any, ignoreDiscriminator:
127
133
  'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
128
134
  'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
129
135
  'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
136
+ 'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
130
137
  'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
131
138
  'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
132
139
  'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
@@ -155,6 +162,7 @@ export function PatchedBrandRequestToJSONTyped(value?: PatchedBrandRequest | nul
155
162
  'branding_title': value['brandingTitle'],
156
163
  'branding_logo': value['brandingLogo'],
157
164
  'branding_favicon': value['brandingFavicon'],
165
+ 'branding_custom_css': value['brandingCustomCss'],
158
166
  'flow_authentication': value['flowAuthentication'],
159
167
  'flow_invalidation': value['flowInvalidation'],
160
168
  'flow_recovery': value['flowRecovery'],
@@ -113,6 +113,12 @@ export interface PatchedSAMLProviderRequest {
113
113
  * @memberof PatchedSAMLProviderRequest
114
114
  */
115
115
  nameIdMapping?: string | null;
116
+ /**
117
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
118
+ * @type {string}
119
+ * @memberof PatchedSAMLProviderRequest
120
+ */
121
+ authnContextClassRefMapping?: string | null;
116
122
  /**
117
123
  *
118
124
  * @type {DigestAlgorithmEnum}
@@ -200,6 +206,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json: any, ignoreDiscrim
200
206
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
201
207
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
202
208
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
209
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
203
210
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
204
211
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
205
212
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -235,6 +242,7 @@ export function PatchedSAMLProviderRequestToJSONTyped(value?: PatchedSAMLProvide
235
242
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
236
243
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
237
244
  'name_id_mapping': value['nameIdMapping'],
245
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
238
246
  'digest_algorithm': DigestAlgorithmEnumToJSON(value['digestAlgorithm']),
239
247
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value['signatureAlgorithm']),
240
248
  'signing_kp': value['signingKp'],
@@ -167,6 +167,12 @@ export interface SAMLProvider {
167
167
  * @memberof SAMLProvider
168
168
  */
169
169
  nameIdMapping?: string | null;
170
+ /**
171
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
172
+ * @type {string}
173
+ * @memberof SAMLProvider
174
+ */
175
+ authnContextClassRefMapping?: string | null;
170
176
  /**
171
177
  *
172
178
  * @type {DigestAlgorithmEnum}
@@ -318,6 +324,7 @@ export function SAMLProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
318
324
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
319
325
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
320
326
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
327
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
321
328
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
322
329
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
323
330
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -359,6 +366,7 @@ export function SAMLProviderToJSONTyped(value?: Omit<SAMLProvider, 'pk'|'compone
359
366
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
360
367
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
361
368
  'name_id_mapping': value['nameIdMapping'],
369
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
362
370
  'digest_algorithm': DigestAlgorithmEnumToJSON(value['digestAlgorithm']),
363
371
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value['signatureAlgorithm']),
364
372
  'signing_kp': value['signingKp'],
@@ -113,6 +113,12 @@ export interface SAMLProviderRequest {
113
113
  * @memberof SAMLProviderRequest
114
114
  */
115
115
  nameIdMapping?: string | null;
116
+ /**
117
+ * Configure how the AuthnContextClassRef value will be created. When left empty, the AuthnContextClassRef will be set based on which authentication methods the user used to authenticate.
118
+ * @type {string}
119
+ * @memberof SAMLProviderRequest
120
+ */
121
+ authnContextClassRefMapping?: string | null;
116
122
  /**
117
123
  *
118
124
  * @type {DigestAlgorithmEnum}
@@ -204,6 +210,7 @@ export function SAMLProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
204
210
  'assertionValidNotOnOrAfter': json['assertion_valid_not_on_or_after'] == null ? undefined : json['assertion_valid_not_on_or_after'],
205
211
  'sessionValidNotOnOrAfter': json['session_valid_not_on_or_after'] == null ? undefined : json['session_valid_not_on_or_after'],
206
212
  'nameIdMapping': json['name_id_mapping'] == null ? undefined : json['name_id_mapping'],
213
+ 'authnContextClassRefMapping': json['authn_context_class_ref_mapping'] == null ? undefined : json['authn_context_class_ref_mapping'],
207
214
  'digestAlgorithm': json['digest_algorithm'] == null ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
208
215
  'signatureAlgorithm': json['signature_algorithm'] == null ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
209
216
  'signingKp': json['signing_kp'] == null ? undefined : json['signing_kp'],
@@ -239,6 +246,7 @@ export function SAMLProviderRequestToJSONTyped(value?: SAMLProviderRequest | nul
239
246
  'assertion_valid_not_on_or_after': value['assertionValidNotOnOrAfter'],
240
247
  'session_valid_not_on_or_after': value['sessionValidNotOnOrAfter'],
241
248
  'name_id_mapping': value['nameIdMapping'],
249
+ 'authn_context_class_ref_mapping': value['authnContextClassRefMapping'],
242
250
  'digest_algorithm': DigestAlgorithmEnumToJSON(value['digestAlgorithm']),
243
251
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value['signatureAlgorithm']),
244
252
  'signing_kp': value['signingKp'],