@goauthentik/api 2023.3.0-1678747008 → 2023.3.0-1678908105

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 (47) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/dist/apis/StagesApi.d.ts +1 -0
  3. package/dist/apis/StagesApi.js +3 -0
  4. package/dist/esm/apis/StagesApi.d.ts +1 -0
  5. package/dist/esm/apis/StagesApi.js +3 -0
  6. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  7. package/dist/esm/models/ChallengeTypes.js +5 -0
  8. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
  9. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  10. package/dist/esm/models/PatchedUserLoginStageRequest.d.ts +6 -0
  11. package/dist/esm/models/PatchedUserLoginStageRequest.js +2 -0
  12. package/dist/esm/models/UserLoginChallenge.d.ts +62 -0
  13. package/dist/esm/models/UserLoginChallenge.js +48 -0
  14. package/dist/esm/models/UserLoginChallengeResponseRequest.d.ts +33 -0
  15. package/dist/esm/models/UserLoginChallengeResponseRequest.js +38 -0
  16. package/dist/esm/models/UserLoginStage.d.ts +6 -0
  17. package/dist/esm/models/UserLoginStage.js +2 -0
  18. package/dist/esm/models/UserLoginStageRequest.d.ts +6 -0
  19. package/dist/esm/models/UserLoginStageRequest.js +2 -0
  20. package/dist/esm/models/index.d.ts +2 -0
  21. package/dist/esm/models/index.js +2 -0
  22. package/dist/models/ChallengeTypes.d.ts +3 -0
  23. package/dist/models/ChallengeTypes.js +5 -0
  24. package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
  25. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  26. package/dist/models/PatchedUserLoginStageRequest.d.ts +6 -0
  27. package/dist/models/PatchedUserLoginStageRequest.js +2 -0
  28. package/dist/models/UserLoginChallenge.d.ts +62 -0
  29. package/dist/models/UserLoginChallenge.js +54 -0
  30. package/dist/models/UserLoginChallengeResponseRequest.d.ts +33 -0
  31. package/dist/models/UserLoginChallengeResponseRequest.js +44 -0
  32. package/dist/models/UserLoginStage.d.ts +6 -0
  33. package/dist/models/UserLoginStage.js +2 -0
  34. package/dist/models/UserLoginStageRequest.d.ts +6 -0
  35. package/dist/models/UserLoginStageRequest.js +2 -0
  36. package/dist/models/index.d.ts +2 -0
  37. package/dist/models/index.js +2 -0
  38. package/package.json +1 -1
  39. package/src/apis/StagesApi.ts +5 -0
  40. package/src/models/ChallengeTypes.ts +11 -1
  41. package/src/models/FlowChallengeResponseRequest.ts +11 -1
  42. package/src/models/PatchedUserLoginStageRequest.ts +8 -0
  43. package/src/models/UserLoginChallenge.ts +115 -0
  44. package/src/models/UserLoginChallengeResponseRequest.ts +64 -0
  45. package/src/models/UserLoginStage.ts +8 -0
  46. package/src/models/UserLoginStageRequest.ts +8 -0
  47. package/src/models/index.ts +2 -0
@@ -471,6 +471,8 @@ src/models/UserDeleteStageRequest.ts
471
471
  src/models/UserFieldsEnum.ts
472
472
  src/models/UserGroup.ts
473
473
  src/models/UserGroupRequest.ts
474
+ src/models/UserLoginChallenge.ts
475
+ src/models/UserLoginChallengeResponseRequest.ts
474
476
  src/models/UserLoginStage.ts
475
477
  src/models/UserLoginStageRequest.ts
476
478
  src/models/UserLogoutStage.ts
@@ -602,6 +602,7 @@ export interface StagesUserLoginListRequest {
602
602
  ordering?: string;
603
603
  page?: number;
604
604
  pageSize?: number;
605
+ rememberMeOffset?: string;
605
606
  search?: string;
606
607
  sessionDuration?: string;
607
608
  stageUuid?: string;
@@ -4896,6 +4896,9 @@ class StagesApi extends runtime.BaseAPI {
4896
4896
  if (requestParameters.pageSize !== undefined) {
4897
4897
  queryParameters['page_size'] = requestParameters.pageSize;
4898
4898
  }
4899
+ if (requestParameters.rememberMeOffset !== undefined) {
4900
+ queryParameters['remember_me_offset'] = requestParameters.rememberMeOffset;
4901
+ }
4899
4902
  if (requestParameters.search !== undefined) {
4900
4903
  queryParameters['search'] = requestParameters.search;
4901
4904
  }
@@ -602,6 +602,7 @@ export interface StagesUserLoginListRequest {
602
602
  ordering?: string;
603
603
  page?: number;
604
604
  pageSize?: number;
605
+ rememberMeOffset?: string;
605
606
  search?: string;
606
607
  sessionDuration?: string;
607
608
  stageUuid?: string;
@@ -4893,6 +4893,9 @@ export class StagesApi extends runtime.BaseAPI {
4893
4893
  if (requestParameters.pageSize !== undefined) {
4894
4894
  queryParameters['page_size'] = requestParameters.pageSize;
4895
4895
  }
4896
+ if (requestParameters.rememberMeOffset !== undefined) {
4897
+ queryParameters['remember_me_offset'] = requestParameters.rememberMeOffset;
4898
+ }
4896
4899
  if (requestParameters.search !== undefined) {
4897
4900
  queryParameters['search'] = requestParameters.search;
4898
4901
  }
@@ -31,6 +31,7 @@ import { PlexAuthenticationChallenge } from './PlexAuthenticationChallenge';
31
31
  import { PromptChallenge } from './PromptChallenge';
32
32
  import { RedirectChallenge } from './RedirectChallenge';
33
33
  import { ShellChallenge } from './ShellChallenge';
34
+ import { UserLoginChallenge } from './UserLoginChallenge';
34
35
  /**
35
36
  * @type ChallengeTypes
36
37
  *
@@ -77,6 +78,8 @@ export type ChallengeTypes = {
77
78
  } & PasswordChallenge | {
78
79
  component: 'ak-stage-prompt';
79
80
  } & PromptChallenge | {
81
+ component: 'ak-stage-user-login';
82
+ } & UserLoginChallenge | {
80
83
  component: 'xak-flow-redirect';
81
84
  } & RedirectChallenge | {
82
85
  component: 'xak-flow-shell';
@@ -33,6 +33,7 @@ import { PlexAuthenticationChallengeFromJSONTyped, PlexAuthenticationChallengeTo
33
33
  import { PromptChallengeFromJSONTyped, PromptChallengeToJSON, } from './PromptChallenge';
34
34
  import { RedirectChallengeFromJSONTyped, RedirectChallengeToJSON, } from './RedirectChallenge';
35
35
  import { ShellChallengeFromJSONTyped, ShellChallengeToJSON, } from './ShellChallenge';
36
+ import { UserLoginChallengeFromJSONTyped, UserLoginChallengeToJSON, } from './UserLoginChallenge';
36
37
  export function ChallengeTypesFromJSON(json) {
37
38
  return ChallengeTypesFromJSONTyped(json, false);
38
39
  }
@@ -81,6 +82,8 @@ export function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
81
82
  return Object.assign(Object.assign({}, PasswordChallengeFromJSONTyped(json, true)), { component: 'ak-stage-password' });
82
83
  case 'ak-stage-prompt':
83
84
  return Object.assign(Object.assign({}, PromptChallengeFromJSONTyped(json, true)), { component: 'ak-stage-prompt' });
85
+ case 'ak-stage-user-login':
86
+ return Object.assign(Object.assign({}, UserLoginChallengeFromJSONTyped(json, true)), { component: 'ak-stage-user-login' });
84
87
  case 'xak-flow-redirect':
85
88
  return Object.assign(Object.assign({}, RedirectChallengeFromJSONTyped(json, true)), { component: 'xak-flow-redirect' });
86
89
  case 'xak-flow-shell':
@@ -137,6 +140,8 @@ export function ChallengeTypesToJSON(value) {
137
140
  return PasswordChallengeToJSON(value);
138
141
  case 'ak-stage-prompt':
139
142
  return PromptChallengeToJSON(value);
143
+ case 'ak-stage-user-login':
144
+ return UserLoginChallengeToJSON(value);
140
145
  case 'xak-flow-redirect':
141
146
  return RedirectChallengeToJSON(value);
142
147
  case 'xak-flow-shell':
@@ -27,6 +27,7 @@ import { OAuthDeviceCodeFinishChallengeResponseRequest } from './OAuthDeviceCode
27
27
  import { PasswordChallengeResponseRequest } from './PasswordChallengeResponseRequest';
28
28
  import { PlexAuthenticationChallengeResponseRequest } from './PlexAuthenticationChallengeResponseRequest';
29
29
  import { PromptChallengeResponseRequest } from './PromptChallengeResponseRequest';
30
+ import { UserLoginChallengeResponseRequest } from './UserLoginChallengeResponseRequest';
30
31
  /**
31
32
  * @type FlowChallengeResponseRequest
32
33
  *
@@ -68,7 +69,9 @@ export type FlowChallengeResponseRequest = {
68
69
  component: 'ak-stage-password';
69
70
  } & PasswordChallengeResponseRequest | {
70
71
  component: 'ak-stage-prompt';
71
- } & PromptChallengeResponseRequest;
72
+ } & PromptChallengeResponseRequest | {
73
+ component: 'ak-stage-user-login';
74
+ } & UserLoginChallengeResponseRequest;
72
75
  export declare function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest;
73
76
  export declare function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowChallengeResponseRequest;
74
77
  export declare function FlowChallengeResponseRequestToJSON(value?: FlowChallengeResponseRequest | null): any;
@@ -29,6 +29,7 @@ import { OAuthDeviceCodeFinishChallengeResponseRequestFromJSONTyped, OAuthDevice
29
29
  import { PasswordChallengeResponseRequestFromJSONTyped, PasswordChallengeResponseRequestToJSON, } from './PasswordChallengeResponseRequest';
30
30
  import { PlexAuthenticationChallengeResponseRequestFromJSONTyped, PlexAuthenticationChallengeResponseRequestToJSON, } from './PlexAuthenticationChallengeResponseRequest';
31
31
  import { PromptChallengeResponseRequestFromJSONTyped, PromptChallengeResponseRequestToJSON, } from './PromptChallengeResponseRequest';
32
+ import { UserLoginChallengeResponseRequestFromJSONTyped, UserLoginChallengeResponseRequestToJSON, } from './UserLoginChallengeResponseRequest';
32
33
  export function FlowChallengeResponseRequestFromJSON(json) {
33
34
  return FlowChallengeResponseRequestFromJSONTyped(json, false);
34
35
  }
@@ -73,6 +74,8 @@ export function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscrimina
73
74
  return Object.assign(Object.assign({}, PasswordChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-password' });
74
75
  case 'ak-stage-prompt':
75
76
  return Object.assign(Object.assign({}, PromptChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-prompt' });
77
+ case 'ak-stage-user-login':
78
+ return Object.assign(Object.assign({}, UserLoginChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-user-login' });
76
79
  default:
77
80
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
78
81
  }
@@ -121,6 +124,8 @@ export function FlowChallengeResponseRequestToJSON(value) {
121
124
  return PasswordChallengeResponseRequestToJSON(value);
122
125
  case 'ak-stage-prompt':
123
126
  return PromptChallengeResponseRequestToJSON(value);
127
+ case 'ak-stage-user-login':
128
+ return UserLoginChallengeResponseRequestToJSON(value);
124
129
  default:
125
130
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
126
131
  }
@@ -40,6 +40,12 @@ export interface PatchedUserLoginStageRequest {
40
40
  * @memberof PatchedUserLoginStageRequest
41
41
  */
42
42
  terminateOtherSessions?: boolean;
43
+ /**
44
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
45
+ * @type {string}
46
+ * @memberof PatchedUserLoginStageRequest
47
+ */
48
+ rememberMeOffset?: string;
43
49
  }
44
50
  export declare function PatchedUserLoginStageRequestFromJSON(json: any): PatchedUserLoginStageRequest;
45
51
  export declare function PatchedUserLoginStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserLoginStageRequest;
@@ -25,6 +25,7 @@ export function PatchedUserLoginStageRequestFromJSONTyped(json, ignoreDiscrimina
25
25
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
26
26
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
27
27
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
28
+ 'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
28
29
  };
29
30
  }
30
31
  export function PatchedUserLoginStageRequestToJSON(value) {
@@ -39,5 +40,6 @@ export function PatchedUserLoginStageRequestToJSON(value) {
39
40
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
40
41
  'session_duration': value.sessionDuration,
41
42
  'terminate_other_sessions': value.terminateOtherSessions,
43
+ 'remember_me_offset': value.rememberMeOffset,
42
44
  };
43
45
  }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.3.0
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 { ChallengeChoices } from './ChallengeChoices';
13
+ import { ContextualFlowInfo } from './ContextualFlowInfo';
14
+ import { ErrorDetail } from './ErrorDetail';
15
+ /**
16
+ * Empty challenge
17
+ * @export
18
+ * @interface UserLoginChallenge
19
+ */
20
+ export interface UserLoginChallenge {
21
+ /**
22
+ *
23
+ * @type {ChallengeChoices}
24
+ * @memberof UserLoginChallenge
25
+ */
26
+ type: ChallengeChoices;
27
+ /**
28
+ *
29
+ * @type {ContextualFlowInfo}
30
+ * @memberof UserLoginChallenge
31
+ */
32
+ flowInfo?: ContextualFlowInfo;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof UserLoginChallenge
37
+ */
38
+ component?: string;
39
+ /**
40
+ *
41
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
42
+ * @memberof UserLoginChallenge
43
+ */
44
+ responseErrors?: {
45
+ [key: string]: Array<ErrorDetail>;
46
+ };
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof UserLoginChallenge
51
+ */
52
+ pendingUser: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof UserLoginChallenge
57
+ */
58
+ pendingUserAvatar: string;
59
+ }
60
+ export declare function UserLoginChallengeFromJSON(json: any): UserLoginChallenge;
61
+ export declare function UserLoginChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginChallenge;
62
+ export declare function UserLoginChallengeToJSON(value?: UserLoginChallenge | null): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.3.0
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
+ import { exists } from '../runtime';
15
+ import { ChallengeChoicesFromJSON, ChallengeChoicesToJSON, } from './ChallengeChoices';
16
+ import { ContextualFlowInfoFromJSON, ContextualFlowInfoToJSON, } from './ContextualFlowInfo';
17
+ export function UserLoginChallengeFromJSON(json) {
18
+ return UserLoginChallengeFromJSONTyped(json, false);
19
+ }
20
+ export function UserLoginChallengeFromJSONTyped(json, ignoreDiscriminator) {
21
+ if ((json === undefined) || (json === null)) {
22
+ return json;
23
+ }
24
+ return {
25
+ 'type': ChallengeChoicesFromJSON(json['type']),
26
+ 'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
27
+ 'component': !exists(json, 'component') ? undefined : json['component'],
28
+ 'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
29
+ 'pendingUser': json['pending_user'],
30
+ 'pendingUserAvatar': json['pending_user_avatar'],
31
+ };
32
+ }
33
+ export function UserLoginChallengeToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'type': ChallengeChoicesToJSON(value.type),
42
+ 'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
43
+ 'component': value.component,
44
+ 'response_errors': value.responseErrors,
45
+ 'pending_user': value.pendingUser,
46
+ 'pending_user_avatar': value.pendingUserAvatar,
47
+ };
48
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.3.0
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
+ * User login challenge
14
+ * @export
15
+ * @interface UserLoginChallengeResponseRequest
16
+ */
17
+ export interface UserLoginChallengeResponseRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserLoginChallengeResponseRequest
22
+ */
23
+ component?: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof UserLoginChallengeResponseRequest
28
+ */
29
+ rememberMe: boolean;
30
+ }
31
+ export declare function UserLoginChallengeResponseRequestFromJSON(json: any): UserLoginChallengeResponseRequest;
32
+ export declare function UserLoginChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginChallengeResponseRequest;
33
+ export declare function UserLoginChallengeResponseRequestToJSON(value?: UserLoginChallengeResponseRequest | null): any;
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.3.0
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
+ import { exists } from '../runtime';
15
+ export function UserLoginChallengeResponseRequestFromJSON(json) {
16
+ return UserLoginChallengeResponseRequestFromJSONTyped(json, false);
17
+ }
18
+ export function UserLoginChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'component': !exists(json, 'component') ? undefined : json['component'],
24
+ 'rememberMe': json['remember_me'],
25
+ };
26
+ }
27
+ export function UserLoginChallengeResponseRequestToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'component': value.component,
36
+ 'remember_me': value.rememberMe,
37
+ };
38
+ }
@@ -70,6 +70,12 @@ export interface UserLoginStage {
70
70
  * @memberof UserLoginStage
71
71
  */
72
72
  terminateOtherSessions?: boolean;
73
+ /**
74
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
75
+ * @type {string}
76
+ * @memberof UserLoginStage
77
+ */
78
+ rememberMeOffset?: string;
73
79
  }
74
80
  export declare function UserLoginStageFromJSON(json: any): UserLoginStage;
75
81
  export declare function UserLoginStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginStage;
@@ -30,6 +30,7 @@ export function UserLoginStageFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetFromJSON)),
31
31
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
32
32
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
33
+ 'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
33
34
  };
34
35
  }
35
36
  export function UserLoginStageToJSON(value) {
@@ -44,5 +45,6 @@ export function UserLoginStageToJSON(value) {
44
45
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetToJSON)),
45
46
  'session_duration': value.sessionDuration,
46
47
  'terminate_other_sessions': value.terminateOtherSessions,
48
+ 'remember_me_offset': value.rememberMeOffset,
47
49
  };
48
50
  }
@@ -40,6 +40,12 @@ export interface UserLoginStageRequest {
40
40
  * @memberof UserLoginStageRequest
41
41
  */
42
42
  terminateOtherSessions?: boolean;
43
+ /**
44
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
45
+ * @type {string}
46
+ * @memberof UserLoginStageRequest
47
+ */
48
+ rememberMeOffset?: string;
43
49
  }
44
50
  export declare function UserLoginStageRequestFromJSON(json: any): UserLoginStageRequest;
45
51
  export declare function UserLoginStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginStageRequest;
@@ -25,6 +25,7 @@ export function UserLoginStageRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
26
26
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
27
27
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
28
+ 'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
28
29
  };
29
30
  }
30
31
  export function UserLoginStageRequestToJSON(value) {
@@ -39,5 +40,6 @@ export function UserLoginStageRequestToJSON(value) {
39
40
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
40
41
  'session_duration': value.sessionDuration,
41
42
  'terminate_other_sessions': value.terminateOtherSessions,
43
+ 'remember_me_offset': value.rememberMeOffset,
42
44
  };
43
45
  }
@@ -448,6 +448,8 @@ export * from './UserDeleteStageRequest';
448
448
  export * from './UserFieldsEnum';
449
449
  export * from './UserGroup';
450
450
  export * from './UserGroupRequest';
451
+ export * from './UserLoginChallenge';
452
+ export * from './UserLoginChallengeResponseRequest';
451
453
  export * from './UserLoginStage';
452
454
  export * from './UserLoginStageRequest';
453
455
  export * from './UserLogoutStage';
@@ -450,6 +450,8 @@ export * from './UserDeleteStageRequest';
450
450
  export * from './UserFieldsEnum';
451
451
  export * from './UserGroup';
452
452
  export * from './UserGroupRequest';
453
+ export * from './UserLoginChallenge';
454
+ export * from './UserLoginChallengeResponseRequest';
453
455
  export * from './UserLoginStage';
454
456
  export * from './UserLoginStageRequest';
455
457
  export * from './UserLogoutStage';
@@ -31,6 +31,7 @@ import { PlexAuthenticationChallenge } from './PlexAuthenticationChallenge';
31
31
  import { PromptChallenge } from './PromptChallenge';
32
32
  import { RedirectChallenge } from './RedirectChallenge';
33
33
  import { ShellChallenge } from './ShellChallenge';
34
+ import { UserLoginChallenge } from './UserLoginChallenge';
34
35
  /**
35
36
  * @type ChallengeTypes
36
37
  *
@@ -77,6 +78,8 @@ export type ChallengeTypes = {
77
78
  } & PasswordChallenge | {
78
79
  component: 'ak-stage-prompt';
79
80
  } & PromptChallenge | {
81
+ component: 'ak-stage-user-login';
82
+ } & UserLoginChallenge | {
80
83
  component: 'xak-flow-redirect';
81
84
  } & RedirectChallenge | {
82
85
  component: 'xak-flow-shell';
@@ -36,6 +36,7 @@ const PlexAuthenticationChallenge_1 = require("./PlexAuthenticationChallenge");
36
36
  const PromptChallenge_1 = require("./PromptChallenge");
37
37
  const RedirectChallenge_1 = require("./RedirectChallenge");
38
38
  const ShellChallenge_1 = require("./ShellChallenge");
39
+ const UserLoginChallenge_1 = require("./UserLoginChallenge");
39
40
  function ChallengeTypesFromJSON(json) {
40
41
  return ChallengeTypesFromJSONTyped(json, false);
41
42
  }
@@ -85,6 +86,8 @@ function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
85
86
  return Object.assign(Object.assign({}, (0, PasswordChallenge_1.PasswordChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-password' });
86
87
  case 'ak-stage-prompt':
87
88
  return Object.assign(Object.assign({}, (0, PromptChallenge_1.PromptChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-prompt' });
89
+ case 'ak-stage-user-login':
90
+ return Object.assign(Object.assign({}, (0, UserLoginChallenge_1.UserLoginChallengeFromJSONTyped)(json, true)), { component: 'ak-stage-user-login' });
88
91
  case 'xak-flow-redirect':
89
92
  return Object.assign(Object.assign({}, (0, RedirectChallenge_1.RedirectChallengeFromJSONTyped)(json, true)), { component: 'xak-flow-redirect' });
90
93
  case 'xak-flow-shell':
@@ -142,6 +145,8 @@ function ChallengeTypesToJSON(value) {
142
145
  return (0, PasswordChallenge_1.PasswordChallengeToJSON)(value);
143
146
  case 'ak-stage-prompt':
144
147
  return (0, PromptChallenge_1.PromptChallengeToJSON)(value);
148
+ case 'ak-stage-user-login':
149
+ return (0, UserLoginChallenge_1.UserLoginChallengeToJSON)(value);
145
150
  case 'xak-flow-redirect':
146
151
  return (0, RedirectChallenge_1.RedirectChallengeToJSON)(value);
147
152
  case 'xak-flow-shell':
@@ -27,6 +27,7 @@ import { OAuthDeviceCodeFinishChallengeResponseRequest } from './OAuthDeviceCode
27
27
  import { PasswordChallengeResponseRequest } from './PasswordChallengeResponseRequest';
28
28
  import { PlexAuthenticationChallengeResponseRequest } from './PlexAuthenticationChallengeResponseRequest';
29
29
  import { PromptChallengeResponseRequest } from './PromptChallengeResponseRequest';
30
+ import { UserLoginChallengeResponseRequest } from './UserLoginChallengeResponseRequest';
30
31
  /**
31
32
  * @type FlowChallengeResponseRequest
32
33
  *
@@ -68,7 +69,9 @@ export type FlowChallengeResponseRequest = {
68
69
  component: 'ak-stage-password';
69
70
  } & PasswordChallengeResponseRequest | {
70
71
  component: 'ak-stage-prompt';
71
- } & PromptChallengeResponseRequest;
72
+ } & PromptChallengeResponseRequest | {
73
+ component: 'ak-stage-user-login';
74
+ } & UserLoginChallengeResponseRequest;
72
75
  export declare function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest;
73
76
  export declare function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowChallengeResponseRequest;
74
77
  export declare function FlowChallengeResponseRequestToJSON(value?: FlowChallengeResponseRequest | null): any;
@@ -32,6 +32,7 @@ const OAuthDeviceCodeFinishChallengeResponseRequest_1 = require("./OAuthDeviceCo
32
32
  const PasswordChallengeResponseRequest_1 = require("./PasswordChallengeResponseRequest");
33
33
  const PlexAuthenticationChallengeResponseRequest_1 = require("./PlexAuthenticationChallengeResponseRequest");
34
34
  const PromptChallengeResponseRequest_1 = require("./PromptChallengeResponseRequest");
35
+ const UserLoginChallengeResponseRequest_1 = require("./UserLoginChallengeResponseRequest");
35
36
  function FlowChallengeResponseRequestFromJSON(json) {
36
37
  return FlowChallengeResponseRequestFromJSONTyped(json, false);
37
38
  }
@@ -77,6 +78,8 @@ function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
77
78
  return Object.assign(Object.assign({}, (0, PasswordChallengeResponseRequest_1.PasswordChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'ak-stage-password' });
78
79
  case 'ak-stage-prompt':
79
80
  return Object.assign(Object.assign({}, (0, PromptChallengeResponseRequest_1.PromptChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'ak-stage-prompt' });
81
+ case 'ak-stage-user-login':
82
+ return Object.assign(Object.assign({}, (0, UserLoginChallengeResponseRequest_1.UserLoginChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'ak-stage-user-login' });
80
83
  default:
81
84
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
82
85
  }
@@ -126,6 +129,8 @@ function FlowChallengeResponseRequestToJSON(value) {
126
129
  return (0, PasswordChallengeResponseRequest_1.PasswordChallengeResponseRequestToJSON)(value);
127
130
  case 'ak-stage-prompt':
128
131
  return (0, PromptChallengeResponseRequest_1.PromptChallengeResponseRequestToJSON)(value);
132
+ case 'ak-stage-user-login':
133
+ return (0, UserLoginChallengeResponseRequest_1.UserLoginChallengeResponseRequestToJSON)(value);
129
134
  default:
130
135
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
131
136
  }
@@ -40,6 +40,12 @@ export interface PatchedUserLoginStageRequest {
40
40
  * @memberof PatchedUserLoginStageRequest
41
41
  */
42
42
  terminateOtherSessions?: boolean;
43
+ /**
44
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
45
+ * @type {string}
46
+ * @memberof PatchedUserLoginStageRequest
47
+ */
48
+ rememberMeOffset?: string;
43
49
  }
44
50
  export declare function PatchedUserLoginStageRequestFromJSON(json: any): PatchedUserLoginStageRequest;
45
51
  export declare function PatchedUserLoginStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserLoginStageRequest;
@@ -29,6 +29,7 @@ function PatchedUserLoginStageRequestFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
30
30
  'sessionDuration': !(0, runtime_1.exists)(json, 'session_duration') ? undefined : json['session_duration'],
31
31
  'terminateOtherSessions': !(0, runtime_1.exists)(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
32
+ 'rememberMeOffset': !(0, runtime_1.exists)(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
32
33
  };
33
34
  }
34
35
  exports.PatchedUserLoginStageRequestFromJSONTyped = PatchedUserLoginStageRequestFromJSONTyped;
@@ -44,6 +45,7 @@ function PatchedUserLoginStageRequestToJSON(value) {
44
45
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
45
46
  'session_duration': value.sessionDuration,
46
47
  'terminate_other_sessions': value.terminateOtherSessions,
48
+ 'remember_me_offset': value.rememberMeOffset,
47
49
  };
48
50
  }
49
51
  exports.PatchedUserLoginStageRequestToJSON = PatchedUserLoginStageRequestToJSON;
@@ -0,0 +1,62 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.3.0
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 { ChallengeChoices } from './ChallengeChoices';
13
+ import { ContextualFlowInfo } from './ContextualFlowInfo';
14
+ import { ErrorDetail } from './ErrorDetail';
15
+ /**
16
+ * Empty challenge
17
+ * @export
18
+ * @interface UserLoginChallenge
19
+ */
20
+ export interface UserLoginChallenge {
21
+ /**
22
+ *
23
+ * @type {ChallengeChoices}
24
+ * @memberof UserLoginChallenge
25
+ */
26
+ type: ChallengeChoices;
27
+ /**
28
+ *
29
+ * @type {ContextualFlowInfo}
30
+ * @memberof UserLoginChallenge
31
+ */
32
+ flowInfo?: ContextualFlowInfo;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof UserLoginChallenge
37
+ */
38
+ component?: string;
39
+ /**
40
+ *
41
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
42
+ * @memberof UserLoginChallenge
43
+ */
44
+ responseErrors?: {
45
+ [key: string]: Array<ErrorDetail>;
46
+ };
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof UserLoginChallenge
51
+ */
52
+ pendingUser: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof UserLoginChallenge
57
+ */
58
+ pendingUserAvatar: string;
59
+ }
60
+ export declare function UserLoginChallengeFromJSON(json: any): UserLoginChallenge;
61
+ export declare function UserLoginChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginChallenge;
62
+ export declare function UserLoginChallengeToJSON(value?: UserLoginChallenge | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.3.0
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.UserLoginChallengeToJSON = exports.UserLoginChallengeFromJSONTyped = exports.UserLoginChallengeFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const ChallengeChoices_1 = require("./ChallengeChoices");
19
+ const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
+ function UserLoginChallengeFromJSON(json) {
21
+ return UserLoginChallengeFromJSONTyped(json, false);
22
+ }
23
+ exports.UserLoginChallengeFromJSON = UserLoginChallengeFromJSON;
24
+ function UserLoginChallengeFromJSONTyped(json, ignoreDiscriminator) {
25
+ if ((json === undefined) || (json === null)) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
30
+ 'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
31
+ 'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
32
+ 'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
33
+ 'pendingUser': json['pending_user'],
34
+ 'pendingUserAvatar': json['pending_user_avatar'],
35
+ };
36
+ }
37
+ exports.UserLoginChallengeFromJSONTyped = UserLoginChallengeFromJSONTyped;
38
+ function UserLoginChallengeToJSON(value) {
39
+ if (value === undefined) {
40
+ return undefined;
41
+ }
42
+ if (value === null) {
43
+ return null;
44
+ }
45
+ return {
46
+ 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
47
+ 'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
48
+ 'component': value.component,
49
+ 'response_errors': value.responseErrors,
50
+ 'pending_user': value.pendingUser,
51
+ 'pending_user_avatar': value.pendingUserAvatar,
52
+ };
53
+ }
54
+ exports.UserLoginChallengeToJSON = UserLoginChallengeToJSON;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.3.0
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
+ * User login challenge
14
+ * @export
15
+ * @interface UserLoginChallengeResponseRequest
16
+ */
17
+ export interface UserLoginChallengeResponseRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserLoginChallengeResponseRequest
22
+ */
23
+ component?: string;
24
+ /**
25
+ *
26
+ * @type {boolean}
27
+ * @memberof UserLoginChallengeResponseRequest
28
+ */
29
+ rememberMe: boolean;
30
+ }
31
+ export declare function UserLoginChallengeResponseRequestFromJSON(json: any): UserLoginChallengeResponseRequest;
32
+ export declare function UserLoginChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginChallengeResponseRequest;
33
+ export declare function UserLoginChallengeResponseRequestToJSON(value?: UserLoginChallengeResponseRequest | null): any;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.3.0
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.UserLoginChallengeResponseRequestToJSON = exports.UserLoginChallengeResponseRequestFromJSONTyped = exports.UserLoginChallengeResponseRequestFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ function UserLoginChallengeResponseRequestFromJSON(json) {
19
+ return UserLoginChallengeResponseRequestFromJSONTyped(json, false);
20
+ }
21
+ exports.UserLoginChallengeResponseRequestFromJSON = UserLoginChallengeResponseRequestFromJSON;
22
+ function UserLoginChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
28
+ 'rememberMe': json['remember_me'],
29
+ };
30
+ }
31
+ exports.UserLoginChallengeResponseRequestFromJSONTyped = UserLoginChallengeResponseRequestFromJSONTyped;
32
+ function UserLoginChallengeResponseRequestToJSON(value) {
33
+ if (value === undefined) {
34
+ return undefined;
35
+ }
36
+ if (value === null) {
37
+ return null;
38
+ }
39
+ return {
40
+ 'component': value.component,
41
+ 'remember_me': value.rememberMe,
42
+ };
43
+ }
44
+ exports.UserLoginChallengeResponseRequestToJSON = UserLoginChallengeResponseRequestToJSON;
@@ -70,6 +70,12 @@ export interface UserLoginStage {
70
70
  * @memberof UserLoginStage
71
71
  */
72
72
  terminateOtherSessions?: boolean;
73
+ /**
74
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
75
+ * @type {string}
76
+ * @memberof UserLoginStage
77
+ */
78
+ rememberMeOffset?: string;
73
79
  }
74
80
  export declare function UserLoginStageFromJSON(json: any): UserLoginStage;
75
81
  export declare function UserLoginStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginStage;
@@ -34,6 +34,7 @@ function UserLoginStageFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSet_1.FlowSetFromJSON)),
35
35
  'sessionDuration': !(0, runtime_1.exists)(json, 'session_duration') ? undefined : json['session_duration'],
36
36
  'terminateOtherSessions': !(0, runtime_1.exists)(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
37
+ 'rememberMeOffset': !(0, runtime_1.exists)(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
37
38
  };
38
39
  }
39
40
  exports.UserLoginStageFromJSONTyped = UserLoginStageFromJSONTyped;
@@ -49,6 +50,7 @@ function UserLoginStageToJSON(value) {
49
50
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSet_1.FlowSetToJSON)),
50
51
  'session_duration': value.sessionDuration,
51
52
  'terminate_other_sessions': value.terminateOtherSessions,
53
+ 'remember_me_offset': value.rememberMeOffset,
52
54
  };
53
55
  }
54
56
  exports.UserLoginStageToJSON = UserLoginStageToJSON;
@@ -40,6 +40,12 @@ export interface UserLoginStageRequest {
40
40
  * @memberof UserLoginStageRequest
41
41
  */
42
42
  terminateOtherSessions?: boolean;
43
+ /**
44
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
45
+ * @type {string}
46
+ * @memberof UserLoginStageRequest
47
+ */
48
+ rememberMeOffset?: string;
43
49
  }
44
50
  export declare function UserLoginStageRequestFromJSON(json: any): UserLoginStageRequest;
45
51
  export declare function UserLoginStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginStageRequest;
@@ -29,6 +29,7 @@ function UserLoginStageRequestFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
30
30
  'sessionDuration': !(0, runtime_1.exists)(json, 'session_duration') ? undefined : json['session_duration'],
31
31
  'terminateOtherSessions': !(0, runtime_1.exists)(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
32
+ 'rememberMeOffset': !(0, runtime_1.exists)(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
32
33
  };
33
34
  }
34
35
  exports.UserLoginStageRequestFromJSONTyped = UserLoginStageRequestFromJSONTyped;
@@ -44,6 +45,7 @@ function UserLoginStageRequestToJSON(value) {
44
45
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
45
46
  'session_duration': value.sessionDuration,
46
47
  'terminate_other_sessions': value.terminateOtherSessions,
48
+ 'remember_me_offset': value.rememberMeOffset,
47
49
  };
48
50
  }
49
51
  exports.UserLoginStageRequestToJSON = UserLoginStageRequestToJSON;
@@ -448,6 +448,8 @@ export * from './UserDeleteStageRequest';
448
448
  export * from './UserFieldsEnum';
449
449
  export * from './UserGroup';
450
450
  export * from './UserGroupRequest';
451
+ export * from './UserLoginChallenge';
452
+ export * from './UserLoginChallengeResponseRequest';
451
453
  export * from './UserLoginStage';
452
454
  export * from './UserLoginStageRequest';
453
455
  export * from './UserLogoutStage';
@@ -466,6 +466,8 @@ __exportStar(require("./UserDeleteStageRequest"), exports);
466
466
  __exportStar(require("./UserFieldsEnum"), exports);
467
467
  __exportStar(require("./UserGroup"), exports);
468
468
  __exportStar(require("./UserGroupRequest"), exports);
469
+ __exportStar(require("./UserLoginChallenge"), exports);
470
+ __exportStar(require("./UserLoginChallengeResponseRequest"), exports);
469
471
  __exportStar(require("./UserLoginStage"), exports);
470
472
  __exportStar(require("./UserLoginStageRequest"), exports);
471
473
  __exportStar(require("./UserLogoutStage"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.3.0-1678747008",
3
+ "version": "2023.3.0-1678908105",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -1025,6 +1025,7 @@ export interface StagesUserLoginListRequest {
1025
1025
  ordering?: string;
1026
1026
  page?: number;
1027
1027
  pageSize?: number;
1028
+ rememberMeOffset?: string;
1028
1029
  search?: string;
1029
1030
  sessionDuration?: string;
1030
1031
  stageUuid?: string;
@@ -6629,6 +6630,10 @@ export class StagesApi extends runtime.BaseAPI {
6629
6630
  queryParameters['page_size'] = requestParameters.pageSize;
6630
6631
  }
6631
6632
 
6633
+ if (requestParameters.rememberMeOffset !== undefined) {
6634
+ queryParameters['remember_me_offset'] = requestParameters.rememberMeOffset;
6635
+ }
6636
+
6632
6637
  if (requestParameters.search !== undefined) {
6633
6638
  queryParameters['search'] = requestParameters.search;
6634
6639
  }
@@ -144,13 +144,19 @@ import {
144
144
  ShellChallengeFromJSONTyped,
145
145
  ShellChallengeToJSON,
146
146
  } from './ShellChallenge';
147
+ import {
148
+ UserLoginChallenge,
149
+ UserLoginChallengeFromJSON,
150
+ UserLoginChallengeFromJSONTyped,
151
+ UserLoginChallengeToJSON,
152
+ } from './UserLoginChallenge';
147
153
 
148
154
  /**
149
155
  * @type ChallengeTypes
150
156
  *
151
157
  * @export
152
158
  */
153
- export type ChallengeTypes = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallenge | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallenge | { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'ak-stage-access-denied' } & AccessDeniedChallenge | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallenge | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallenge | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallenge | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallenge | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallenge | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallenge | { component: 'ak-stage-autosubmit' } & AutosubmitChallenge | { component: 'ak-stage-captcha' } & CaptchaChallenge | { component: 'ak-stage-consent' } & ConsentChallenge | { component: 'ak-stage-dummy' } & DummyChallenge | { component: 'ak-stage-email' } & EmailChallenge | { component: 'ak-stage-flow-error' } & FlowErrorChallenge | { component: 'ak-stage-identification' } & IdentificationChallenge | { component: 'ak-stage-password' } & PasswordChallenge | { component: 'ak-stage-prompt' } & PromptChallenge | { component: 'xak-flow-redirect' } & RedirectChallenge | { component: 'xak-flow-shell' } & ShellChallenge;
159
+ export type ChallengeTypes = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallenge | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallenge | { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'ak-stage-access-denied' } & AccessDeniedChallenge | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallenge | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallenge | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallenge | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallenge | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallenge | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallenge | { component: 'ak-stage-autosubmit' } & AutosubmitChallenge | { component: 'ak-stage-captcha' } & CaptchaChallenge | { component: 'ak-stage-consent' } & ConsentChallenge | { component: 'ak-stage-dummy' } & DummyChallenge | { component: 'ak-stage-email' } & EmailChallenge | { component: 'ak-stage-flow-error' } & FlowErrorChallenge | { component: 'ak-stage-identification' } & IdentificationChallenge | { component: 'ak-stage-password' } & PasswordChallenge | { component: 'ak-stage-prompt' } & PromptChallenge | { component: 'ak-stage-user-login' } & UserLoginChallenge | { component: 'xak-flow-redirect' } & RedirectChallenge | { component: 'xak-flow-shell' } & ShellChallenge;
154
160
 
155
161
  export function ChallengeTypesFromJSON(json: any): ChallengeTypes {
156
162
  return ChallengeTypesFromJSONTyped(json, false);
@@ -201,6 +207,8 @@ export function ChallengeTypesFromJSONTyped(json: any, ignoreDiscriminator: bool
201
207
  return {...PasswordChallengeFromJSONTyped(json, true), component: 'ak-stage-password'};
202
208
  case 'ak-stage-prompt':
203
209
  return {...PromptChallengeFromJSONTyped(json, true), component: 'ak-stage-prompt'};
210
+ case 'ak-stage-user-login':
211
+ return {...UserLoginChallengeFromJSONTyped(json, true), component: 'ak-stage-user-login'};
204
212
  case 'xak-flow-redirect':
205
213
  return {...RedirectChallengeFromJSONTyped(json, true), component: 'xak-flow-redirect'};
206
214
  case 'xak-flow-shell':
@@ -258,6 +266,8 @@ export function ChallengeTypesToJSON(value?: ChallengeTypes | null): any {
258
266
  return PasswordChallengeToJSON(value);
259
267
  case 'ak-stage-prompt':
260
268
  return PromptChallengeToJSON(value);
269
+ case 'ak-stage-user-login':
270
+ return UserLoginChallengeToJSON(value);
261
271
  case 'xak-flow-redirect':
262
272
  return RedirectChallengeToJSON(value);
263
273
  case 'xak-flow-shell':
@@ -120,13 +120,19 @@ import {
120
120
  PromptChallengeResponseRequestFromJSONTyped,
121
121
  PromptChallengeResponseRequestToJSON,
122
122
  } from './PromptChallengeResponseRequest';
123
+ import {
124
+ UserLoginChallengeResponseRequest,
125
+ UserLoginChallengeResponseRequestFromJSON,
126
+ UserLoginChallengeResponseRequestFromJSONTyped,
127
+ UserLoginChallengeResponseRequestToJSON,
128
+ } from './UserLoginChallengeResponseRequest';
123
129
 
124
130
  /**
125
131
  * @type FlowChallengeResponseRequest
126
132
  *
127
133
  * @export
128
134
  */
129
- export type FlowChallengeResponseRequest = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallengeResponseRequest | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallengeResponseRequest | { component: 'ak-source-oauth-apple' } & AppleChallengeResponseRequest | { component: 'ak-source-plex' } & PlexAuthenticationChallengeResponseRequest | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallengeResponseRequest | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallengeResponseRequest | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallengeResponseRequest | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallengeResponseRequest | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallengeResponseRequest | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallengeResponseRequest | { component: 'ak-stage-autosubmit' } & AutoSubmitChallengeResponseRequest | { component: 'ak-stage-captcha' } & CaptchaChallengeResponseRequest | { component: 'ak-stage-consent' } & ConsentChallengeResponseRequest | { component: 'ak-stage-dummy' } & DummyChallengeResponseRequest | { component: 'ak-stage-email' } & EmailChallengeResponseRequest | { component: 'ak-stage-identification' } & IdentificationChallengeResponseRequest | { component: 'ak-stage-password' } & PasswordChallengeResponseRequest | { component: 'ak-stage-prompt' } & PromptChallengeResponseRequest;
135
+ export type FlowChallengeResponseRequest = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallengeResponseRequest | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallengeResponseRequest | { component: 'ak-source-oauth-apple' } & AppleChallengeResponseRequest | { component: 'ak-source-plex' } & PlexAuthenticationChallengeResponseRequest | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallengeResponseRequest | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallengeResponseRequest | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallengeResponseRequest | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallengeResponseRequest | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallengeResponseRequest | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallengeResponseRequest | { component: 'ak-stage-autosubmit' } & AutoSubmitChallengeResponseRequest | { component: 'ak-stage-captcha' } & CaptchaChallengeResponseRequest | { component: 'ak-stage-consent' } & ConsentChallengeResponseRequest | { component: 'ak-stage-dummy' } & DummyChallengeResponseRequest | { component: 'ak-stage-email' } & EmailChallengeResponseRequest | { component: 'ak-stage-identification' } & IdentificationChallengeResponseRequest | { component: 'ak-stage-password' } & PasswordChallengeResponseRequest | { component: 'ak-stage-prompt' } & PromptChallengeResponseRequest | { component: 'ak-stage-user-login' } & UserLoginChallengeResponseRequest;
130
136
 
131
137
  export function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest {
132
138
  return FlowChallengeResponseRequestFromJSONTyped(json, false);
@@ -173,6 +179,8 @@ export function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscr
173
179
  return {...PasswordChallengeResponseRequestFromJSONTyped(json, true), component: 'ak-stage-password'};
174
180
  case 'ak-stage-prompt':
175
181
  return {...PromptChallengeResponseRequestFromJSONTyped(json, true), component: 'ak-stage-prompt'};
182
+ case 'ak-stage-user-login':
183
+ return {...UserLoginChallengeResponseRequestFromJSONTyped(json, true), component: 'ak-stage-user-login'};
176
184
  default:
177
185
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
178
186
  }
@@ -222,6 +230,8 @@ export function FlowChallengeResponseRequestToJSON(value?: FlowChallengeResponse
222
230
  return PasswordChallengeResponseRequestToJSON(value);
223
231
  case 'ak-stage-prompt':
224
232
  return PromptChallengeResponseRequestToJSON(value);
233
+ case 'ak-stage-user-login':
234
+ return UserLoginChallengeResponseRequestToJSON(value);
225
235
  default:
226
236
  throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
227
237
  }
@@ -50,6 +50,12 @@ export interface PatchedUserLoginStageRequest {
50
50
  * @memberof PatchedUserLoginStageRequest
51
51
  */
52
52
  terminateOtherSessions?: boolean;
53
+ /**
54
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
55
+ * @type {string}
56
+ * @memberof PatchedUserLoginStageRequest
57
+ */
58
+ rememberMeOffset?: string;
53
59
  }
54
60
 
55
61
  export function PatchedUserLoginStageRequestFromJSON(json: any): PatchedUserLoginStageRequest {
@@ -66,6 +72,7 @@ export function PatchedUserLoginStageRequestFromJSONTyped(json: any, ignoreDiscr
66
72
  'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
67
73
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
68
74
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
75
+ 'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
69
76
  };
70
77
  }
71
78
 
@@ -82,6 +89,7 @@ export function PatchedUserLoginStageRequestToJSON(value?: PatchedUserLoginStage
82
89
  'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
83
90
  'session_duration': value.sessionDuration,
84
91
  'terminate_other_sessions': value.terminateOtherSessions,
92
+ 'remember_me_offset': value.rememberMeOffset,
85
93
  };
86
94
  }
87
95
 
@@ -0,0 +1,115 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.3.0
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
+ import { exists, mapValues } from '../runtime';
16
+ import {
17
+ ChallengeChoices,
18
+ ChallengeChoicesFromJSON,
19
+ ChallengeChoicesFromJSONTyped,
20
+ ChallengeChoicesToJSON,
21
+ } from './ChallengeChoices';
22
+ import {
23
+ ContextualFlowInfo,
24
+ ContextualFlowInfoFromJSON,
25
+ ContextualFlowInfoFromJSONTyped,
26
+ ContextualFlowInfoToJSON,
27
+ } from './ContextualFlowInfo';
28
+ import {
29
+ ErrorDetail,
30
+ ErrorDetailFromJSON,
31
+ ErrorDetailFromJSONTyped,
32
+ ErrorDetailToJSON,
33
+ } from './ErrorDetail';
34
+
35
+ /**
36
+ * Empty challenge
37
+ * @export
38
+ * @interface UserLoginChallenge
39
+ */
40
+ export interface UserLoginChallenge {
41
+ /**
42
+ *
43
+ * @type {ChallengeChoices}
44
+ * @memberof UserLoginChallenge
45
+ */
46
+ type: ChallengeChoices;
47
+ /**
48
+ *
49
+ * @type {ContextualFlowInfo}
50
+ * @memberof UserLoginChallenge
51
+ */
52
+ flowInfo?: ContextualFlowInfo;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof UserLoginChallenge
57
+ */
58
+ component?: string;
59
+ /**
60
+ *
61
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
62
+ * @memberof UserLoginChallenge
63
+ */
64
+ responseErrors?: { [key: string]: Array<ErrorDetail>; };
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof UserLoginChallenge
69
+ */
70
+ pendingUser: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof UserLoginChallenge
75
+ */
76
+ pendingUserAvatar: string;
77
+ }
78
+
79
+ export function UserLoginChallengeFromJSON(json: any): UserLoginChallenge {
80
+ return UserLoginChallengeFromJSONTyped(json, false);
81
+ }
82
+
83
+ export function UserLoginChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginChallenge {
84
+ if ((json === undefined) || (json === null)) {
85
+ return json;
86
+ }
87
+ return {
88
+
89
+ 'type': ChallengeChoicesFromJSON(json['type']),
90
+ 'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
91
+ 'component': !exists(json, 'component') ? undefined : json['component'],
92
+ 'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
93
+ 'pendingUser': json['pending_user'],
94
+ 'pendingUserAvatar': json['pending_user_avatar'],
95
+ };
96
+ }
97
+
98
+ export function UserLoginChallengeToJSON(value?: UserLoginChallenge | null): any {
99
+ if (value === undefined) {
100
+ return undefined;
101
+ }
102
+ if (value === null) {
103
+ return null;
104
+ }
105
+ return {
106
+
107
+ 'type': ChallengeChoicesToJSON(value.type),
108
+ 'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
109
+ 'component': value.component,
110
+ 'response_errors': value.responseErrors,
111
+ 'pending_user': value.pendingUser,
112
+ 'pending_user_avatar': value.pendingUserAvatar,
113
+ };
114
+ }
115
+
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.3.0
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * User login challenge
18
+ * @export
19
+ * @interface UserLoginChallengeResponseRequest
20
+ */
21
+ export interface UserLoginChallengeResponseRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof UserLoginChallengeResponseRequest
26
+ */
27
+ component?: string;
28
+ /**
29
+ *
30
+ * @type {boolean}
31
+ * @memberof UserLoginChallengeResponseRequest
32
+ */
33
+ rememberMe: boolean;
34
+ }
35
+
36
+ export function UserLoginChallengeResponseRequestFromJSON(json: any): UserLoginChallengeResponseRequest {
37
+ return UserLoginChallengeResponseRequestFromJSONTyped(json, false);
38
+ }
39
+
40
+ export function UserLoginChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginChallengeResponseRequest {
41
+ if ((json === undefined) || (json === null)) {
42
+ return json;
43
+ }
44
+ return {
45
+
46
+ 'component': !exists(json, 'component') ? undefined : json['component'],
47
+ 'rememberMe': json['remember_me'],
48
+ };
49
+ }
50
+
51
+ export function UserLoginChallengeResponseRequestToJSON(value?: UserLoginChallengeResponseRequest | null): any {
52
+ if (value === undefined) {
53
+ return undefined;
54
+ }
55
+ if (value === null) {
56
+ return null;
57
+ }
58
+ return {
59
+
60
+ 'component': value.component,
61
+ 'remember_me': value.rememberMe,
62
+ };
63
+ }
64
+
@@ -80,6 +80,12 @@ export interface UserLoginStage {
80
80
  * @memberof UserLoginStage
81
81
  */
82
82
  terminateOtherSessions?: boolean;
83
+ /**
84
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
85
+ * @type {string}
86
+ * @memberof UserLoginStage
87
+ */
88
+ rememberMeOffset?: string;
83
89
  }
84
90
 
85
91
  export function UserLoginStageFromJSON(json: any): UserLoginStage {
@@ -101,6 +107,7 @@ export function UserLoginStageFromJSONTyped(json: any, ignoreDiscriminator: bool
101
107
  'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetFromJSON)),
102
108
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
103
109
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
110
+ 'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
104
111
  };
105
112
  }
106
113
 
@@ -117,6 +124,7 @@ export function UserLoginStageToJSON(value?: UserLoginStage | null): any {
117
124
  'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetToJSON)),
118
125
  'session_duration': value.sessionDuration,
119
126
  'terminate_other_sessions': value.terminateOtherSessions,
127
+ 'remember_me_offset': value.rememberMeOffset,
120
128
  };
121
129
  }
122
130
 
@@ -50,6 +50,12 @@ export interface UserLoginStageRequest {
50
50
  * @memberof UserLoginStageRequest
51
51
  */
52
52
  terminateOtherSessions?: boolean;
53
+ /**
54
+ * Offset the session will be extended by when the user picks the remember me option. Default of 0 means that the remember me option will not be shown. (Format: hours=-1;minutes=-2;seconds=-3)
55
+ * @type {string}
56
+ * @memberof UserLoginStageRequest
57
+ */
58
+ rememberMeOffset?: string;
53
59
  }
54
60
 
55
61
  export function UserLoginStageRequestFromJSON(json: any): UserLoginStageRequest {
@@ -66,6 +72,7 @@ export function UserLoginStageRequestFromJSONTyped(json: any, ignoreDiscriminato
66
72
  'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
67
73
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
68
74
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
75
+ 'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
69
76
  };
70
77
  }
71
78
 
@@ -82,6 +89,7 @@ export function UserLoginStageRequestToJSON(value?: UserLoginStageRequest | null
82
89
  'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
83
90
  'session_duration': value.sessionDuration,
84
91
  'terminate_other_sessions': value.terminateOtherSessions,
92
+ 'remember_me_offset': value.rememberMeOffset,
85
93
  };
86
94
  }
87
95
 
@@ -450,6 +450,8 @@ export * from './UserDeleteStageRequest';
450
450
  export * from './UserFieldsEnum';
451
451
  export * from './UserGroup';
452
452
  export * from './UserGroupRequest';
453
+ export * from './UserLoginChallenge';
454
+ export * from './UserLoginChallengeResponseRequest';
453
455
  export * from './UserLoginStage';
454
456
  export * from './UserLoginStageRequest';
455
457
  export * from './UserLogoutStage';