@goauthentik/api 2025.2.4-1744646168 → 2025.2.4-1744886287
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.
- package/.openapi-generator/FILES +1 -0
- package/dist/esm/models/AuthorizationCodeAuthMethodEnum.d.ts +26 -0
- package/dist/esm/models/AuthorizationCodeAuthMethodEnum.js +44 -0
- package/dist/esm/models/IdentificationChallenge.d.ts +6 -0
- package/dist/esm/models/IdentificationChallenge.js +2 -0
- package/dist/esm/models/IdentificationStage.d.ts +6 -0
- package/dist/esm/models/IdentificationStage.js +2 -0
- package/dist/esm/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/IdentificationStageRequest.js +2 -0
- package/dist/esm/models/OAuthSource.d.ts +7 -0
- package/dist/esm/models/OAuthSource.js +3 -0
- package/dist/esm/models/OAuthSourceRequest.d.ts +7 -0
- package/dist/esm/models/OAuthSourceRequest.js +3 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.js +2 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +7 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.js +3 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/AuthorizationCodeAuthMethodEnum.d.ts +26 -0
- package/dist/models/AuthorizationCodeAuthMethodEnum.js +52 -0
- package/dist/models/IdentificationChallenge.d.ts +6 -0
- package/dist/models/IdentificationChallenge.js +2 -0
- package/dist/models/IdentificationStage.d.ts +6 -0
- package/dist/models/IdentificationStage.js +2 -0
- package/dist/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/models/IdentificationStageRequest.js +2 -0
- package/dist/models/OAuthSource.d.ts +7 -0
- package/dist/models/OAuthSource.js +3 -0
- package/dist/models/OAuthSourceRequest.d.ts +7 -0
- package/dist/models/OAuthSourceRequest.js +3 -0
- package/dist/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/models/PatchedIdentificationStageRequest.js +2 -0
- package/dist/models/PatchedOAuthSourceRequest.d.ts +7 -0
- package/dist/models/PatchedOAuthSourceRequest.js +3 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/AuthorizationCodeAuthMethodEnum.ts +54 -0
- package/src/models/IdentificationChallenge.ts +8 -0
- package/src/models/IdentificationStage.ts +8 -0
- package/src/models/IdentificationStageRequest.ts +8 -0
- package/src/models/OAuthSource.ts +15 -0
- package/src/models/OAuthSourceRequest.ts +15 -0
- package/src/models/PatchedIdentificationStageRequest.ts +8 -0
- package/src/models/PatchedOAuthSourceRequest.ts +15 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -79,6 +79,7 @@ src/models/AuthenticatorWebAuthnChallenge.ts
|
|
|
79
79
|
src/models/AuthenticatorWebAuthnChallengeResponseRequest.ts
|
|
80
80
|
src/models/AuthenticatorWebAuthnStage.ts
|
|
81
81
|
src/models/AuthenticatorWebAuthnStageRequest.ts
|
|
82
|
+
src/models/AuthorizationCodeAuthMethodEnum.ts
|
|
82
83
|
src/models/AutoSubmitChallengeResponseRequest.ts
|
|
83
84
|
src/models/AutosubmitChallenge.ts
|
|
84
85
|
src/models/BackendsEnum.ts
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AuthorizationCodeAuthMethodEnum: {
|
|
17
|
+
readonly BasicAuth: "basic_auth";
|
|
18
|
+
readonly PostBody: "post_body";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type AuthorizationCodeAuthMethodEnum = typeof AuthorizationCodeAuthMethodEnum[keyof typeof AuthorizationCodeAuthMethodEnum];
|
|
22
|
+
export declare function instanceOfAuthorizationCodeAuthMethodEnum(value: any): boolean;
|
|
23
|
+
export declare function AuthorizationCodeAuthMethodEnumFromJSON(json: any): AuthorizationCodeAuthMethodEnum;
|
|
24
|
+
export declare function AuthorizationCodeAuthMethodEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorizationCodeAuthMethodEnum;
|
|
25
|
+
export declare function AuthorizationCodeAuthMethodEnumToJSON(value?: AuthorizationCodeAuthMethodEnum | null): any;
|
|
26
|
+
export declare function AuthorizationCodeAuthMethodEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthorizationCodeAuthMethodEnum;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const AuthorizationCodeAuthMethodEnum = {
|
|
19
|
+
BasicAuth: 'basic_auth',
|
|
20
|
+
PostBody: 'post_body',
|
|
21
|
+
UnknownDefaultOpenApi: '11184809'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfAuthorizationCodeAuthMethodEnum(value) {
|
|
24
|
+
for (const key in AuthorizationCodeAuthMethodEnum) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(AuthorizationCodeAuthMethodEnum, key)) {
|
|
26
|
+
if (AuthorizationCodeAuthMethodEnum[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function AuthorizationCodeAuthMethodEnumFromJSON(json) {
|
|
34
|
+
return AuthorizationCodeAuthMethodEnumFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function AuthorizationCodeAuthMethodEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function AuthorizationCodeAuthMethodEnumToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function AuthorizationCodeAuthMethodEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -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.
|
|
@@ -54,6 +54,7 @@ export function IdentificationChallengeFromJSONTyped(json, ignoreDiscriminator)
|
|
|
54
54
|
'primaryAction': json['primary_action'],
|
|
55
55
|
'sources': json['sources'] == null ? undefined : (json['sources'].map(LoginSourceFromJSON)),
|
|
56
56
|
'showSourceLabels': json['show_source_labels'],
|
|
57
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
export function IdentificationChallengeToJSON(json) {
|
|
@@ -79,5 +80,6 @@ export function IdentificationChallengeToJSONTyped(value, ignoreDiscriminator =
|
|
|
79
80
|
'primary_action': value['primaryAction'],
|
|
80
81
|
'sources': value['sources'] == null ? undefined : (value['sources'].map(LoginSourceToJSON)),
|
|
81
82
|
'show_source_labels': value['showSourceLabels'],
|
|
83
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
82
84
|
};
|
|
83
85
|
}
|
|
@@ -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.
|
|
@@ -57,6 +57,7 @@ export function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'sources': json['sources'] == null ? undefined : json['sources'],
|
|
58
58
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
59
59
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
60
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
export function IdentificationStageToJSON(json) {
|
|
@@ -80,5 +81,6 @@ export function IdentificationStageToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
80
81
|
'sources': value['sources'],
|
|
81
82
|
'show_source_labels': value['showSourceLabels'],
|
|
82
83
|
'pretend_user_exists': value['pretendUserExists'],
|
|
84
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
83
85
|
};
|
|
84
86
|
}
|
|
@@ -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.
|
|
@@ -42,6 +42,7 @@ export function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
42
42
|
'sources': json['sources'] == null ? undefined : json['sources'],
|
|
43
43
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
44
44
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
45
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
export function IdentificationStageRequestToJSON(json) {
|
|
@@ -65,5 +66,6 @@ export function IdentificationStageRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
65
66
|
'sources': value['sources'],
|
|
66
67
|
'show_source_labels': value['showSourceLabels'],
|
|
67
68
|
'pretend_user_exists': value['pretendUserExists'],
|
|
69
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
68
70
|
};
|
|
69
71
|
}
|
|
@@ -13,6 +13,7 @@ import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
|
13
13
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
14
14
|
import type { SourceType } from './SourceType';
|
|
15
15
|
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
|
16
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
16
17
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
17
18
|
/**
|
|
18
19
|
* OAuth Source Serializer
|
|
@@ -200,6 +201,12 @@ export interface OAuthSource {
|
|
|
200
201
|
* @memberof OAuthSource
|
|
201
202
|
*/
|
|
202
203
|
oidcJwks?: any | null;
|
|
204
|
+
/**
|
|
205
|
+
* How to perform authentication during an authorization_code token request flow
|
|
206
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
207
|
+
* @memberof OAuthSource
|
|
208
|
+
*/
|
|
209
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
203
210
|
}
|
|
204
211
|
/**
|
|
205
212
|
* Check if a given object implements the OAuthSource interface.
|
|
@@ -15,6 +15,7 @@ import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngin
|
|
|
15
15
|
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
|
16
16
|
import { SourceTypeFromJSON, } from './SourceType';
|
|
17
17
|
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
|
18
|
+
import { AuthorizationCodeAuthMethodEnumFromJSON, AuthorizationCodeAuthMethodEnumToJSON, } from './AuthorizationCodeAuthMethodEnum';
|
|
18
19
|
import { ProviderTypeEnumFromJSON, ProviderTypeEnumToJSON, } from './ProviderTypeEnum';
|
|
19
20
|
/**
|
|
20
21
|
* Check if a given object implements the OAuthSource interface.
|
|
@@ -86,6 +87,7 @@ export function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
87
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
87
88
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
88
89
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
90
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : AuthorizationCodeAuthMethodEnumFromJSON(json['authorization_code_auth_method']),
|
|
89
91
|
};
|
|
90
92
|
}
|
|
91
93
|
export function OAuthSourceToJSON(json) {
|
|
@@ -117,5 +119,6 @@ export function OAuthSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
117
119
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
118
120
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
119
121
|
'oidc_jwks': value['oidcJwks'],
|
|
122
|
+
'authorization_code_auth_method': AuthorizationCodeAuthMethodEnumToJSON(value['authorizationCodeAuthMethod']),
|
|
120
123
|
};
|
|
121
124
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
13
13
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
14
14
|
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
|
15
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
15
16
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
16
17
|
/**
|
|
17
18
|
* OAuth Source Serializer
|
|
@@ -151,6 +152,12 @@ export interface OAuthSourceRequest {
|
|
|
151
152
|
* @memberof OAuthSourceRequest
|
|
152
153
|
*/
|
|
153
154
|
oidcJwks?: any | null;
|
|
155
|
+
/**
|
|
156
|
+
* How to perform authentication during an authorization_code token request flow
|
|
157
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
158
|
+
* @memberof OAuthSourceRequest
|
|
159
|
+
*/
|
|
160
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
154
161
|
}
|
|
155
162
|
/**
|
|
156
163
|
* Check if a given object implements the OAuthSourceRequest interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
15
15
|
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
|
16
16
|
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
|
17
|
+
import { AuthorizationCodeAuthMethodEnumFromJSON, AuthorizationCodeAuthMethodEnumToJSON, } from './AuthorizationCodeAuthMethodEnum';
|
|
17
18
|
import { ProviderTypeEnumFromJSON, ProviderTypeEnumToJSON, } from './ProviderTypeEnum';
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the OAuthSourceRequest interface.
|
|
@@ -61,6 +62,7 @@ export function OAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
62
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
62
63
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
63
64
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
65
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : AuthorizationCodeAuthMethodEnumFromJSON(json['authorization_code_auth_method']),
|
|
64
66
|
};
|
|
65
67
|
}
|
|
66
68
|
export function OAuthSourceRequestToJSON(json) {
|
|
@@ -93,5 +95,6 @@ export function OAuthSourceRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
93
95
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
94
96
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
95
97
|
'oidc_jwks': value['oidcJwks'],
|
|
98
|
+
'authorization_code_auth_method': AuthorizationCodeAuthMethodEnumToJSON(value['authorizationCodeAuthMethod']),
|
|
96
99
|
};
|
|
97
100
|
}
|
|
@@ -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.
|
|
@@ -40,6 +40,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscr
|
|
|
40
40
|
'sources': json['sources'] == null ? undefined : json['sources'],
|
|
41
41
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
42
42
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
43
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
export function PatchedIdentificationStageRequestToJSON(json) {
|
|
@@ -63,5 +64,6 @@ export function PatchedIdentificationStageRequestToJSONTyped(value, ignoreDiscri
|
|
|
63
64
|
'sources': value['sources'],
|
|
64
65
|
'show_source_labels': value['showSourceLabels'],
|
|
65
66
|
'pretend_user_exists': value['pretendUserExists'],
|
|
67
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
13
13
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
14
14
|
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
|
15
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
15
16
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
16
17
|
/**
|
|
17
18
|
* OAuth Source Serializer
|
|
@@ -151,6 +152,12 @@ export interface PatchedOAuthSourceRequest {
|
|
|
151
152
|
* @memberof PatchedOAuthSourceRequest
|
|
152
153
|
*/
|
|
153
154
|
oidcJwks?: any | null;
|
|
155
|
+
/**
|
|
156
|
+
* How to perform authentication during an authorization_code token request flow
|
|
157
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
158
|
+
* @memberof PatchedOAuthSourceRequest
|
|
159
|
+
*/
|
|
160
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
154
161
|
}
|
|
155
162
|
/**
|
|
156
163
|
* Check if a given object implements the PatchedOAuthSourceRequest interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
15
15
|
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
|
16
16
|
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
|
17
|
+
import { AuthorizationCodeAuthMethodEnumFromJSON, AuthorizationCodeAuthMethodEnumToJSON, } from './AuthorizationCodeAuthMethodEnum';
|
|
17
18
|
import { ProviderTypeEnumFromJSON, ProviderTypeEnumToJSON, } from './ProviderTypeEnum';
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the PatchedOAuthSourceRequest interface.
|
|
@@ -51,6 +52,7 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
51
52
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
52
53
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
53
54
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
55
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : AuthorizationCodeAuthMethodEnumFromJSON(json['authorization_code_auth_method']),
|
|
54
56
|
};
|
|
55
57
|
}
|
|
56
58
|
export function PatchedOAuthSourceRequestToJSON(json) {
|
|
@@ -83,5 +85,6 @@ export function PatchedOAuthSourceRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
83
85
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
84
86
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
85
87
|
'oidc_jwks': value['oidcJwks'],
|
|
88
|
+
'authorization_code_auth_method': AuthorizationCodeAuthMethodEnumToJSON(value['authorizationCodeAuthMethod']),
|
|
86
89
|
};
|
|
87
90
|
}
|
|
@@ -51,6 +51,7 @@ export * from './AuthenticatorWebAuthnChallenge';
|
|
|
51
51
|
export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
52
52
|
export * from './AuthenticatorWebAuthnStage';
|
|
53
53
|
export * from './AuthenticatorWebAuthnStageRequest';
|
|
54
|
+
export * from './AuthorizationCodeAuthMethodEnum';
|
|
54
55
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
55
56
|
export * from './AutosubmitChallenge';
|
|
56
57
|
export * from './BackendsEnum';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -53,6 +53,7 @@ export * from './AuthenticatorWebAuthnChallenge';
|
|
|
53
53
|
export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
54
54
|
export * from './AuthenticatorWebAuthnStage';
|
|
55
55
|
export * from './AuthenticatorWebAuthnStageRequest';
|
|
56
|
+
export * from './AuthorizationCodeAuthMethodEnum';
|
|
56
57
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
57
58
|
export * from './AutosubmitChallenge';
|
|
58
59
|
export * from './BackendsEnum';
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AuthorizationCodeAuthMethodEnum: {
|
|
17
|
+
readonly BasicAuth: "basic_auth";
|
|
18
|
+
readonly PostBody: "post_body";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type AuthorizationCodeAuthMethodEnum = typeof AuthorizationCodeAuthMethodEnum[keyof typeof AuthorizationCodeAuthMethodEnum];
|
|
22
|
+
export declare function instanceOfAuthorizationCodeAuthMethodEnum(value: any): boolean;
|
|
23
|
+
export declare function AuthorizationCodeAuthMethodEnumFromJSON(json: any): AuthorizationCodeAuthMethodEnum;
|
|
24
|
+
export declare function AuthorizationCodeAuthMethodEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorizationCodeAuthMethodEnum;
|
|
25
|
+
export declare function AuthorizationCodeAuthMethodEnumToJSON(value?: AuthorizationCodeAuthMethodEnum | null): any;
|
|
26
|
+
export declare function AuthorizationCodeAuthMethodEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthorizationCodeAuthMethodEnum;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.AuthorizationCodeAuthMethodEnum = void 0;
|
|
17
|
+
exports.instanceOfAuthorizationCodeAuthMethodEnum = instanceOfAuthorizationCodeAuthMethodEnum;
|
|
18
|
+
exports.AuthorizationCodeAuthMethodEnumFromJSON = AuthorizationCodeAuthMethodEnumFromJSON;
|
|
19
|
+
exports.AuthorizationCodeAuthMethodEnumFromJSONTyped = AuthorizationCodeAuthMethodEnumFromJSONTyped;
|
|
20
|
+
exports.AuthorizationCodeAuthMethodEnumToJSON = AuthorizationCodeAuthMethodEnumToJSON;
|
|
21
|
+
exports.AuthorizationCodeAuthMethodEnumToJSONTyped = AuthorizationCodeAuthMethodEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AuthorizationCodeAuthMethodEnum = {
|
|
27
|
+
BasicAuth: 'basic_auth',
|
|
28
|
+
PostBody: 'post_body',
|
|
29
|
+
UnknownDefaultOpenApi: '11184809'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfAuthorizationCodeAuthMethodEnum(value) {
|
|
32
|
+
for (const key in exports.AuthorizationCodeAuthMethodEnum) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.AuthorizationCodeAuthMethodEnum, key)) {
|
|
34
|
+
if (exports.AuthorizationCodeAuthMethodEnum[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function AuthorizationCodeAuthMethodEnumFromJSON(json) {
|
|
42
|
+
return AuthorizationCodeAuthMethodEnumFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AuthorizationCodeAuthMethodEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function AuthorizationCodeAuthMethodEnumToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function AuthorizationCodeAuthMethodEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -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
|
}
|
|
@@ -13,6 +13,7 @@ import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
|
13
13
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
14
14
|
import type { SourceType } from './SourceType';
|
|
15
15
|
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
|
16
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
16
17
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
17
18
|
/**
|
|
18
19
|
* OAuth Source Serializer
|
|
@@ -200,6 +201,12 @@ export interface OAuthSource {
|
|
|
200
201
|
* @memberof OAuthSource
|
|
201
202
|
*/
|
|
202
203
|
oidcJwks?: any | null;
|
|
204
|
+
/**
|
|
205
|
+
* How to perform authentication during an authorization_code token request flow
|
|
206
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
207
|
+
* @memberof OAuthSource
|
|
208
|
+
*/
|
|
209
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
203
210
|
}
|
|
204
211
|
/**
|
|
205
212
|
* Check if a given object implements the OAuthSource interface.
|
|
@@ -22,6 +22,7 @@ const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
|
22
22
|
const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
|
|
23
23
|
const SourceType_1 = require("./SourceType");
|
|
24
24
|
const GroupMatchingModeEnum_1 = require("./GroupMatchingModeEnum");
|
|
25
|
+
const AuthorizationCodeAuthMethodEnum_1 = require("./AuthorizationCodeAuthMethodEnum");
|
|
25
26
|
const ProviderTypeEnum_1 = require("./ProviderTypeEnum");
|
|
26
27
|
/**
|
|
27
28
|
* Check if a given object implements the OAuthSource interface.
|
|
@@ -93,6 +94,7 @@ function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
93
94
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
94
95
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
95
96
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
97
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : (0, AuthorizationCodeAuthMethodEnum_1.AuthorizationCodeAuthMethodEnumFromJSON)(json['authorization_code_auth_method']),
|
|
96
98
|
};
|
|
97
99
|
}
|
|
98
100
|
function OAuthSourceToJSON(json) {
|
|
@@ -124,5 +126,6 @@ function OAuthSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
124
126
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
125
127
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
126
128
|
'oidc_jwks': value['oidcJwks'],
|
|
129
|
+
'authorization_code_auth_method': (0, AuthorizationCodeAuthMethodEnum_1.AuthorizationCodeAuthMethodEnumToJSON)(value['authorizationCodeAuthMethod']),
|
|
127
130
|
};
|
|
128
131
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
13
13
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
14
14
|
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
|
15
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
15
16
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
16
17
|
/**
|
|
17
18
|
* OAuth Source Serializer
|
|
@@ -151,6 +152,12 @@ export interface OAuthSourceRequest {
|
|
|
151
152
|
* @memberof OAuthSourceRequest
|
|
152
153
|
*/
|
|
153
154
|
oidcJwks?: any | null;
|
|
155
|
+
/**
|
|
156
|
+
* How to perform authentication during an authorization_code token request flow
|
|
157
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
158
|
+
* @memberof OAuthSourceRequest
|
|
159
|
+
*/
|
|
160
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
154
161
|
}
|
|
155
162
|
/**
|
|
156
163
|
* Check if a given object implements the OAuthSourceRequest interface.
|
|
@@ -21,6 +21,7 @@ exports.OAuthSourceRequestToJSONTyped = OAuthSourceRequestToJSONTyped;
|
|
|
21
21
|
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
22
22
|
const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
|
|
23
23
|
const GroupMatchingModeEnum_1 = require("./GroupMatchingModeEnum");
|
|
24
|
+
const AuthorizationCodeAuthMethodEnum_1 = require("./AuthorizationCodeAuthMethodEnum");
|
|
24
25
|
const ProviderTypeEnum_1 = require("./ProviderTypeEnum");
|
|
25
26
|
/**
|
|
26
27
|
* Check if a given object implements the OAuthSourceRequest interface.
|
|
@@ -68,6 +69,7 @@ function OAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
69
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
69
70
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
70
71
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
72
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : (0, AuthorizationCodeAuthMethodEnum_1.AuthorizationCodeAuthMethodEnumFromJSON)(json['authorization_code_auth_method']),
|
|
71
73
|
};
|
|
72
74
|
}
|
|
73
75
|
function OAuthSourceRequestToJSON(json) {
|
|
@@ -100,5 +102,6 @@ function OAuthSourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
100
102
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
101
103
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
102
104
|
'oidc_jwks': value['oidcJwks'],
|
|
105
|
+
'authorization_code_auth_method': (0, AuthorizationCodeAuthMethodEnum_1.AuthorizationCodeAuthMethodEnumToJSON)(value['authorizationCodeAuthMethod']),
|
|
103
106
|
};
|
|
104
107
|
}
|
|
@@ -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
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
13
13
|
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
14
14
|
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
|
15
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
15
16
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
16
17
|
/**
|
|
17
18
|
* OAuth Source Serializer
|
|
@@ -151,6 +152,12 @@ export interface PatchedOAuthSourceRequest {
|
|
|
151
152
|
* @memberof PatchedOAuthSourceRequest
|
|
152
153
|
*/
|
|
153
154
|
oidcJwks?: any | null;
|
|
155
|
+
/**
|
|
156
|
+
* How to perform authentication during an authorization_code token request flow
|
|
157
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
158
|
+
* @memberof PatchedOAuthSourceRequest
|
|
159
|
+
*/
|
|
160
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
154
161
|
}
|
|
155
162
|
/**
|
|
156
163
|
* Check if a given object implements the PatchedOAuthSourceRequest interface.
|
|
@@ -21,6 +21,7 @@ exports.PatchedOAuthSourceRequestToJSONTyped = PatchedOAuthSourceRequestToJSONTy
|
|
|
21
21
|
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
22
22
|
const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
|
|
23
23
|
const GroupMatchingModeEnum_1 = require("./GroupMatchingModeEnum");
|
|
24
|
+
const AuthorizationCodeAuthMethodEnum_1 = require("./AuthorizationCodeAuthMethodEnum");
|
|
24
25
|
const ProviderTypeEnum_1 = require("./ProviderTypeEnum");
|
|
25
26
|
/**
|
|
26
27
|
* Check if a given object implements the PatchedOAuthSourceRequest interface.
|
|
@@ -58,6 +59,7 @@ function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
59
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
59
60
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
60
61
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
62
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : (0, AuthorizationCodeAuthMethodEnum_1.AuthorizationCodeAuthMethodEnumFromJSON)(json['authorization_code_auth_method']),
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
function PatchedOAuthSourceRequestToJSON(json) {
|
|
@@ -90,5 +92,6 @@ function PatchedOAuthSourceRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
90
92
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
91
93
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
92
94
|
'oidc_jwks': value['oidcJwks'],
|
|
95
|
+
'authorization_code_auth_method': (0, AuthorizationCodeAuthMethodEnum_1.AuthorizationCodeAuthMethodEnumToJSON)(value['authorizationCodeAuthMethod']),
|
|
93
96
|
};
|
|
94
97
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export * from './AuthenticatorWebAuthnChallenge';
|
|
|
51
51
|
export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
52
52
|
export * from './AuthenticatorWebAuthnStage';
|
|
53
53
|
export * from './AuthenticatorWebAuthnStageRequest';
|
|
54
|
+
export * from './AuthorizationCodeAuthMethodEnum';
|
|
54
55
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
55
56
|
export * from './AutosubmitChallenge';
|
|
56
57
|
export * from './BackendsEnum';
|
package/dist/models/index.js
CHANGED
|
@@ -69,6 +69,7 @@ __exportStar(require("./AuthenticatorWebAuthnChallenge"), exports);
|
|
|
69
69
|
__exportStar(require("./AuthenticatorWebAuthnChallengeResponseRequest"), exports);
|
|
70
70
|
__exportStar(require("./AuthenticatorWebAuthnStage"), exports);
|
|
71
71
|
__exportStar(require("./AuthenticatorWebAuthnStageRequest"), exports);
|
|
72
|
+
__exportStar(require("./AuthorizationCodeAuthMethodEnum"), exports);
|
|
72
73
|
__exportStar(require("./AutoSubmitChallengeResponseRequest"), exports);
|
|
73
74
|
__exportStar(require("./AutosubmitChallenge"), exports);
|
|
74
75
|
__exportStar(require("./BackendsEnum"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const AuthorizationCodeAuthMethodEnum = {
|
|
21
|
+
BasicAuth: 'basic_auth',
|
|
22
|
+
PostBody: 'post_body',
|
|
23
|
+
UnknownDefaultOpenApi: '11184809'
|
|
24
|
+
} as const;
|
|
25
|
+
export type AuthorizationCodeAuthMethodEnum = typeof AuthorizationCodeAuthMethodEnum[keyof typeof AuthorizationCodeAuthMethodEnum];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function instanceOfAuthorizationCodeAuthMethodEnum(value: any): boolean {
|
|
29
|
+
for (const key in AuthorizationCodeAuthMethodEnum) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(AuthorizationCodeAuthMethodEnum, key)) {
|
|
31
|
+
if (AuthorizationCodeAuthMethodEnum[key as keyof typeof AuthorizationCodeAuthMethodEnum] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function AuthorizationCodeAuthMethodEnumFromJSON(json: any): AuthorizationCodeAuthMethodEnum {
|
|
40
|
+
return AuthorizationCodeAuthMethodEnumFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function AuthorizationCodeAuthMethodEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorizationCodeAuthMethodEnum {
|
|
44
|
+
return json as AuthorizationCodeAuthMethodEnum;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function AuthorizationCodeAuthMethodEnumToJSON(value?: AuthorizationCodeAuthMethodEnum | null): any {
|
|
48
|
+
return value as any;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function AuthorizationCodeAuthMethodEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthorizationCodeAuthMethodEnum {
|
|
52
|
+
return value as AuthorizationCodeAuthMethodEnum;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -145,6 +145,12 @@ export interface IdentificationChallenge {
|
|
|
145
145
|
* @memberof IdentificationChallenge
|
|
146
146
|
*/
|
|
147
147
|
showSourceLabels: boolean;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {boolean}
|
|
151
|
+
* @memberof IdentificationChallenge
|
|
152
|
+
*/
|
|
153
|
+
enableRememberMe?: boolean;
|
|
148
154
|
}
|
|
149
155
|
|
|
150
156
|
|
|
@@ -186,6 +192,7 @@ export function IdentificationChallengeFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
186
192
|
'primaryAction': json['primary_action'],
|
|
187
193
|
'sources': json['sources'] == null ? undefined : ((json['sources'] as Array<any>).map(LoginSourceFromJSON)),
|
|
188
194
|
'showSourceLabels': json['show_source_labels'],
|
|
195
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
189
196
|
};
|
|
190
197
|
}
|
|
191
198
|
|
|
@@ -215,6 +222,7 @@ export function IdentificationChallengeToJSONTyped(value?: IdentificationChallen
|
|
|
215
222
|
'primary_action': value['primaryAction'],
|
|
216
223
|
'sources': value['sources'] == null ? undefined : ((value['sources'] as Array<any>).map(LoginSourceToJSON)),
|
|
217
224
|
'show_source_labels': value['showSourceLabels'],
|
|
225
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
218
226
|
};
|
|
219
227
|
}
|
|
220
228
|
|
|
@@ -142,6 +142,12 @@ export interface IdentificationStage {
|
|
|
142
142
|
* @memberof IdentificationStage
|
|
143
143
|
*/
|
|
144
144
|
pretendUserExists?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Show the user the 'Remember me on this device' toggle, allowing repeat users to skip straight to entering their password.
|
|
147
|
+
* @type {boolean}
|
|
148
|
+
* @memberof IdentificationStage
|
|
149
|
+
*/
|
|
150
|
+
enableRememberMe?: boolean;
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
/**
|
|
@@ -185,6 +191,7 @@ export function IdentificationStageFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
185
191
|
'sources': json['sources'] == null ? undefined : json['sources'],
|
|
186
192
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
187
193
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
194
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
188
195
|
};
|
|
189
196
|
}
|
|
190
197
|
|
|
@@ -212,6 +219,7 @@ export function IdentificationStageToJSONTyped(value?: Omit<IdentificationStage,
|
|
|
212
219
|
'sources': value['sources'],
|
|
213
220
|
'show_source_labels': value['showSourceLabels'],
|
|
214
221
|
'pretend_user_exists': value['pretendUserExists'],
|
|
222
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
215
223
|
};
|
|
216
224
|
}
|
|
217
225
|
|
|
@@ -112,6 +112,12 @@ export interface IdentificationStageRequest {
|
|
|
112
112
|
* @memberof IdentificationStageRequest
|
|
113
113
|
*/
|
|
114
114
|
pretendUserExists?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Show the user the 'Remember me on this device' toggle, allowing repeat users to skip straight to entering their password.
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
* @memberof IdentificationStageRequest
|
|
119
|
+
*/
|
|
120
|
+
enableRememberMe?: boolean;
|
|
115
121
|
}
|
|
116
122
|
|
|
117
123
|
/**
|
|
@@ -145,6 +151,7 @@ export function IdentificationStageRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
145
151
|
'sources': json['sources'] == null ? undefined : json['sources'],
|
|
146
152
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
147
153
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
154
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
148
155
|
};
|
|
149
156
|
}
|
|
150
157
|
|
|
@@ -172,6 +179,7 @@ export function IdentificationStageRequestToJSONTyped(value?: IdentificationStag
|
|
|
172
179
|
'sources': value['sources'],
|
|
173
180
|
'show_source_labels': value['showSourceLabels'],
|
|
174
181
|
'pretend_user_exists': value['pretendUserExists'],
|
|
182
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
175
183
|
};
|
|
176
184
|
}
|
|
177
185
|
|
|
@@ -41,6 +41,13 @@ import {
|
|
|
41
41
|
GroupMatchingModeEnumToJSON,
|
|
42
42
|
GroupMatchingModeEnumToJSONTyped,
|
|
43
43
|
} from './GroupMatchingModeEnum';
|
|
44
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
45
|
+
import {
|
|
46
|
+
AuthorizationCodeAuthMethodEnumFromJSON,
|
|
47
|
+
AuthorizationCodeAuthMethodEnumFromJSONTyped,
|
|
48
|
+
AuthorizationCodeAuthMethodEnumToJSON,
|
|
49
|
+
AuthorizationCodeAuthMethodEnumToJSONTyped,
|
|
50
|
+
} from './AuthorizationCodeAuthMethodEnum';
|
|
44
51
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
45
52
|
import {
|
|
46
53
|
ProviderTypeEnumFromJSON,
|
|
@@ -235,6 +242,12 @@ export interface OAuthSource {
|
|
|
235
242
|
* @memberof OAuthSource
|
|
236
243
|
*/
|
|
237
244
|
oidcJwks?: any | null;
|
|
245
|
+
/**
|
|
246
|
+
* How to perform authentication during an authorization_code token request flow
|
|
247
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
248
|
+
* @memberof OAuthSource
|
|
249
|
+
*/
|
|
250
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
238
251
|
}
|
|
239
252
|
|
|
240
253
|
|
|
@@ -299,6 +312,7 @@ export function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
299
312
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
300
313
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
301
314
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
315
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : AuthorizationCodeAuthMethodEnumFromJSON(json['authorization_code_auth_method']),
|
|
302
316
|
};
|
|
303
317
|
}
|
|
304
318
|
|
|
@@ -334,6 +348,7 @@ export function OAuthSourceToJSONTyped(value?: Omit<OAuthSource, 'pk'|'component
|
|
|
334
348
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
335
349
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
336
350
|
'oidc_jwks': value['oidcJwks'],
|
|
351
|
+
'authorization_code_auth_method': AuthorizationCodeAuthMethodEnumToJSON(value['authorizationCodeAuthMethod']),
|
|
337
352
|
};
|
|
338
353
|
}
|
|
339
354
|
|
|
@@ -34,6 +34,13 @@ import {
|
|
|
34
34
|
GroupMatchingModeEnumToJSON,
|
|
35
35
|
GroupMatchingModeEnumToJSONTyped,
|
|
36
36
|
} from './GroupMatchingModeEnum';
|
|
37
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
38
|
+
import {
|
|
39
|
+
AuthorizationCodeAuthMethodEnumFromJSON,
|
|
40
|
+
AuthorizationCodeAuthMethodEnumFromJSONTyped,
|
|
41
|
+
AuthorizationCodeAuthMethodEnumToJSON,
|
|
42
|
+
AuthorizationCodeAuthMethodEnumToJSONTyped,
|
|
43
|
+
} from './AuthorizationCodeAuthMethodEnum';
|
|
37
44
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
38
45
|
import {
|
|
39
46
|
ProviderTypeEnumFromJSON,
|
|
@@ -180,6 +187,12 @@ export interface OAuthSourceRequest {
|
|
|
180
187
|
* @memberof OAuthSourceRequest
|
|
181
188
|
*/
|
|
182
189
|
oidcJwks?: any | null;
|
|
190
|
+
/**
|
|
191
|
+
* How to perform authentication during an authorization_code token request flow
|
|
192
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
193
|
+
* @memberof OAuthSourceRequest
|
|
194
|
+
*/
|
|
195
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
183
196
|
}
|
|
184
197
|
|
|
185
198
|
|
|
@@ -228,6 +241,7 @@ export function OAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
228
241
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
229
242
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
230
243
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
244
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : AuthorizationCodeAuthMethodEnumFromJSON(json['authorization_code_auth_method']),
|
|
231
245
|
};
|
|
232
246
|
}
|
|
233
247
|
|
|
@@ -264,6 +278,7 @@ export function OAuthSourceRequestToJSONTyped(value?: OAuthSourceRequest | null,
|
|
|
264
278
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
265
279
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
266
280
|
'oidc_jwks': value['oidcJwks'],
|
|
281
|
+
'authorization_code_auth_method': AuthorizationCodeAuthMethodEnumToJSON(value['authorizationCodeAuthMethod']),
|
|
267
282
|
};
|
|
268
283
|
}
|
|
269
284
|
|
|
@@ -112,6 +112,12 @@ export interface PatchedIdentificationStageRequest {
|
|
|
112
112
|
* @memberof PatchedIdentificationStageRequest
|
|
113
113
|
*/
|
|
114
114
|
pretendUserExists?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Show the user the 'Remember me on this device' toggle, allowing repeat users to skip straight to entering their password.
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
* @memberof PatchedIdentificationStageRequest
|
|
119
|
+
*/
|
|
120
|
+
enableRememberMe?: boolean;
|
|
115
121
|
}
|
|
116
122
|
|
|
117
123
|
/**
|
|
@@ -144,6 +150,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json: any, ignore
|
|
|
144
150
|
'sources': json['sources'] == null ? undefined : json['sources'],
|
|
145
151
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
146
152
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
153
|
+
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
147
154
|
};
|
|
148
155
|
}
|
|
149
156
|
|
|
@@ -171,6 +178,7 @@ export function PatchedIdentificationStageRequestToJSONTyped(value?: PatchedIden
|
|
|
171
178
|
'sources': value['sources'],
|
|
172
179
|
'show_source_labels': value['showSourceLabels'],
|
|
173
180
|
'pretend_user_exists': value['pretendUserExists'],
|
|
181
|
+
'enable_remember_me': value['enableRememberMe'],
|
|
174
182
|
};
|
|
175
183
|
}
|
|
176
184
|
|
|
@@ -34,6 +34,13 @@ import {
|
|
|
34
34
|
GroupMatchingModeEnumToJSON,
|
|
35
35
|
GroupMatchingModeEnumToJSONTyped,
|
|
36
36
|
} from './GroupMatchingModeEnum';
|
|
37
|
+
import type { AuthorizationCodeAuthMethodEnum } from './AuthorizationCodeAuthMethodEnum';
|
|
38
|
+
import {
|
|
39
|
+
AuthorizationCodeAuthMethodEnumFromJSON,
|
|
40
|
+
AuthorizationCodeAuthMethodEnumFromJSONTyped,
|
|
41
|
+
AuthorizationCodeAuthMethodEnumToJSON,
|
|
42
|
+
AuthorizationCodeAuthMethodEnumToJSONTyped,
|
|
43
|
+
} from './AuthorizationCodeAuthMethodEnum';
|
|
37
44
|
import type { ProviderTypeEnum } from './ProviderTypeEnum';
|
|
38
45
|
import {
|
|
39
46
|
ProviderTypeEnumFromJSON,
|
|
@@ -180,6 +187,12 @@ export interface PatchedOAuthSourceRequest {
|
|
|
180
187
|
* @memberof PatchedOAuthSourceRequest
|
|
181
188
|
*/
|
|
182
189
|
oidcJwks?: any | null;
|
|
190
|
+
/**
|
|
191
|
+
* How to perform authentication during an authorization_code token request flow
|
|
192
|
+
* @type {AuthorizationCodeAuthMethodEnum}
|
|
193
|
+
* @memberof PatchedOAuthSourceRequest
|
|
194
|
+
*/
|
|
195
|
+
authorizationCodeAuthMethod?: AuthorizationCodeAuthMethodEnum;
|
|
183
196
|
}
|
|
184
197
|
|
|
185
198
|
|
|
@@ -223,6 +236,7 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
223
236
|
'oidcWellKnownUrl': json['oidc_well_known_url'] == null ? undefined : json['oidc_well_known_url'],
|
|
224
237
|
'oidcJwksUrl': json['oidc_jwks_url'] == null ? undefined : json['oidc_jwks_url'],
|
|
225
238
|
'oidcJwks': json['oidc_jwks'] == null ? undefined : json['oidc_jwks'],
|
|
239
|
+
'authorizationCodeAuthMethod': json['authorization_code_auth_method'] == null ? undefined : AuthorizationCodeAuthMethodEnumFromJSON(json['authorization_code_auth_method']),
|
|
226
240
|
};
|
|
227
241
|
}
|
|
228
242
|
|
|
@@ -259,6 +273,7 @@ export function PatchedOAuthSourceRequestToJSONTyped(value?: PatchedOAuthSourceR
|
|
|
259
273
|
'oidc_well_known_url': value['oidcWellKnownUrl'],
|
|
260
274
|
'oidc_jwks_url': value['oidcJwksUrl'],
|
|
261
275
|
'oidc_jwks': value['oidcJwks'],
|
|
276
|
+
'authorization_code_auth_method': AuthorizationCodeAuthMethodEnumToJSON(value['authorizationCodeAuthMethod']),
|
|
262
277
|
};
|
|
263
278
|
}
|
|
264
279
|
|
package/src/models/index.ts
CHANGED
|
@@ -53,6 +53,7 @@ export * from './AuthenticatorWebAuthnChallenge';
|
|
|
53
53
|
export * from './AuthenticatorWebAuthnChallengeResponseRequest';
|
|
54
54
|
export * from './AuthenticatorWebAuthnStage';
|
|
55
55
|
export * from './AuthenticatorWebAuthnStageRequest';
|
|
56
|
+
export * from './AuthorizationCodeAuthMethodEnum';
|
|
56
57
|
export * from './AutoSubmitChallengeResponseRequest';
|
|
57
58
|
export * from './AutosubmitChallenge';
|
|
58
59
|
export * from './BackendsEnum';
|