@goauthentik/api 2025.2.4-1744808430 → 2025.2.4-1745325566

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 (67) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/dist/apis/PoliciesApi.d.ts +90 -1
  3. package/dist/apis/PoliciesApi.js +283 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/esm/apis/PoliciesApi.d.ts +90 -1
  7. package/dist/esm/apis/PoliciesApi.js +284 -1
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/models/AppEnum.d.ts +1 -0
  11. package/dist/esm/models/AppEnum.js +1 -0
  12. package/dist/esm/models/IdentificationChallenge.d.ts +6 -0
  13. package/dist/esm/models/IdentificationChallenge.js +2 -0
  14. package/dist/esm/models/IdentificationStage.d.ts +6 -0
  15. package/dist/esm/models/IdentificationStage.js +2 -0
  16. package/dist/esm/models/IdentificationStageRequest.d.ts +6 -0
  17. package/dist/esm/models/IdentificationStageRequest.js +2 -0
  18. package/dist/esm/models/ModelEnum.d.ts +1 -0
  19. package/dist/esm/models/ModelEnum.js +1 -0
  20. package/dist/esm/models/PaginatedUniquePasswordPolicyList.d.ts +40 -0
  21. package/dist/esm/models/PaginatedUniquePasswordPolicyList.js +49 -0
  22. package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +6 -0
  23. package/dist/esm/models/PatchedIdentificationStageRequest.js +2 -0
  24. package/dist/esm/models/PatchedUniquePasswordPolicyRequest.d.ts +50 -0
  25. package/dist/esm/models/PatchedUniquePasswordPolicyRequest.js +47 -0
  26. package/dist/esm/models/UniquePasswordPolicy.d.ts +86 -0
  27. package/dist/esm/models/UniquePasswordPolicy.js +67 -0
  28. package/dist/esm/models/UniquePasswordPolicyRequest.d.ts +50 -0
  29. package/dist/esm/models/UniquePasswordPolicyRequest.js +49 -0
  30. package/dist/esm/models/index.d.ts +4 -0
  31. package/dist/esm/models/index.js +4 -0
  32. package/dist/models/AppEnum.d.ts +1 -0
  33. package/dist/models/AppEnum.js +1 -0
  34. package/dist/models/IdentificationChallenge.d.ts +6 -0
  35. package/dist/models/IdentificationChallenge.js +2 -0
  36. package/dist/models/IdentificationStage.d.ts +6 -0
  37. package/dist/models/IdentificationStage.js +2 -0
  38. package/dist/models/IdentificationStageRequest.d.ts +6 -0
  39. package/dist/models/IdentificationStageRequest.js +2 -0
  40. package/dist/models/ModelEnum.d.ts +1 -0
  41. package/dist/models/ModelEnum.js +1 -0
  42. package/dist/models/PaginatedUniquePasswordPolicyList.d.ts +40 -0
  43. package/dist/models/PaginatedUniquePasswordPolicyList.js +56 -0
  44. package/dist/models/PatchedIdentificationStageRequest.d.ts +6 -0
  45. package/dist/models/PatchedIdentificationStageRequest.js +2 -0
  46. package/dist/models/PatchedUniquePasswordPolicyRequest.d.ts +50 -0
  47. package/dist/models/PatchedUniquePasswordPolicyRequest.js +54 -0
  48. package/dist/models/UniquePasswordPolicy.d.ts +86 -0
  49. package/dist/models/UniquePasswordPolicy.js +74 -0
  50. package/dist/models/UniquePasswordPolicyRequest.d.ts +50 -0
  51. package/dist/models/UniquePasswordPolicyRequest.js +56 -0
  52. package/dist/models/index.d.ts +4 -0
  53. package/dist/models/index.js +4 -0
  54. package/package.json +1 -1
  55. package/src/apis/PoliciesApi.ts +391 -0
  56. package/src/apis/RbacApi.ts +2 -0
  57. package/src/models/AppEnum.ts +1 -0
  58. package/src/models/IdentificationChallenge.ts +8 -0
  59. package/src/models/IdentificationStage.ts +8 -0
  60. package/src/models/IdentificationStageRequest.ts +8 -0
  61. package/src/models/ModelEnum.ts +1 -0
  62. package/src/models/PaginatedUniquePasswordPolicyList.ts +90 -0
  63. package/src/models/PatchedIdentificationStageRequest.ts +8 -0
  64. package/src/models/PatchedUniquePasswordPolicyRequest.ts +89 -0
  65. package/src/models/UniquePasswordPolicy.ts +138 -0
  66. package/src/models/UniquePasswordPolicyRequest.ts +90 -0
  67. package/src/models/index.ts +4 -0
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PatchedUniquePasswordPolicyRequest interface.
16
+ */
17
+ export function instanceOfPatchedUniquePasswordPolicyRequest(value) {
18
+ return true;
19
+ }
20
+ export function PatchedUniquePasswordPolicyRequestFromJSON(json) {
21
+ return PatchedUniquePasswordPolicyRequestFromJSONTyped(json, false);
22
+ }
23
+ export function PatchedUniquePasswordPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'name': json['name'] == null ? undefined : json['name'],
29
+ 'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
30
+ 'passwordField': json['password_field'] == null ? undefined : json['password_field'],
31
+ 'numHistoricalPasswords': json['num_historical_passwords'] == null ? undefined : json['num_historical_passwords'],
32
+ };
33
+ }
34
+ export function PatchedUniquePasswordPolicyRequestToJSON(json) {
35
+ return PatchedUniquePasswordPolicyRequestToJSONTyped(json, false);
36
+ }
37
+ export function PatchedUniquePasswordPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'name': value['name'],
43
+ 'execution_logging': value['executionLogging'],
44
+ 'password_field': value['passwordField'],
45
+ 'num_historical_passwords': value['numHistoricalPasswords'],
46
+ };
47
+ }
@@ -0,0 +1,86 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.2.4
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Password Uniqueness Policy Serializer
14
+ * @export
15
+ * @interface UniquePasswordPolicy
16
+ */
17
+ export interface UniquePasswordPolicy {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UniquePasswordPolicy
22
+ */
23
+ readonly pk: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UniquePasswordPolicy
28
+ */
29
+ name: string;
30
+ /**
31
+ * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
32
+ * @type {boolean}
33
+ * @memberof UniquePasswordPolicy
34
+ */
35
+ executionLogging?: boolean;
36
+ /**
37
+ * Get object component so that we know how to edit the object
38
+ * @type {string}
39
+ * @memberof UniquePasswordPolicy
40
+ */
41
+ readonly component: string;
42
+ /**
43
+ * Return object's verbose_name
44
+ * @type {string}
45
+ * @memberof UniquePasswordPolicy
46
+ */
47
+ readonly verboseName: string;
48
+ /**
49
+ * Return object's plural verbose_name
50
+ * @type {string}
51
+ * @memberof UniquePasswordPolicy
52
+ */
53
+ readonly verboseNamePlural: string;
54
+ /**
55
+ * Return internal model name
56
+ * @type {string}
57
+ * @memberof UniquePasswordPolicy
58
+ */
59
+ readonly metaModelName: string;
60
+ /**
61
+ * Return objects policy is bound to
62
+ * @type {number}
63
+ * @memberof UniquePasswordPolicy
64
+ */
65
+ readonly boundTo: number;
66
+ /**
67
+ * Field key to check, field keys defined in Prompt stages are available.
68
+ * @type {string}
69
+ * @memberof UniquePasswordPolicy
70
+ */
71
+ passwordField?: string;
72
+ /**
73
+ * Number of passwords to check against.
74
+ * @type {number}
75
+ * @memberof UniquePasswordPolicy
76
+ */
77
+ numHistoricalPasswords?: number;
78
+ }
79
+ /**
80
+ * Check if a given object implements the UniquePasswordPolicy interface.
81
+ */
82
+ export declare function instanceOfUniquePasswordPolicy(value: object): value is UniquePasswordPolicy;
83
+ export declare function UniquePasswordPolicyFromJSON(json: any): UniquePasswordPolicy;
84
+ export declare function UniquePasswordPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UniquePasswordPolicy;
85
+ export declare function UniquePasswordPolicyToJSON(json: any): UniquePasswordPolicy;
86
+ export declare function UniquePasswordPolicyToJSONTyped(value?: Omit<UniquePasswordPolicy, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name' | 'bound_to'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the UniquePasswordPolicy interface.
16
+ */
17
+ export function instanceOfUniquePasswordPolicy(value) {
18
+ if (!('pk' in value) || value['pk'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ if (!('component' in value) || value['component'] === undefined)
23
+ return false;
24
+ if (!('verboseName' in value) || value['verboseName'] === undefined)
25
+ return false;
26
+ if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined)
27
+ return false;
28
+ if (!('metaModelName' in value) || value['metaModelName'] === undefined)
29
+ return false;
30
+ if (!('boundTo' in value) || value['boundTo'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function UniquePasswordPolicyFromJSON(json) {
35
+ return UniquePasswordPolicyFromJSONTyped(json, false);
36
+ }
37
+ export function UniquePasswordPolicyFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'pk': json['pk'],
43
+ 'name': json['name'],
44
+ 'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
45
+ 'component': json['component'],
46
+ 'verboseName': json['verbose_name'],
47
+ 'verboseNamePlural': json['verbose_name_plural'],
48
+ 'metaModelName': json['meta_model_name'],
49
+ 'boundTo': json['bound_to'],
50
+ 'passwordField': json['password_field'] == null ? undefined : json['password_field'],
51
+ 'numHistoricalPasswords': json['num_historical_passwords'] == null ? undefined : json['num_historical_passwords'],
52
+ };
53
+ }
54
+ export function UniquePasswordPolicyToJSON(json) {
55
+ return UniquePasswordPolicyToJSONTyped(json, false);
56
+ }
57
+ export function UniquePasswordPolicyToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'name': value['name'],
63
+ 'execution_logging': value['executionLogging'],
64
+ 'password_field': value['passwordField'],
65
+ 'num_historical_passwords': value['numHistoricalPasswords'],
66
+ };
67
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.2.4
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Password Uniqueness Policy Serializer
14
+ * @export
15
+ * @interface UniquePasswordPolicyRequest
16
+ */
17
+ export interface UniquePasswordPolicyRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UniquePasswordPolicyRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
26
+ * @type {boolean}
27
+ * @memberof UniquePasswordPolicyRequest
28
+ */
29
+ executionLogging?: boolean;
30
+ /**
31
+ * Field key to check, field keys defined in Prompt stages are available.
32
+ * @type {string}
33
+ * @memberof UniquePasswordPolicyRequest
34
+ */
35
+ passwordField?: string;
36
+ /**
37
+ * Number of passwords to check against.
38
+ * @type {number}
39
+ * @memberof UniquePasswordPolicyRequest
40
+ */
41
+ numHistoricalPasswords?: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the UniquePasswordPolicyRequest interface.
45
+ */
46
+ export declare function instanceOfUniquePasswordPolicyRequest(value: object): value is UniquePasswordPolicyRequest;
47
+ export declare function UniquePasswordPolicyRequestFromJSON(json: any): UniquePasswordPolicyRequest;
48
+ export declare function UniquePasswordPolicyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UniquePasswordPolicyRequest;
49
+ export declare function UniquePasswordPolicyRequestToJSON(json: any): UniquePasswordPolicyRequest;
50
+ export declare function UniquePasswordPolicyRequestToJSONTyped(value?: UniquePasswordPolicyRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the UniquePasswordPolicyRequest interface.
16
+ */
17
+ export function instanceOfUniquePasswordPolicyRequest(value) {
18
+ if (!('name' in value) || value['name'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function UniquePasswordPolicyRequestFromJSON(json) {
23
+ return UniquePasswordPolicyRequestFromJSONTyped(json, false);
24
+ }
25
+ export function UniquePasswordPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'name': json['name'],
31
+ 'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
32
+ 'passwordField': json['password_field'] == null ? undefined : json['password_field'],
33
+ 'numHistoricalPasswords': json['num_historical_passwords'] == null ? undefined : json['num_historical_passwords'],
34
+ };
35
+ }
36
+ export function UniquePasswordPolicyRequestToJSON(json) {
37
+ return UniquePasswordPolicyRequestToJSONTyped(json, false);
38
+ }
39
+ export function UniquePasswordPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'execution_logging': value['executionLogging'],
46
+ 'password_field': value['passwordField'],
47
+ 'num_historical_passwords': value['numHistoricalPasswords'],
48
+ };
49
+ }
@@ -399,6 +399,7 @@ export * from './PaginatedTOTPDeviceList';
399
399
  export * from './PaginatedTenantList';
400
400
  export * from './PaginatedTokenList';
401
401
  export * from './PaginatedTokenModelList';
402
+ export * from './PaginatedUniquePasswordPolicyList';
402
403
  export * from './PaginatedUserAssignedObjectPermissionList';
403
404
  export * from './PaginatedUserConsentList';
404
405
  export * from './PaginatedUserDeleteStageList';
@@ -523,6 +524,7 @@ export * from './PatchedStaticDeviceRequest';
523
524
  export * from './PatchedTOTPDeviceRequest';
524
525
  export * from './PatchedTenantRequest';
525
526
  export * from './PatchedTokenRequest';
527
+ export * from './PatchedUniquePasswordPolicyRequest';
526
528
  export * from './PatchedUserDeleteStageRequest';
527
529
  export * from './PatchedUserKerberosSourceConnectionRequest';
528
530
  export * from './PatchedUserLDAPSourceConnectionRequest';
@@ -681,6 +683,8 @@ export * from './TransactionApplicationResponse';
681
683
  export * from './TransactionPolicyBindingRequest';
682
684
  export * from './TypeCreate';
683
685
  export * from './UiThemeEnum';
686
+ export * from './UniquePasswordPolicy';
687
+ export * from './UniquePasswordPolicyRequest';
684
688
  export * from './UsedBy';
685
689
  export * from './UsedByActionEnum';
686
690
  export * from './User';
@@ -401,6 +401,7 @@ export * from './PaginatedTOTPDeviceList';
401
401
  export * from './PaginatedTenantList';
402
402
  export * from './PaginatedTokenList';
403
403
  export * from './PaginatedTokenModelList';
404
+ export * from './PaginatedUniquePasswordPolicyList';
404
405
  export * from './PaginatedUserAssignedObjectPermissionList';
405
406
  export * from './PaginatedUserConsentList';
406
407
  export * from './PaginatedUserDeleteStageList';
@@ -525,6 +526,7 @@ export * from './PatchedStaticDeviceRequest';
525
526
  export * from './PatchedTOTPDeviceRequest';
526
527
  export * from './PatchedTenantRequest';
527
528
  export * from './PatchedTokenRequest';
529
+ export * from './PatchedUniquePasswordPolicyRequest';
528
530
  export * from './PatchedUserDeleteStageRequest';
529
531
  export * from './PatchedUserKerberosSourceConnectionRequest';
530
532
  export * from './PatchedUserLDAPSourceConnectionRequest';
@@ -683,6 +685,8 @@ export * from './TransactionApplicationResponse';
683
685
  export * from './TransactionPolicyBindingRequest';
684
686
  export * from './TypeCreate';
685
687
  export * from './UiThemeEnum';
688
+ export * from './UniquePasswordPolicy';
689
+ export * from './UniquePasswordPolicyRequest';
686
690
  export * from './UsedBy';
687
691
  export * from './UsedByActionEnum';
688
692
  export * from './User';
@@ -70,6 +70,7 @@ export declare const AppEnum: {
70
70
  readonly AuthentikCore: "authentik.core";
71
71
  readonly AuthentikEnterprise: "authentik.enterprise";
72
72
  readonly AuthentikEnterpriseAudit: "authentik.enterprise.audit";
73
+ readonly AuthentikEnterprisePoliciesUniquePassword: "authentik.enterprise.policies.unique_password";
73
74
  readonly AuthentikEnterpriseProvidersGoogleWorkspace: "authentik.enterprise.providers.google_workspace";
74
75
  readonly AuthentikEnterpriseProvidersMicrosoftEntra: "authentik.enterprise.providers.microsoft_entra";
75
76
  readonly AuthentikEnterpriseProvidersSsf: "authentik.enterprise.providers.ssf";
@@ -80,6 +80,7 @@ exports.AppEnum = {
80
80
  AuthentikCore: 'authentik.core',
81
81
  AuthentikEnterprise: 'authentik.enterprise',
82
82
  AuthentikEnterpriseAudit: 'authentik.enterprise.audit',
83
+ AuthentikEnterprisePoliciesUniquePassword: 'authentik.enterprise.policies.unique_password',
83
84
  AuthentikEnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
84
85
  AuthentikEnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
85
86
  AuthentikEnterpriseProvidersSsf: 'authentik.enterprise.providers.ssf',
@@ -112,6 +112,12 @@ export interface IdentificationChallenge {
112
112
  * @memberof IdentificationChallenge
113
113
  */
114
114
  showSourceLabels: boolean;
115
+ /**
116
+ *
117
+ * @type {boolean}
118
+ * @memberof IdentificationChallenge
119
+ */
120
+ enableRememberMe?: boolean;
115
121
  }
116
122
  /**
117
123
  * Check if a given object implements the IdentificationChallenge interface.
@@ -61,6 +61,7 @@ function IdentificationChallengeFromJSONTyped(json, ignoreDiscriminator) {
61
61
  'primaryAction': json['primary_action'],
62
62
  'sources': json['sources'] == null ? undefined : (json['sources'].map(LoginSource_1.LoginSourceFromJSON)),
63
63
  'showSourceLabels': json['show_source_labels'],
64
+ 'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
64
65
  };
65
66
  }
66
67
  function IdentificationChallengeToJSON(json) {
@@ -86,5 +87,6 @@ function IdentificationChallengeToJSONTyped(value, ignoreDiscriminator = false)
86
87
  'primary_action': value['primaryAction'],
87
88
  'sources': value['sources'] == null ? undefined : (value['sources'].map(LoginSource_1.LoginSourceToJSON)),
88
89
  'show_source_labels': value['showSourceLabels'],
90
+ 'enable_remember_me': value['enableRememberMe'],
89
91
  };
90
92
  }
@@ -125,6 +125,12 @@ export interface IdentificationStage {
125
125
  * @memberof IdentificationStage
126
126
  */
127
127
  pretendUserExists?: boolean;
128
+ /**
129
+ * Show the user the 'Remember me on this device' toggle, allowing repeat users to skip straight to entering their password.
130
+ * @type {boolean}
131
+ * @memberof IdentificationStage
132
+ */
133
+ enableRememberMe?: boolean;
128
134
  }
129
135
  /**
130
136
  * Check if a given object implements the IdentificationStage interface.
@@ -64,6 +64,7 @@ function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
64
64
  'sources': json['sources'] == null ? undefined : json['sources'],
65
65
  'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
66
66
  'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
67
+ 'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
67
68
  };
68
69
  }
69
70
  function IdentificationStageToJSON(json) {
@@ -87,5 +88,6 @@ function IdentificationStageToJSONTyped(value, ignoreDiscriminator = false) {
87
88
  'sources': value['sources'],
88
89
  'show_source_labels': value['showSourceLabels'],
89
90
  'pretend_user_exists': value['pretendUserExists'],
91
+ 'enable_remember_me': value['enableRememberMe'],
90
92
  };
91
93
  }
@@ -95,6 +95,12 @@ export interface IdentificationStageRequest {
95
95
  * @memberof IdentificationStageRequest
96
96
  */
97
97
  pretendUserExists?: boolean;
98
+ /**
99
+ * Show the user the 'Remember me on this device' toggle, allowing repeat users to skip straight to entering their password.
100
+ * @type {boolean}
101
+ * @memberof IdentificationStageRequest
102
+ */
103
+ enableRememberMe?: boolean;
98
104
  }
99
105
  /**
100
106
  * Check if a given object implements the IdentificationStageRequest interface.
@@ -49,6 +49,7 @@ function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'sources': json['sources'] == null ? undefined : json['sources'],
50
50
  'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
51
51
  'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
52
+ 'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
52
53
  };
53
54
  }
54
55
  function IdentificationStageRequestToJSON(json) {
@@ -72,5 +73,6 @@ function IdentificationStageRequestToJSONTyped(value, ignoreDiscriminator = fals
72
73
  'sources': value['sources'],
73
74
  'show_source_labels': value['showSourceLabels'],
74
75
  'pretend_user_exists': value['pretendUserExists'],
76
+ 'enable_remember_me': value['enableRememberMe'],
75
77
  };
76
78
  }
@@ -104,6 +104,7 @@ export declare const ModelEnum: {
104
104
  readonly AuthentikCoreApplicationentitlement: "authentik_core.applicationentitlement";
105
105
  readonly AuthentikCoreToken: "authentik_core.token";
106
106
  readonly AuthentikEnterpriseLicense: "authentik_enterprise.license";
107
+ readonly AuthentikPoliciesUniquePasswordUniquepasswordpolicy: "authentik_policies_unique_password.uniquepasswordpolicy";
107
108
  readonly AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
108
109
  readonly AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: "authentik_providers_google_workspace.googleworkspaceprovidermapping";
109
110
  readonly AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: "authentik_providers_microsoft_entra.microsoftentraprovider";
@@ -114,6 +114,7 @@ exports.ModelEnum = {
114
114
  AuthentikCoreApplicationentitlement: 'authentik_core.applicationentitlement',
115
115
  AuthentikCoreToken: 'authentik_core.token',
116
116
  AuthentikEnterpriseLicense: 'authentik_enterprise.license',
117
+ AuthentikPoliciesUniquePasswordUniquepasswordpolicy: 'authentik_policies_unique_password.uniquepasswordpolicy',
117
118
  AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
118
119
  AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: 'authentik_providers_google_workspace.googleworkspaceprovidermapping',
119
120
  AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: 'authentik_providers_microsoft_entra.microsoftentraprovider',
@@ -0,0 +1,40 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.2.4
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Pagination } from './Pagination';
13
+ import type { UniquePasswordPolicy } from './UniquePasswordPolicy';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedUniquePasswordPolicyList
18
+ */
19
+ export interface PaginatedUniquePasswordPolicyList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedUniquePasswordPolicyList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<UniquePasswordPolicy>}
29
+ * @memberof PaginatedUniquePasswordPolicyList
30
+ */
31
+ results: Array<UniquePasswordPolicy>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedUniquePasswordPolicyList interface.
35
+ */
36
+ export declare function instanceOfPaginatedUniquePasswordPolicyList(value: object): value is PaginatedUniquePasswordPolicyList;
37
+ export declare function PaginatedUniquePasswordPolicyListFromJSON(json: any): PaginatedUniquePasswordPolicyList;
38
+ export declare function PaginatedUniquePasswordPolicyListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUniquePasswordPolicyList;
39
+ export declare function PaginatedUniquePasswordPolicyListToJSON(json: any): PaginatedUniquePasswordPolicyList;
40
+ export declare function PaginatedUniquePasswordPolicyListToJSONTyped(value?: PaginatedUniquePasswordPolicyList | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2025.2.4
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPaginatedUniquePasswordPolicyList = instanceOfPaginatedUniquePasswordPolicyList;
17
+ exports.PaginatedUniquePasswordPolicyListFromJSON = PaginatedUniquePasswordPolicyListFromJSON;
18
+ exports.PaginatedUniquePasswordPolicyListFromJSONTyped = PaginatedUniquePasswordPolicyListFromJSONTyped;
19
+ exports.PaginatedUniquePasswordPolicyListToJSON = PaginatedUniquePasswordPolicyListToJSON;
20
+ exports.PaginatedUniquePasswordPolicyListToJSONTyped = PaginatedUniquePasswordPolicyListToJSONTyped;
21
+ const Pagination_1 = require("./Pagination");
22
+ const UniquePasswordPolicy_1 = require("./UniquePasswordPolicy");
23
+ /**
24
+ * Check if a given object implements the PaginatedUniquePasswordPolicyList interface.
25
+ */
26
+ function instanceOfPaginatedUniquePasswordPolicyList(value) {
27
+ if (!('pagination' in value) || value['pagination'] === undefined)
28
+ return false;
29
+ if (!('results' in value) || value['results'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function PaginatedUniquePasswordPolicyListFromJSON(json) {
34
+ return PaginatedUniquePasswordPolicyListFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedUniquePasswordPolicyListFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
42
+ 'results': (json['results'].map(UniquePasswordPolicy_1.UniquePasswordPolicyFromJSON)),
43
+ };
44
+ }
45
+ function PaginatedUniquePasswordPolicyListToJSON(json) {
46
+ return PaginatedUniquePasswordPolicyListToJSONTyped(json, false);
47
+ }
48
+ function PaginatedUniquePasswordPolicyListToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
54
+ 'results': (value['results'].map(UniquePasswordPolicy_1.UniquePasswordPolicyToJSON)),
55
+ };
56
+ }
@@ -95,6 +95,12 @@ export interface PatchedIdentificationStageRequest {
95
95
  * @memberof PatchedIdentificationStageRequest
96
96
  */
97
97
  pretendUserExists?: boolean;
98
+ /**
99
+ * Show the user the 'Remember me on this device' toggle, allowing repeat users to skip straight to entering their password.
100
+ * @type {boolean}
101
+ * @memberof PatchedIdentificationStageRequest
102
+ */
103
+ enableRememberMe?: boolean;
98
104
  }
99
105
  /**
100
106
  * Check if a given object implements the PatchedIdentificationStageRequest interface.
@@ -47,6 +47,7 @@ function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
47
47
  'sources': json['sources'] == null ? undefined : json['sources'],
48
48
  'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
49
49
  'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
50
+ 'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
50
51
  };
51
52
  }
52
53
  function PatchedIdentificationStageRequestToJSON(json) {
@@ -70,5 +71,6 @@ function PatchedIdentificationStageRequestToJSONTyped(value, ignoreDiscriminator
70
71
  'sources': value['sources'],
71
72
  'show_source_labels': value['showSourceLabels'],
72
73
  'pretend_user_exists': value['pretendUserExists'],
74
+ 'enable_remember_me': value['enableRememberMe'],
73
75
  };
74
76
  }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.2.4
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Password Uniqueness Policy Serializer
14
+ * @export
15
+ * @interface PatchedUniquePasswordPolicyRequest
16
+ */
17
+ export interface PatchedUniquePasswordPolicyRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchedUniquePasswordPolicyRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
26
+ * @type {boolean}
27
+ * @memberof PatchedUniquePasswordPolicyRequest
28
+ */
29
+ executionLogging?: boolean;
30
+ /**
31
+ * Field key to check, field keys defined in Prompt stages are available.
32
+ * @type {string}
33
+ * @memberof PatchedUniquePasswordPolicyRequest
34
+ */
35
+ passwordField?: string;
36
+ /**
37
+ * Number of passwords to check against.
38
+ * @type {number}
39
+ * @memberof PatchedUniquePasswordPolicyRequest
40
+ */
41
+ numHistoricalPasswords?: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the PatchedUniquePasswordPolicyRequest interface.
45
+ */
46
+ export declare function instanceOfPatchedUniquePasswordPolicyRequest(value: object): value is PatchedUniquePasswordPolicyRequest;
47
+ export declare function PatchedUniquePasswordPolicyRequestFromJSON(json: any): PatchedUniquePasswordPolicyRequest;
48
+ export declare function PatchedUniquePasswordPolicyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUniquePasswordPolicyRequest;
49
+ export declare function PatchedUniquePasswordPolicyRequestToJSON(json: any): PatchedUniquePasswordPolicyRequest;
50
+ export declare function PatchedUniquePasswordPolicyRequestToJSONTyped(value?: PatchedUniquePasswordPolicyRequest | null, ignoreDiscriminator?: boolean): any;