@goauthentik/api 2023.8.3-1694987749 → 2023.8.3-1696802918
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/dist/apis/ProvidersApi.d.ts +1 -0
- package/dist/apis/ProvidersApi.js +3 -0
- package/dist/esm/apis/ProvidersApi.d.ts +1 -0
- package/dist/esm/apis/ProvidersApi.js +3 -0
- package/dist/esm/models/AuthenticatorSMSStage.d.ts +1 -1
- package/dist/esm/models/AuthenticatorSMSStageRequest.d.ts +1 -1
- package/dist/esm/models/PatchedAuthenticatorSMSStageRequest.d.ts +1 -1
- package/dist/esm/models/PatchedSAMLProviderRequest.d.ts +6 -0
- package/dist/esm/models/PatchedSAMLProviderRequest.js +2 -0
- package/dist/esm/models/SAMLProvider.d.ts +6 -0
- package/dist/esm/models/SAMLProvider.js +2 -0
- package/dist/esm/models/SAMLProviderRequest.d.ts +6 -0
- package/dist/esm/models/SAMLProviderRequest.js +2 -0
- package/dist/models/AuthenticatorSMSStage.d.ts +1 -1
- package/dist/models/AuthenticatorSMSStageRequest.d.ts +1 -1
- package/dist/models/PatchedAuthenticatorSMSStageRequest.d.ts +1 -1
- package/dist/models/PatchedSAMLProviderRequest.d.ts +6 -0
- package/dist/models/PatchedSAMLProviderRequest.js +2 -0
- package/dist/models/SAMLProvider.d.ts +6 -0
- package/dist/models/SAMLProvider.js +2 -0
- package/dist/models/SAMLProviderRequest.d.ts +6 -0
- package/dist/models/SAMLProviderRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +5 -0
- package/src/models/AuthenticatorSMSStage.ts +1 -1
- package/src/models/AuthenticatorSMSStageRequest.ts +1 -1
- package/src/models/PatchedAuthenticatorSMSStageRequest.ts +1 -1
- package/src/models/PatchedSAMLProviderRequest.ts +8 -0
- package/src/models/SAMLProvider.ts +8 -0
- package/src/models/SAMLProviderRequest.ts +8 -0
|
@@ -202,6 +202,7 @@ export interface ProvidersSamlListRequest {
|
|
|
202
202
|
authenticationFlow?: string;
|
|
203
203
|
authorizationFlow?: string;
|
|
204
204
|
backchannelApplication?: string;
|
|
205
|
+
defaultRelayState?: string;
|
|
205
206
|
digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
|
|
206
207
|
isBackchannel?: boolean;
|
|
207
208
|
issuer?: string;
|
|
@@ -1479,6 +1479,9 @@ class ProvidersApi extends runtime.BaseAPI {
|
|
|
1479
1479
|
if (requestParameters.backchannelApplication !== undefined) {
|
|
1480
1480
|
queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
|
|
1481
1481
|
}
|
|
1482
|
+
if (requestParameters.defaultRelayState !== undefined) {
|
|
1483
|
+
queryParameters['default_relay_state'] = requestParameters.defaultRelayState;
|
|
1484
|
+
}
|
|
1482
1485
|
if (requestParameters.digestAlgorithm !== undefined) {
|
|
1483
1486
|
queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
|
|
1484
1487
|
}
|
|
@@ -202,6 +202,7 @@ export interface ProvidersSamlListRequest {
|
|
|
202
202
|
authenticationFlow?: string;
|
|
203
203
|
authorizationFlow?: string;
|
|
204
204
|
backchannelApplication?: string;
|
|
205
|
+
defaultRelayState?: string;
|
|
205
206
|
digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
|
|
206
207
|
isBackchannel?: boolean;
|
|
207
208
|
issuer?: string;
|
|
@@ -1476,6 +1476,9 @@ export class ProvidersApi extends runtime.BaseAPI {
|
|
|
1476
1476
|
if (requestParameters.backchannelApplication !== undefined) {
|
|
1477
1477
|
queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
|
|
1478
1478
|
}
|
|
1479
|
+
if (requestParameters.defaultRelayState !== undefined) {
|
|
1480
|
+
queryParameters['default_relay_state'] = requestParameters.defaultRelayState;
|
|
1481
|
+
}
|
|
1479
1482
|
if (requestParameters.digestAlgorithm !== undefined) {
|
|
1480
1483
|
queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
|
|
1481
1484
|
}
|
|
@@ -109,7 +109,7 @@ export interface AuthenticatorSMSStage {
|
|
|
109
109
|
*/
|
|
110
110
|
authType?: AuthTypeEnum;
|
|
111
111
|
/**
|
|
112
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
112
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
113
113
|
* @type {boolean}
|
|
114
114
|
* @memberof AuthenticatorSMSStage
|
|
115
115
|
*/
|
|
@@ -79,7 +79,7 @@ export interface AuthenticatorSMSStageRequest {
|
|
|
79
79
|
*/
|
|
80
80
|
authType?: AuthTypeEnum;
|
|
81
81
|
/**
|
|
82
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
82
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
83
83
|
* @type {boolean}
|
|
84
84
|
* @memberof AuthenticatorSMSStageRequest
|
|
85
85
|
*/
|
|
@@ -79,7 +79,7 @@ export interface PatchedAuthenticatorSMSStageRequest {
|
|
|
79
79
|
*/
|
|
80
80
|
authType?: AuthTypeEnum;
|
|
81
81
|
/**
|
|
82
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
82
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
83
83
|
* @type {boolean}
|
|
84
84
|
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
85
85
|
*/
|
|
@@ -114,6 +114,12 @@ export interface PatchedSAMLProviderRequest {
|
|
|
114
114
|
* @memberof PatchedSAMLProviderRequest
|
|
115
115
|
*/
|
|
116
116
|
spBinding?: SpBindingEnum;
|
|
117
|
+
/**
|
|
118
|
+
* Default relay_state value for IDP-initiated logins
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof PatchedSAMLProviderRequest
|
|
121
|
+
*/
|
|
122
|
+
defaultRelayState?: string;
|
|
117
123
|
}
|
|
118
124
|
/**
|
|
119
125
|
* Check if a given object implements the PatchedSAMLProviderRequest interface.
|
|
@@ -46,6 +46,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
46
46
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
47
47
|
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
48
48
|
'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
|
|
49
|
+
'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
export function PatchedSAMLProviderRequestToJSON(value) {
|
|
@@ -72,5 +73,6 @@ export function PatchedSAMLProviderRequestToJSON(value) {
|
|
|
72
73
|
'signing_kp': value.signingKp,
|
|
73
74
|
'verification_kp': value.verificationKp,
|
|
74
75
|
'sp_binding': SpBindingEnumToJSON(value.spBinding),
|
|
76
|
+
'default_relay_state': value.defaultRelayState,
|
|
75
77
|
};
|
|
76
78
|
}
|
|
@@ -168,6 +168,12 @@ export interface SAMLProvider {
|
|
|
168
168
|
* @memberof SAMLProvider
|
|
169
169
|
*/
|
|
170
170
|
spBinding?: SpBindingEnum;
|
|
171
|
+
/**
|
|
172
|
+
* Default relay_state value for IDP-initiated logins
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof SAMLProvider
|
|
175
|
+
*/
|
|
176
|
+
defaultRelayState?: string;
|
|
171
177
|
/**
|
|
172
178
|
* Get metadata download URL
|
|
173
179
|
* @type {string}
|
|
@@ -73,6 +73,7 @@ export function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
74
74
|
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
75
75
|
'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
|
|
76
|
+
'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
76
77
|
'urlDownloadMetadata': json['url_download_metadata'],
|
|
77
78
|
'urlSsoPost': json['url_sso_post'],
|
|
78
79
|
'urlSsoRedirect': json['url_sso_redirect'],
|
|
@@ -105,5 +106,6 @@ export function SAMLProviderToJSON(value) {
|
|
|
105
106
|
'signing_kp': value.signingKp,
|
|
106
107
|
'verification_kp': value.verificationKp,
|
|
107
108
|
'sp_binding': SpBindingEnumToJSON(value.spBinding),
|
|
109
|
+
'default_relay_state': value.defaultRelayState,
|
|
108
110
|
};
|
|
109
111
|
}
|
|
@@ -114,6 +114,12 @@ export interface SAMLProviderRequest {
|
|
|
114
114
|
* @memberof SAMLProviderRequest
|
|
115
115
|
*/
|
|
116
116
|
spBinding?: SpBindingEnum;
|
|
117
|
+
/**
|
|
118
|
+
* Default relay_state value for IDP-initiated logins
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof SAMLProviderRequest
|
|
121
|
+
*/
|
|
122
|
+
defaultRelayState?: string;
|
|
117
123
|
}
|
|
118
124
|
/**
|
|
119
125
|
* Check if a given object implements the SAMLProviderRequest interface.
|
|
@@ -49,6 +49,7 @@ export function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
50
50
|
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
51
51
|
'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
|
|
52
|
+
'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
export function SAMLProviderRequestToJSON(value) {
|
|
@@ -75,5 +76,6 @@ export function SAMLProviderRequestToJSON(value) {
|
|
|
75
76
|
'signing_kp': value.signingKp,
|
|
76
77
|
'verification_kp': value.verificationKp,
|
|
77
78
|
'sp_binding': SpBindingEnumToJSON(value.spBinding),
|
|
79
|
+
'default_relay_state': value.defaultRelayState,
|
|
78
80
|
};
|
|
79
81
|
}
|
|
@@ -109,7 +109,7 @@ export interface AuthenticatorSMSStage {
|
|
|
109
109
|
*/
|
|
110
110
|
authType?: AuthTypeEnum;
|
|
111
111
|
/**
|
|
112
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
112
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
113
113
|
* @type {boolean}
|
|
114
114
|
* @memberof AuthenticatorSMSStage
|
|
115
115
|
*/
|
|
@@ -79,7 +79,7 @@ export interface AuthenticatorSMSStageRequest {
|
|
|
79
79
|
*/
|
|
80
80
|
authType?: AuthTypeEnum;
|
|
81
81
|
/**
|
|
82
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
82
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
83
83
|
* @type {boolean}
|
|
84
84
|
* @memberof AuthenticatorSMSStageRequest
|
|
85
85
|
*/
|
|
@@ -79,7 +79,7 @@ export interface PatchedAuthenticatorSMSStageRequest {
|
|
|
79
79
|
*/
|
|
80
80
|
authType?: AuthTypeEnum;
|
|
81
81
|
/**
|
|
82
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
82
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
83
83
|
* @type {boolean}
|
|
84
84
|
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
85
85
|
*/
|
|
@@ -114,6 +114,12 @@ export interface PatchedSAMLProviderRequest {
|
|
|
114
114
|
* @memberof PatchedSAMLProviderRequest
|
|
115
115
|
*/
|
|
116
116
|
spBinding?: SpBindingEnum;
|
|
117
|
+
/**
|
|
118
|
+
* Default relay_state value for IDP-initiated logins
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof PatchedSAMLProviderRequest
|
|
121
|
+
*/
|
|
122
|
+
defaultRelayState?: string;
|
|
117
123
|
}
|
|
118
124
|
/**
|
|
119
125
|
* Check if a given object implements the PatchedSAMLProviderRequest interface.
|
|
@@ -51,6 +51,7 @@ function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
52
52
|
'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
53
53
|
'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
|
|
54
|
+
'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
54
55
|
};
|
|
55
56
|
}
|
|
56
57
|
exports.PatchedSAMLProviderRequestFromJSONTyped = PatchedSAMLProviderRequestFromJSONTyped;
|
|
@@ -78,6 +79,7 @@ function PatchedSAMLProviderRequestToJSON(value) {
|
|
|
78
79
|
'signing_kp': value.signingKp,
|
|
79
80
|
'verification_kp': value.verificationKp,
|
|
80
81
|
'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
|
|
82
|
+
'default_relay_state': value.defaultRelayState,
|
|
81
83
|
};
|
|
82
84
|
}
|
|
83
85
|
exports.PatchedSAMLProviderRequestToJSON = PatchedSAMLProviderRequestToJSON;
|
|
@@ -168,6 +168,12 @@ export interface SAMLProvider {
|
|
|
168
168
|
* @memberof SAMLProvider
|
|
169
169
|
*/
|
|
170
170
|
spBinding?: SpBindingEnum;
|
|
171
|
+
/**
|
|
172
|
+
* Default relay_state value for IDP-initiated logins
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof SAMLProvider
|
|
175
|
+
*/
|
|
176
|
+
defaultRelayState?: string;
|
|
171
177
|
/**
|
|
172
178
|
* Get metadata download URL
|
|
173
179
|
* @type {string}
|
|
@@ -78,6 +78,7 @@ function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
78
|
'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
79
79
|
'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
80
80
|
'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
|
|
81
|
+
'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
81
82
|
'urlDownloadMetadata': json['url_download_metadata'],
|
|
82
83
|
'urlSsoPost': json['url_sso_post'],
|
|
83
84
|
'urlSsoRedirect': json['url_sso_redirect'],
|
|
@@ -111,6 +112,7 @@ function SAMLProviderToJSON(value) {
|
|
|
111
112
|
'signing_kp': value.signingKp,
|
|
112
113
|
'verification_kp': value.verificationKp,
|
|
113
114
|
'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
|
|
115
|
+
'default_relay_state': value.defaultRelayState,
|
|
114
116
|
};
|
|
115
117
|
}
|
|
116
118
|
exports.SAMLProviderToJSON = SAMLProviderToJSON;
|
|
@@ -114,6 +114,12 @@ export interface SAMLProviderRequest {
|
|
|
114
114
|
* @memberof SAMLProviderRequest
|
|
115
115
|
*/
|
|
116
116
|
spBinding?: SpBindingEnum;
|
|
117
|
+
/**
|
|
118
|
+
* Default relay_state value for IDP-initiated logins
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof SAMLProviderRequest
|
|
121
|
+
*/
|
|
122
|
+
defaultRelayState?: string;
|
|
117
123
|
}
|
|
118
124
|
/**
|
|
119
125
|
* Check if a given object implements the SAMLProviderRequest interface.
|
|
@@ -54,6 +54,7 @@ function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
55
55
|
'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
56
56
|
'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
|
|
57
|
+
'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
exports.SAMLProviderRequestFromJSONTyped = SAMLProviderRequestFromJSONTyped;
|
|
@@ -81,6 +82,7 @@ function SAMLProviderRequestToJSON(value) {
|
|
|
81
82
|
'signing_kp': value.signingKp,
|
|
82
83
|
'verification_kp': value.verificationKp,
|
|
83
84
|
'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
|
|
85
|
+
'default_relay_state': value.defaultRelayState,
|
|
84
86
|
};
|
|
85
87
|
}
|
|
86
88
|
exports.SAMLProviderRequestToJSON = SAMLProviderRequestToJSON;
|
package/package.json
CHANGED
package/src/apis/ProvidersApi.ts
CHANGED
|
@@ -349,6 +349,7 @@ export interface ProvidersSamlListRequest {
|
|
|
349
349
|
authenticationFlow?: string;
|
|
350
350
|
authorizationFlow?: string;
|
|
351
351
|
backchannelApplication?: string;
|
|
352
|
+
defaultRelayState?: string;
|
|
352
353
|
digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
|
|
353
354
|
isBackchannel?: boolean;
|
|
354
355
|
issuer?: string;
|
|
@@ -2095,6 +2096,10 @@ export class ProvidersApi extends runtime.BaseAPI {
|
|
|
2095
2096
|
queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
|
|
2096
2097
|
}
|
|
2097
2098
|
|
|
2099
|
+
if (requestParameters.defaultRelayState !== undefined) {
|
|
2100
|
+
queryParameters['default_relay_state'] = requestParameters.defaultRelayState;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2098
2103
|
if (requestParameters.digestAlgorithm !== undefined) {
|
|
2099
2104
|
queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
|
|
2100
2105
|
}
|
|
@@ -129,7 +129,7 @@ export interface AuthenticatorSMSStage {
|
|
|
129
129
|
*/
|
|
130
130
|
authType?: AuthTypeEnum;
|
|
131
131
|
/**
|
|
132
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
132
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
133
133
|
* @type {boolean}
|
|
134
134
|
* @memberof AuthenticatorSMSStage
|
|
135
135
|
*/
|
|
@@ -99,7 +99,7 @@ export interface AuthenticatorSMSStageRequest {
|
|
|
99
99
|
*/
|
|
100
100
|
authType?: AuthTypeEnum;
|
|
101
101
|
/**
|
|
102
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
102
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
103
103
|
* @type {boolean}
|
|
104
104
|
* @memberof AuthenticatorSMSStageRequest
|
|
105
105
|
*/
|
|
@@ -99,7 +99,7 @@ export interface PatchedAuthenticatorSMSStageRequest {
|
|
|
99
99
|
*/
|
|
100
100
|
authType?: AuthTypeEnum;
|
|
101
101
|
/**
|
|
102
|
-
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not
|
|
102
|
+
* When enabled, the Phone number is only used during enrollment to verify the users authenticity. Only a hash of the phone number is saved to ensure it is not reused in the future.
|
|
103
103
|
* @type {boolean}
|
|
104
104
|
* @memberof PatchedAuthenticatorSMSStageRequest
|
|
105
105
|
*/
|
|
@@ -134,6 +134,12 @@ export interface PatchedSAMLProviderRequest {
|
|
|
134
134
|
* @memberof PatchedSAMLProviderRequest
|
|
135
135
|
*/
|
|
136
136
|
spBinding?: SpBindingEnum;
|
|
137
|
+
/**
|
|
138
|
+
* Default relay_state value for IDP-initiated logins
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof PatchedSAMLProviderRequest
|
|
141
|
+
*/
|
|
142
|
+
defaultRelayState?: string;
|
|
137
143
|
}
|
|
138
144
|
|
|
139
145
|
/**
|
|
@@ -171,6 +177,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
171
177
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
172
178
|
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
173
179
|
'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
|
|
180
|
+
'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
174
181
|
};
|
|
175
182
|
}
|
|
176
183
|
|
|
@@ -199,6 +206,7 @@ export function PatchedSAMLProviderRequestToJSON(value?: PatchedSAMLProviderRequ
|
|
|
199
206
|
'signing_kp': value.signingKp,
|
|
200
207
|
'verification_kp': value.verificationKp,
|
|
201
208
|
'sp_binding': SpBindingEnumToJSON(value.spBinding),
|
|
209
|
+
'default_relay_state': value.defaultRelayState,
|
|
202
210
|
};
|
|
203
211
|
}
|
|
204
212
|
|
|
@@ -188,6 +188,12 @@ export interface SAMLProvider {
|
|
|
188
188
|
* @memberof SAMLProvider
|
|
189
189
|
*/
|
|
190
190
|
spBinding?: SpBindingEnum;
|
|
191
|
+
/**
|
|
192
|
+
* Default relay_state value for IDP-initiated logins
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof SAMLProvider
|
|
195
|
+
*/
|
|
196
|
+
defaultRelayState?: string;
|
|
191
197
|
/**
|
|
192
198
|
* Get metadata download URL
|
|
193
199
|
* @type {string}
|
|
@@ -288,6 +294,7 @@ export function SAMLProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
288
294
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
289
295
|
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
290
296
|
'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
|
|
297
|
+
'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
291
298
|
'urlDownloadMetadata': json['url_download_metadata'],
|
|
292
299
|
'urlSsoPost': json['url_sso_post'],
|
|
293
300
|
'urlSsoRedirect': json['url_sso_redirect'],
|
|
@@ -322,6 +329,7 @@ export function SAMLProviderToJSON(value?: SAMLProvider | null): any {
|
|
|
322
329
|
'signing_kp': value.signingKp,
|
|
323
330
|
'verification_kp': value.verificationKp,
|
|
324
331
|
'sp_binding': SpBindingEnumToJSON(value.spBinding),
|
|
332
|
+
'default_relay_state': value.defaultRelayState,
|
|
325
333
|
};
|
|
326
334
|
}
|
|
327
335
|
|
|
@@ -134,6 +134,12 @@ export interface SAMLProviderRequest {
|
|
|
134
134
|
* @memberof SAMLProviderRequest
|
|
135
135
|
*/
|
|
136
136
|
spBinding?: SpBindingEnum;
|
|
137
|
+
/**
|
|
138
|
+
* Default relay_state value for IDP-initiated logins
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof SAMLProviderRequest
|
|
141
|
+
*/
|
|
142
|
+
defaultRelayState?: string;
|
|
137
143
|
}
|
|
138
144
|
|
|
139
145
|
/**
|
|
@@ -174,6 +180,7 @@ export function SAMLProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
174
180
|
'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
|
|
175
181
|
'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
|
|
176
182
|
'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
|
|
183
|
+
'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
|
|
177
184
|
};
|
|
178
185
|
}
|
|
179
186
|
|
|
@@ -202,6 +209,7 @@ export function SAMLProviderRequestToJSON(value?: SAMLProviderRequest | null): a
|
|
|
202
209
|
'signing_kp': value.signingKp,
|
|
203
210
|
'verification_kp': value.verificationKp,
|
|
204
211
|
'sp_binding': SpBindingEnumToJSON(value.spBinding),
|
|
212
|
+
'default_relay_state': value.defaultRelayState,
|
|
205
213
|
};
|
|
206
214
|
}
|
|
207
215
|
|