@goauthentik/api 2024.10.5-1734006367 → 2024.10.5-1734524927
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 +16 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +21 -5
- package/dist/apis/SourcesApi.js +51 -6
- package/dist/apis/StagesApi.d.ts +84 -1
- package/dist/apis/StagesApi.js +265 -0
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +21 -5
- package/dist/esm/apis/SourcesApi.js +52 -7
- package/dist/esm/apis/StagesApi.d.ts +84 -1
- package/dist/esm/apis/StagesApi.js +266 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/AuthenticationEnum.d.ts +1 -0
- package/dist/esm/models/AuthenticationEnum.js +1 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedRedirectStageList.d.ts +39 -0
- package/dist/esm/models/PaginatedRedirectStageList.js +48 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedRedirectStageRequest.d.ts +63 -0
- package/dist/esm/models/PatchedRedirectStageRequest.js +55 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
- package/dist/esm/models/RedirectChallengeResponseRequest.d.ts +37 -0
- package/dist/esm/models/RedirectChallengeResponseRequest.js +46 -0
- package/dist/esm/models/RedirectStage.d.ts +93 -0
- package/dist/esm/models/RedirectStage.js +67 -0
- package/dist/esm/models/RedirectStageModeEnum.d.ts +24 -0
- package/dist/esm/models/RedirectStageModeEnum.js +31 -0
- package/dist/esm/models/RedirectStageRequest.d.ts +63 -0
- package/dist/esm/models/RedirectStageRequest.js +57 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserPlexSourceConnection.js +5 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSourceConnection.js +7 -2
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/AuthenticationEnum.d.ts +1 -0
- package/dist/models/AuthenticationEnum.js +1 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/models/GroupPlexSourceConnection.js +8 -2
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedRedirectStageList.d.ts +39 -0
- package/dist/models/PaginatedRedirectStageList.js +55 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedRedirectStageRequest.d.ts +63 -0
- package/dist/models/PatchedRedirectStageRequest.js +62 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
- package/dist/models/RedirectChallengeResponseRequest.d.ts +37 -0
- package/dist/models/RedirectChallengeResponseRequest.js +53 -0
- package/dist/models/RedirectStage.d.ts +93 -0
- package/dist/models/RedirectStage.js +74 -0
- package/dist/models/RedirectStageModeEnum.d.ts +24 -0
- package/dist/models/RedirectStageModeEnum.js +37 -0
- package/dist/models/RedirectStageRequest.d.ts +63 -0
- package/dist/models/RedirectStageRequest.js +64 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/models/UserKerberosSourceConnection.js +4 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/models/UserOAuthSourceConnection.js +5 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/models/UserPlexSourceConnection.js +5 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/models/UserSAMLSourceConnection.js +5 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/models/UserSourceConnection.d.ts +9 -3
- package/dist/models/UserSourceConnection.js +7 -2
- package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/package.json +1 -1
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +118 -6
- package/src/apis/StagesApi.ts +340 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/AuthenticationEnum.ts +1 -0
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/GroupKerberosSourceConnection.ts +15 -4
- package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
- package/src/models/GroupOAuthSourceConnection.ts +15 -4
- package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
- package/src/models/GroupPlexSourceConnection.ts +15 -4
- package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
- package/src/models/GroupSAMLSourceConnection.ts +15 -4
- package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedRedirectStageList.ts +88 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedRedirectStageRequest.ts +118 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
- package/src/models/RedirectChallengeResponseRequest.ts +74 -0
- package/src/models/RedirectStage.ts +160 -0
- package/src/models/RedirectStageModeEnum.ts +39 -0
- package/src/models/RedirectStageRequest.ts +120 -0
- package/src/models/UserKerberosSourceConnection.ts +11 -2
- package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
- package/src/models/UserOAuthSourceConnection.ts +13 -3
- package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
- package/src/models/UserPlexSourceConnection.ts +13 -3
- package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
- package/src/models/UserSAMLSourceConnection.ts +13 -3
- package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
- package/src/models/UserSourceConnection.ts +14 -4
- package/src/models/UserSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +16 -0
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AuthenticatorDuoStageFromJSON, AuthenticatorDuoStageDeviceImportResponseFromJSON, AuthenticatorDuoStageManualDeviceImportRequestToJSON, AuthenticatorDuoStageRequestToJSON, AuthenticatorEndpointGDTCStageFromJSON, AuthenticatorEndpointGDTCStageRequestToJSON, AuthenticatorSMSStageFromJSON, AuthenticatorSMSStageRequestToJSON, AuthenticatorStaticStageFromJSON, AuthenticatorStaticStageRequestToJSON, AuthenticatorTOTPStageFromJSON, AuthenticatorTOTPStageRequestToJSON, AuthenticatorValidateStageFromJSON, AuthenticatorValidateStageRequestToJSON, AuthenticatorWebAuthnStageFromJSON, AuthenticatorWebAuthnStageRequestToJSON, CaptchaStageFromJSON, CaptchaStageRequestToJSON, ConsentStageFromJSON, ConsentStageRequestToJSON, DenyStageFromJSON, DenyStageRequestToJSON, DummyStageFromJSON, DummyStageRequestToJSON, DuoDeviceEnrollmentStatusFromJSON, EmailStageFromJSON, EmailStageRequestToJSON, IdentificationStageFromJSON, IdentificationStageRequestToJSON, InvitationFromJSON, InvitationRequestToJSON, InvitationStageFromJSON, InvitationStageRequestToJSON, PaginatedAuthenticatorDuoStageListFromJSON, PaginatedAuthenticatorEndpointGDTCStageListFromJSON, PaginatedAuthenticatorSMSStageListFromJSON, PaginatedAuthenticatorStaticStageListFromJSON, PaginatedAuthenticatorTOTPStageListFromJSON, PaginatedAuthenticatorValidateStageListFromJSON, PaginatedAuthenticatorWebAuthnStageListFromJSON, PaginatedCaptchaStageListFromJSON, PaginatedConsentStageListFromJSON, PaginatedDenyStageListFromJSON, PaginatedDummyStageListFromJSON, PaginatedEmailStageListFromJSON, PaginatedIdentificationStageListFromJSON, PaginatedInvitationListFromJSON, PaginatedInvitationStageListFromJSON, PaginatedPasswordStageListFromJSON, PaginatedPromptListFromJSON, PaginatedPromptStageListFromJSON, PaginatedSourceStageListFromJSON, PaginatedStageListFromJSON, PaginatedUserDeleteStageListFromJSON, PaginatedUserLoginStageListFromJSON, PaginatedUserLogoutStageListFromJSON, PaginatedUserWriteStageListFromJSON, PaginatedWebAuthnDeviceTypeListFromJSON, PasswordStageFromJSON, PasswordStageRequestToJSON, PatchedAuthenticatorDuoStageRequestToJSON, PatchedAuthenticatorEndpointGDTCStageRequestToJSON, PatchedAuthenticatorSMSStageRequestToJSON, PatchedAuthenticatorStaticStageRequestToJSON, PatchedAuthenticatorTOTPStageRequestToJSON, PatchedAuthenticatorValidateStageRequestToJSON, PatchedAuthenticatorWebAuthnStageRequestToJSON, PatchedCaptchaStageRequestToJSON, PatchedConsentStageRequestToJSON, PatchedDenyStageRequestToJSON, PatchedDummyStageRequestToJSON, PatchedEmailStageRequestToJSON, PatchedIdentificationStageRequestToJSON, PatchedInvitationRequestToJSON, PatchedInvitationStageRequestToJSON, PatchedPasswordStageRequestToJSON, PatchedPromptRequestToJSON, PatchedPromptStageRequestToJSON, PatchedSourceStageRequestToJSON, PatchedUserDeleteStageRequestToJSON, PatchedUserLoginStageRequestToJSON, PatchedUserLogoutStageRequestToJSON, PatchedUserWriteStageRequestToJSON, PromptFromJSON, PromptChallengeFromJSON, PromptRequestToJSON, PromptStageFromJSON, PromptStageRequestToJSON, SourceStageFromJSON, SourceStageRequestToJSON, StageFromJSON, TypeCreateFromJSON, UsedByFromJSON, UserDeleteStageFromJSON, UserDeleteStageRequestToJSON, UserLoginStageFromJSON, UserLoginStageRequestToJSON, UserLogoutStageFromJSON, UserLogoutStageRequestToJSON, UserSettingFromJSON, UserWriteStageFromJSON, UserWriteStageRequestToJSON, WebAuthnDeviceTypeFromJSON, } from '../models';
|
|
24
|
+
import { AuthenticatorDuoStageFromJSON, AuthenticatorDuoStageDeviceImportResponseFromJSON, AuthenticatorDuoStageManualDeviceImportRequestToJSON, AuthenticatorDuoStageRequestToJSON, AuthenticatorEndpointGDTCStageFromJSON, AuthenticatorEndpointGDTCStageRequestToJSON, AuthenticatorSMSStageFromJSON, AuthenticatorSMSStageRequestToJSON, AuthenticatorStaticStageFromJSON, AuthenticatorStaticStageRequestToJSON, AuthenticatorTOTPStageFromJSON, AuthenticatorTOTPStageRequestToJSON, AuthenticatorValidateStageFromJSON, AuthenticatorValidateStageRequestToJSON, AuthenticatorWebAuthnStageFromJSON, AuthenticatorWebAuthnStageRequestToJSON, CaptchaStageFromJSON, CaptchaStageRequestToJSON, ConsentStageFromJSON, ConsentStageRequestToJSON, DenyStageFromJSON, DenyStageRequestToJSON, DummyStageFromJSON, DummyStageRequestToJSON, DuoDeviceEnrollmentStatusFromJSON, EmailStageFromJSON, EmailStageRequestToJSON, IdentificationStageFromJSON, IdentificationStageRequestToJSON, InvitationFromJSON, InvitationRequestToJSON, InvitationStageFromJSON, InvitationStageRequestToJSON, PaginatedAuthenticatorDuoStageListFromJSON, PaginatedAuthenticatorEndpointGDTCStageListFromJSON, PaginatedAuthenticatorSMSStageListFromJSON, PaginatedAuthenticatorStaticStageListFromJSON, PaginatedAuthenticatorTOTPStageListFromJSON, PaginatedAuthenticatorValidateStageListFromJSON, PaginatedAuthenticatorWebAuthnStageListFromJSON, PaginatedCaptchaStageListFromJSON, PaginatedConsentStageListFromJSON, PaginatedDenyStageListFromJSON, PaginatedDummyStageListFromJSON, PaginatedEmailStageListFromJSON, PaginatedIdentificationStageListFromJSON, PaginatedInvitationListFromJSON, PaginatedInvitationStageListFromJSON, PaginatedPasswordStageListFromJSON, PaginatedPromptListFromJSON, PaginatedPromptStageListFromJSON, PaginatedRedirectStageListFromJSON, PaginatedSourceStageListFromJSON, PaginatedStageListFromJSON, PaginatedUserDeleteStageListFromJSON, PaginatedUserLoginStageListFromJSON, PaginatedUserLogoutStageListFromJSON, PaginatedUserWriteStageListFromJSON, PaginatedWebAuthnDeviceTypeListFromJSON, PasswordStageFromJSON, PasswordStageRequestToJSON, PatchedAuthenticatorDuoStageRequestToJSON, PatchedAuthenticatorEndpointGDTCStageRequestToJSON, PatchedAuthenticatorSMSStageRequestToJSON, PatchedAuthenticatorStaticStageRequestToJSON, PatchedAuthenticatorTOTPStageRequestToJSON, PatchedAuthenticatorValidateStageRequestToJSON, PatchedAuthenticatorWebAuthnStageRequestToJSON, PatchedCaptchaStageRequestToJSON, PatchedConsentStageRequestToJSON, PatchedDenyStageRequestToJSON, PatchedDummyStageRequestToJSON, PatchedEmailStageRequestToJSON, PatchedIdentificationStageRequestToJSON, PatchedInvitationRequestToJSON, PatchedInvitationStageRequestToJSON, PatchedPasswordStageRequestToJSON, PatchedPromptRequestToJSON, PatchedPromptStageRequestToJSON, PatchedRedirectStageRequestToJSON, PatchedSourceStageRequestToJSON, PatchedUserDeleteStageRequestToJSON, PatchedUserLoginStageRequestToJSON, PatchedUserLogoutStageRequestToJSON, PatchedUserWriteStageRequestToJSON, PromptFromJSON, PromptChallengeFromJSON, PromptRequestToJSON, PromptStageFromJSON, PromptStageRequestToJSON, RedirectStageFromJSON, RedirectStageRequestToJSON, SourceStageFromJSON, SourceStageRequestToJSON, StageFromJSON, TypeCreateFromJSON, UsedByFromJSON, UserDeleteStageFromJSON, UserDeleteStageRequestToJSON, UserLoginStageFromJSON, UserLoginStageRequestToJSON, UserLogoutStageFromJSON, UserLogoutStageRequestToJSON, UserSettingFromJSON, UserWriteStageFromJSON, UserWriteStageRequestToJSON, WebAuthnDeviceTypeFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -5508,6 +5508,271 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
5508
5508
|
return yield response.value();
|
|
5509
5509
|
});
|
|
5510
5510
|
}
|
|
5511
|
+
/**
|
|
5512
|
+
* RedirectStage Viewset
|
|
5513
|
+
*/
|
|
5514
|
+
stagesRedirectCreateRaw(requestParameters, initOverrides) {
|
|
5515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5516
|
+
if (requestParameters.redirectStageRequest === null || requestParameters.redirectStageRequest === undefined) {
|
|
5517
|
+
throw new runtime.RequiredError('redirectStageRequest', 'Required parameter requestParameters.redirectStageRequest was null or undefined when calling stagesRedirectCreate.');
|
|
5518
|
+
}
|
|
5519
|
+
const queryParameters = {};
|
|
5520
|
+
const headerParameters = {};
|
|
5521
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5522
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5523
|
+
const token = this.configuration.accessToken;
|
|
5524
|
+
const tokenString = yield token("authentik", []);
|
|
5525
|
+
if (tokenString) {
|
|
5526
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5527
|
+
}
|
|
5528
|
+
}
|
|
5529
|
+
const response = yield this.request({
|
|
5530
|
+
path: `/stages/redirect/`,
|
|
5531
|
+
method: 'POST',
|
|
5532
|
+
headers: headerParameters,
|
|
5533
|
+
query: queryParameters,
|
|
5534
|
+
body: RedirectStageRequestToJSON(requestParameters.redirectStageRequest),
|
|
5535
|
+
}, initOverrides);
|
|
5536
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RedirectStageFromJSON(jsonValue));
|
|
5537
|
+
});
|
|
5538
|
+
}
|
|
5539
|
+
/**
|
|
5540
|
+
* RedirectStage Viewset
|
|
5541
|
+
*/
|
|
5542
|
+
stagesRedirectCreate(requestParameters, initOverrides) {
|
|
5543
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5544
|
+
const response = yield this.stagesRedirectCreateRaw(requestParameters, initOverrides);
|
|
5545
|
+
return yield response.value();
|
|
5546
|
+
});
|
|
5547
|
+
}
|
|
5548
|
+
/**
|
|
5549
|
+
* RedirectStage Viewset
|
|
5550
|
+
*/
|
|
5551
|
+
stagesRedirectDestroyRaw(requestParameters, initOverrides) {
|
|
5552
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5553
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
5554
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesRedirectDestroy.');
|
|
5555
|
+
}
|
|
5556
|
+
const queryParameters = {};
|
|
5557
|
+
const headerParameters = {};
|
|
5558
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5559
|
+
const token = this.configuration.accessToken;
|
|
5560
|
+
const tokenString = yield token("authentik", []);
|
|
5561
|
+
if (tokenString) {
|
|
5562
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
const response = yield this.request({
|
|
5566
|
+
path: `/stages/redirect/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
5567
|
+
method: 'DELETE',
|
|
5568
|
+
headers: headerParameters,
|
|
5569
|
+
query: queryParameters,
|
|
5570
|
+
}, initOverrides);
|
|
5571
|
+
return new runtime.VoidApiResponse(response);
|
|
5572
|
+
});
|
|
5573
|
+
}
|
|
5574
|
+
/**
|
|
5575
|
+
* RedirectStage Viewset
|
|
5576
|
+
*/
|
|
5577
|
+
stagesRedirectDestroy(requestParameters, initOverrides) {
|
|
5578
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5579
|
+
yield this.stagesRedirectDestroyRaw(requestParameters, initOverrides);
|
|
5580
|
+
});
|
|
5581
|
+
}
|
|
5582
|
+
/**
|
|
5583
|
+
* RedirectStage Viewset
|
|
5584
|
+
*/
|
|
5585
|
+
stagesRedirectListRaw(requestParameters, initOverrides) {
|
|
5586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5587
|
+
const queryParameters = {};
|
|
5588
|
+
if (requestParameters.name !== undefined) {
|
|
5589
|
+
queryParameters['name'] = requestParameters.name;
|
|
5590
|
+
}
|
|
5591
|
+
if (requestParameters.ordering !== undefined) {
|
|
5592
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
5593
|
+
}
|
|
5594
|
+
if (requestParameters.page !== undefined) {
|
|
5595
|
+
queryParameters['page'] = requestParameters.page;
|
|
5596
|
+
}
|
|
5597
|
+
if (requestParameters.pageSize !== undefined) {
|
|
5598
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
|
5599
|
+
}
|
|
5600
|
+
if (requestParameters.search !== undefined) {
|
|
5601
|
+
queryParameters['search'] = requestParameters.search;
|
|
5602
|
+
}
|
|
5603
|
+
const headerParameters = {};
|
|
5604
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5605
|
+
const token = this.configuration.accessToken;
|
|
5606
|
+
const tokenString = yield token("authentik", []);
|
|
5607
|
+
if (tokenString) {
|
|
5608
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5609
|
+
}
|
|
5610
|
+
}
|
|
5611
|
+
const response = yield this.request({
|
|
5612
|
+
path: `/stages/redirect/`,
|
|
5613
|
+
method: 'GET',
|
|
5614
|
+
headers: headerParameters,
|
|
5615
|
+
query: queryParameters,
|
|
5616
|
+
}, initOverrides);
|
|
5617
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRedirectStageListFromJSON(jsonValue));
|
|
5618
|
+
});
|
|
5619
|
+
}
|
|
5620
|
+
/**
|
|
5621
|
+
* RedirectStage Viewset
|
|
5622
|
+
*/
|
|
5623
|
+
stagesRedirectList(requestParameters = {}, initOverrides) {
|
|
5624
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5625
|
+
const response = yield this.stagesRedirectListRaw(requestParameters, initOverrides);
|
|
5626
|
+
return yield response.value();
|
|
5627
|
+
});
|
|
5628
|
+
}
|
|
5629
|
+
/**
|
|
5630
|
+
* RedirectStage Viewset
|
|
5631
|
+
*/
|
|
5632
|
+
stagesRedirectPartialUpdateRaw(requestParameters, initOverrides) {
|
|
5633
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5634
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
5635
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesRedirectPartialUpdate.');
|
|
5636
|
+
}
|
|
5637
|
+
const queryParameters = {};
|
|
5638
|
+
const headerParameters = {};
|
|
5639
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5640
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5641
|
+
const token = this.configuration.accessToken;
|
|
5642
|
+
const tokenString = yield token("authentik", []);
|
|
5643
|
+
if (tokenString) {
|
|
5644
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5645
|
+
}
|
|
5646
|
+
}
|
|
5647
|
+
const response = yield this.request({
|
|
5648
|
+
path: `/stages/redirect/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
5649
|
+
method: 'PATCH',
|
|
5650
|
+
headers: headerParameters,
|
|
5651
|
+
query: queryParameters,
|
|
5652
|
+
body: PatchedRedirectStageRequestToJSON(requestParameters.patchedRedirectStageRequest),
|
|
5653
|
+
}, initOverrides);
|
|
5654
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RedirectStageFromJSON(jsonValue));
|
|
5655
|
+
});
|
|
5656
|
+
}
|
|
5657
|
+
/**
|
|
5658
|
+
* RedirectStage Viewset
|
|
5659
|
+
*/
|
|
5660
|
+
stagesRedirectPartialUpdate(requestParameters, initOverrides) {
|
|
5661
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5662
|
+
const response = yield this.stagesRedirectPartialUpdateRaw(requestParameters, initOverrides);
|
|
5663
|
+
return yield response.value();
|
|
5664
|
+
});
|
|
5665
|
+
}
|
|
5666
|
+
/**
|
|
5667
|
+
* RedirectStage Viewset
|
|
5668
|
+
*/
|
|
5669
|
+
stagesRedirectRetrieveRaw(requestParameters, initOverrides) {
|
|
5670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5671
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
5672
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesRedirectRetrieve.');
|
|
5673
|
+
}
|
|
5674
|
+
const queryParameters = {};
|
|
5675
|
+
const headerParameters = {};
|
|
5676
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5677
|
+
const token = this.configuration.accessToken;
|
|
5678
|
+
const tokenString = yield token("authentik", []);
|
|
5679
|
+
if (tokenString) {
|
|
5680
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5681
|
+
}
|
|
5682
|
+
}
|
|
5683
|
+
const response = yield this.request({
|
|
5684
|
+
path: `/stages/redirect/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
5685
|
+
method: 'GET',
|
|
5686
|
+
headers: headerParameters,
|
|
5687
|
+
query: queryParameters,
|
|
5688
|
+
}, initOverrides);
|
|
5689
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RedirectStageFromJSON(jsonValue));
|
|
5690
|
+
});
|
|
5691
|
+
}
|
|
5692
|
+
/**
|
|
5693
|
+
* RedirectStage Viewset
|
|
5694
|
+
*/
|
|
5695
|
+
stagesRedirectRetrieve(requestParameters, initOverrides) {
|
|
5696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5697
|
+
const response = yield this.stagesRedirectRetrieveRaw(requestParameters, initOverrides);
|
|
5698
|
+
return yield response.value();
|
|
5699
|
+
});
|
|
5700
|
+
}
|
|
5701
|
+
/**
|
|
5702
|
+
* RedirectStage Viewset
|
|
5703
|
+
*/
|
|
5704
|
+
stagesRedirectUpdateRaw(requestParameters, initOverrides) {
|
|
5705
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5706
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
5707
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesRedirectUpdate.');
|
|
5708
|
+
}
|
|
5709
|
+
if (requestParameters.redirectStageRequest === null || requestParameters.redirectStageRequest === undefined) {
|
|
5710
|
+
throw new runtime.RequiredError('redirectStageRequest', 'Required parameter requestParameters.redirectStageRequest was null or undefined when calling stagesRedirectUpdate.');
|
|
5711
|
+
}
|
|
5712
|
+
const queryParameters = {};
|
|
5713
|
+
const headerParameters = {};
|
|
5714
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5715
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5716
|
+
const token = this.configuration.accessToken;
|
|
5717
|
+
const tokenString = yield token("authentik", []);
|
|
5718
|
+
if (tokenString) {
|
|
5719
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5720
|
+
}
|
|
5721
|
+
}
|
|
5722
|
+
const response = yield this.request({
|
|
5723
|
+
path: `/stages/redirect/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
5724
|
+
method: 'PUT',
|
|
5725
|
+
headers: headerParameters,
|
|
5726
|
+
query: queryParameters,
|
|
5727
|
+
body: RedirectStageRequestToJSON(requestParameters.redirectStageRequest),
|
|
5728
|
+
}, initOverrides);
|
|
5729
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RedirectStageFromJSON(jsonValue));
|
|
5730
|
+
});
|
|
5731
|
+
}
|
|
5732
|
+
/**
|
|
5733
|
+
* RedirectStage Viewset
|
|
5734
|
+
*/
|
|
5735
|
+
stagesRedirectUpdate(requestParameters, initOverrides) {
|
|
5736
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5737
|
+
const response = yield this.stagesRedirectUpdateRaw(requestParameters, initOverrides);
|
|
5738
|
+
return yield response.value();
|
|
5739
|
+
});
|
|
5740
|
+
}
|
|
5741
|
+
/**
|
|
5742
|
+
* Get a list of all objects that use this object
|
|
5743
|
+
*/
|
|
5744
|
+
stagesRedirectUsedByListRaw(requestParameters, initOverrides) {
|
|
5745
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5746
|
+
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
5747
|
+
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesRedirectUsedByList.');
|
|
5748
|
+
}
|
|
5749
|
+
const queryParameters = {};
|
|
5750
|
+
const headerParameters = {};
|
|
5751
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
5752
|
+
const token = this.configuration.accessToken;
|
|
5753
|
+
const tokenString = yield token("authentik", []);
|
|
5754
|
+
if (tokenString) {
|
|
5755
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5756
|
+
}
|
|
5757
|
+
}
|
|
5758
|
+
const response = yield this.request({
|
|
5759
|
+
path: `/stages/redirect/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
|
5760
|
+
method: 'GET',
|
|
5761
|
+
headers: headerParameters,
|
|
5762
|
+
query: queryParameters,
|
|
5763
|
+
}, initOverrides);
|
|
5764
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
|
|
5765
|
+
});
|
|
5766
|
+
}
|
|
5767
|
+
/**
|
|
5768
|
+
* Get a list of all objects that use this object
|
|
5769
|
+
*/
|
|
5770
|
+
stagesRedirectUsedByList(requestParameters, initOverrides) {
|
|
5771
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5772
|
+
const response = yield this.stagesRedirectUsedByListRaw(requestParameters, initOverrides);
|
|
5773
|
+
return yield response.value();
|
|
5774
|
+
});
|
|
5775
|
+
}
|
|
5511
5776
|
/**
|
|
5512
5777
|
* SourceStage Viewset
|
|
5513
5778
|
*/
|
|
@@ -58,6 +58,7 @@ export declare const AppEnum: {
|
|
|
58
58
|
readonly StagesInvitation: "authentik.stages.invitation";
|
|
59
59
|
readonly StagesPassword: "authentik.stages.password";
|
|
60
60
|
readonly StagesPrompt: "authentik.stages.prompt";
|
|
61
|
+
readonly StagesRedirect: "authentik.stages.redirect";
|
|
61
62
|
readonly StagesUserDelete: "authentik.stages.user_delete";
|
|
62
63
|
readonly StagesUserLogin: "authentik.stages.user_login";
|
|
63
64
|
readonly StagesUserLogout: "authentik.stages.user_logout";
|
|
@@ -60,6 +60,7 @@ export const AppEnum = {
|
|
|
60
60
|
StagesInvitation: 'authentik.stages.invitation',
|
|
61
61
|
StagesPassword: 'authentik.stages.password',
|
|
62
62
|
StagesPrompt: 'authentik.stages.prompt',
|
|
63
|
+
StagesRedirect: 'authentik.stages.redirect',
|
|
63
64
|
StagesUserDelete: 'authentik.stages.user_delete',
|
|
64
65
|
StagesUserLogin: 'authentik.stages.user_login',
|
|
65
66
|
StagesUserLogout: 'authentik.stages.user_logout',
|
|
@@ -18,6 +18,7 @@ export declare const AuthenticationEnum: {
|
|
|
18
18
|
readonly RequireAuthenticated: "require_authenticated";
|
|
19
19
|
readonly RequireUnauthenticated: "require_unauthenticated";
|
|
20
20
|
readonly RequireSuperuser: "require_superuser";
|
|
21
|
+
readonly RequireRedirect: "require_redirect";
|
|
21
22
|
readonly RequireOutpost: "require_outpost";
|
|
22
23
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
23
24
|
};
|
|
@@ -20,6 +20,7 @@ export const AuthenticationEnum = {
|
|
|
20
20
|
RequireAuthenticated: 'require_authenticated',
|
|
21
21
|
RequireUnauthenticated: 'require_unauthenticated',
|
|
22
22
|
RequireSuperuser: 'require_superuser',
|
|
23
|
+
RequireRedirect: 'require_redirect',
|
|
23
24
|
RequireOutpost: 'require_outpost',
|
|
24
25
|
UnknownDefaultOpenApi: '11184809'
|
|
25
26
|
};
|
|
@@ -28,6 +28,7 @@ import { OAuthDeviceCodeFinishChallengeResponseRequest } from './OAuthDeviceCode
|
|
|
28
28
|
import { PasswordChallengeResponseRequest } from './PasswordChallengeResponseRequest';
|
|
29
29
|
import { PlexAuthenticationChallengeResponseRequest } from './PlexAuthenticationChallengeResponseRequest';
|
|
30
30
|
import { PromptChallengeResponseRequest } from './PromptChallengeResponseRequest';
|
|
31
|
+
import { RedirectChallengeResponseRequest } from './RedirectChallengeResponseRequest';
|
|
31
32
|
import { UserLoginChallengeResponseRequest } from './UserLoginChallengeResponseRequest';
|
|
32
33
|
/**
|
|
33
34
|
* @type FlowChallengeResponseRequest
|
|
@@ -74,7 +75,9 @@ export type FlowChallengeResponseRequest = {
|
|
|
74
75
|
component: 'ak-stage-user-login';
|
|
75
76
|
} & UserLoginChallengeResponseRequest | {
|
|
76
77
|
component: 'xak-flow-frame';
|
|
77
|
-
} & FrameChallengeResponseRequest
|
|
78
|
+
} & FrameChallengeResponseRequest | {
|
|
79
|
+
component: 'xak-flow-redirect';
|
|
80
|
+
} & RedirectChallengeResponseRequest;
|
|
78
81
|
export declare function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest;
|
|
79
82
|
export declare function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowChallengeResponseRequest;
|
|
80
83
|
export declare function FlowChallengeResponseRequestToJSON(value?: FlowChallengeResponseRequest | null): any;
|
|
@@ -30,6 +30,7 @@ import { OAuthDeviceCodeFinishChallengeResponseRequestFromJSONTyped, OAuthDevice
|
|
|
30
30
|
import { PasswordChallengeResponseRequestFromJSONTyped, PasswordChallengeResponseRequestToJSON, } from './PasswordChallengeResponseRequest';
|
|
31
31
|
import { PlexAuthenticationChallengeResponseRequestFromJSONTyped, PlexAuthenticationChallengeResponseRequestToJSON, } from './PlexAuthenticationChallengeResponseRequest';
|
|
32
32
|
import { PromptChallengeResponseRequestFromJSONTyped, PromptChallengeResponseRequestToJSON, } from './PromptChallengeResponseRequest';
|
|
33
|
+
import { RedirectChallengeResponseRequestFromJSONTyped, RedirectChallengeResponseRequestToJSON, } from './RedirectChallengeResponseRequest';
|
|
33
34
|
import { UserLoginChallengeResponseRequestFromJSONTyped, UserLoginChallengeResponseRequestToJSON, } from './UserLoginChallengeResponseRequest';
|
|
34
35
|
export function FlowChallengeResponseRequestFromJSON(json) {
|
|
35
36
|
return FlowChallengeResponseRequestFromJSONTyped(json, false);
|
|
@@ -79,6 +80,8 @@ export function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
79
80
|
return Object.assign(Object.assign({}, UserLoginChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-stage-user-login' });
|
|
80
81
|
case 'xak-flow-frame':
|
|
81
82
|
return Object.assign(Object.assign({}, FrameChallengeResponseRequestFromJSONTyped(json, true)), { component: 'xak-flow-frame' });
|
|
83
|
+
case 'xak-flow-redirect':
|
|
84
|
+
return Object.assign(Object.assign({}, RedirectChallengeResponseRequestFromJSONTyped(json, true)), { component: 'xak-flow-redirect' });
|
|
82
85
|
default:
|
|
83
86
|
throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
|
|
84
87
|
}
|
|
@@ -131,6 +134,8 @@ export function FlowChallengeResponseRequestToJSON(value) {
|
|
|
131
134
|
return UserLoginChallengeResponseRequestToJSON(value);
|
|
132
135
|
case 'xak-flow-frame':
|
|
133
136
|
return FrameChallengeResponseRequestToJSON(value);
|
|
137
|
+
case 'xak-flow-redirect':
|
|
138
|
+
return RedirectChallengeResponseRequestToJSON(value);
|
|
134
139
|
default:
|
|
135
140
|
throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
|
|
136
141
|
}
|
|
@@ -27,19 +27,25 @@ export interface GroupKerberosSourceConnection {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof GroupKerberosSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupKerberosSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof GroupKerberosSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof GroupKerberosSourceConnection
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -20,6 +20,7 @@ export function instanceOfGroupKerberosSourceConnection(value) {
|
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
|
21
21
|
isInstance = isInstance && "group" in value;
|
|
22
22
|
isInstance = isInstance && "source" in value;
|
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
|
24
25
|
isInstance = isInstance && "created" in value;
|
|
25
26
|
return isInstance;
|
|
@@ -34,7 +35,8 @@ export function GroupKerberosSourceConnectionFromJSONTyped(json, ignoreDiscrimin
|
|
|
34
35
|
return {
|
|
35
36
|
'pk': json['pk'],
|
|
36
37
|
'group': json['group'],
|
|
37
|
-
'source':
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
38
40
|
'identifier': json['identifier'],
|
|
39
41
|
'created': (new Date(json['created'])),
|
|
40
42
|
};
|
|
@@ -46,5 +48,9 @@ export function GroupKerberosSourceConnectionToJSON(value) {
|
|
|
46
48
|
if (value === null) {
|
|
47
49
|
return null;
|
|
48
50
|
}
|
|
49
|
-
return {
|
|
51
|
+
return {
|
|
52
|
+
'group': value.group,
|
|
53
|
+
'source': value.source,
|
|
54
|
+
'identifier': value.identifier,
|
|
55
|
+
};
|
|
50
56
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupKerberosSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupKerberosSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupKerberosSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function GroupKerberosSourceConnectionRequestFromJSON(json: any): GroupKerberosSourceConnectionRequest;
|
|
42
|
+
export declare function GroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnectionRequest;
|
|
43
|
+
export declare function GroupKerberosSourceConnectionRequestToJSON(value?: GroupKerberosSourceConnectionRequest | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGroupKerberosSourceConnectionRequest(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "group" in value;
|
|
20
|
+
isInstance = isInstance && "source" in value;
|
|
21
|
+
isInstance = isInstance && "identifier" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function GroupKerberosSourceConnectionRequestFromJSON(json) {
|
|
25
|
+
return GroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GroupKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'group': json['group'],
|
|
33
|
+
'source': json['source'],
|
|
34
|
+
'identifier': json['identifier'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function GroupKerberosSourceConnectionRequestToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'group': value.group,
|
|
46
|
+
'source': value.source,
|
|
47
|
+
'identifier': value.identifier,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -27,19 +27,25 @@ export interface GroupOAuthSourceConnection {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof GroupOAuthSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupOAuthSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof GroupOAuthSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof GroupOAuthSourceConnection
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -20,6 +20,7 @@ export function instanceOfGroupOAuthSourceConnection(value) {
|
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
|
21
21
|
isInstance = isInstance && "group" in value;
|
|
22
22
|
isInstance = isInstance && "source" in value;
|
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
23
24
|
isInstance = isInstance && "identifier" in value;
|
|
24
25
|
isInstance = isInstance && "created" in value;
|
|
25
26
|
return isInstance;
|
|
@@ -34,7 +35,8 @@ export function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminato
|
|
|
34
35
|
return {
|
|
35
36
|
'pk': json['pk'],
|
|
36
37
|
'group': json['group'],
|
|
37
|
-
'source':
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
38
40
|
'identifier': json['identifier'],
|
|
39
41
|
'created': (new Date(json['created'])),
|
|
40
42
|
};
|
|
@@ -46,5 +48,9 @@ export function GroupOAuthSourceConnectionToJSON(value) {
|
|
|
46
48
|
if (value === null) {
|
|
47
49
|
return null;
|
|
48
50
|
}
|
|
49
|
-
return {
|
|
51
|
+
return {
|
|
52
|
+
'group': value.group,
|
|
53
|
+
'source': value.source,
|
|
54
|
+
'identifier': value.identifier,
|
|
55
|
+
};
|
|
50
56
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupOAuthSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupOAuthSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupOAuthSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function GroupOAuthSourceConnectionRequestFromJSON(json: any): GroupOAuthSourceConnectionRequest;
|
|
42
|
+
export declare function GroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnectionRequest;
|
|
43
|
+
export declare function GroupOAuthSourceConnectionRequestToJSON(value?: GroupOAuthSourceConnectionRequest | null): any;
|