@leancodepl/kratos 8.5.1 → 9.0.0
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/README.md +457 -263
- package/index.cjs.js +16665 -3810
- package/index.esm.js +16644 -3789
- package/package.json +6 -7
- package/src/index.d.ts +4 -11
- package/src/lib/factories/index.d.ts +1 -0
- package/src/lib/factories/mkKratos.d.ts +292 -0
- package/src/lib/flows/index.d.ts +6 -7
- package/src/lib/flows/login/chooseMethodForm/ChooseMethodFormWrapper.d.ts +46 -0
- package/src/lib/flows/login/chooseMethodForm/chooseMethodFormContext.d.ts +10 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Identifier.d.ts +6 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Oidc.d.ts +13 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Passkey.d.ts +9 -0
- package/src/lib/flows/login/chooseMethodForm/fields/Password.d.ts +6 -0
- package/src/lib/flows/login/chooseMethodForm/fields/index.d.ts +4 -0
- package/src/lib/flows/login/chooseMethodForm/index.d.ts +1 -0
- package/src/lib/flows/login/chooseMethodForm/types.d.ts +4 -0
- package/src/lib/flows/login/chooseMethodForm/usePasswordForm.d.ts +34 -0
- package/src/lib/flows/login/hooks/index.d.ts +5 -0
- package/src/lib/flows/login/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/login/hooks/useCreateLoginFlow.d.ts +5 -0
- package/src/lib/flows/login/hooks/useExistingIdentifierFromFlow.d.ts +1 -0
- package/src/lib/flows/login/hooks/useGetLoginFlow.d.ts +2 -0
- package/src/lib/flows/login/hooks/useLoginFlowContext.d.ts +11 -0
- package/src/lib/flows/login/hooks/useUpdateLoginFlow.d.ts +2 -0
- package/src/lib/flows/login/index.d.ts +5 -0
- package/src/lib/flows/login/loginFlow.d.ts +58 -0
- package/src/lib/flows/login/secondFactorEmailForm/SecondFactorEmailFormWrapper.d.ts +21 -0
- package/src/lib/flows/login/secondFactorEmailForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/login/secondFactorEmailForm/fields/Resend.d.ts +6 -0
- package/src/lib/flows/login/secondFactorEmailForm/fields/index.d.ts +2 -0
- package/src/lib/flows/login/secondFactorEmailForm/index.d.ts +1 -0
- package/src/lib/flows/login/secondFactorEmailForm/secondFactorEmailFormContext.d.ts +10 -0
- package/src/lib/flows/login/secondFactorEmailForm/types.d.ts +3 -0
- package/src/lib/flows/login/secondFactorEmailForm/useCodeForm.d.ts +25 -0
- package/src/lib/flows/login/secondFactorForm/SecondFactorFormWrapper.d.ts +33 -0
- package/src/lib/flows/login/secondFactorForm/fields/Email.d.ts +6 -0
- package/src/lib/flows/login/secondFactorForm/fields/Totp.d.ts +6 -0
- package/src/lib/flows/login/secondFactorForm/fields/index.d.ts +2 -0
- package/src/lib/flows/login/secondFactorForm/index.d.ts +1 -0
- package/src/lib/flows/login/secondFactorForm/secondFactorFormContext.d.ts +10 -0
- package/src/lib/flows/login/secondFactorForm/types.d.ts +3 -0
- package/src/lib/flows/login/secondFactorForm/useTotpForm.d.ts +25 -0
- package/src/lib/flows/login/types.d.ts +6 -0
- package/src/lib/flows/logout/index.d.ts +1 -0
- package/src/lib/flows/logout/useLogout.d.ts +32 -0
- package/src/lib/flows/recovery/codeForm/CodeFormWrapper.d.ts +17 -0
- package/src/lib/flows/recovery/codeForm/codeFormContext.d.ts +10 -0
- package/src/lib/flows/recovery/codeForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/recovery/codeForm/fields/index.d.ts +1 -0
- package/src/lib/flows/recovery/codeForm/index.d.ts +1 -0
- package/src/lib/flows/recovery/codeForm/types.d.ts +3 -0
- package/src/lib/flows/recovery/codeForm/useCodeForm.d.ts +24 -0
- package/src/lib/flows/recovery/emailForm/EmailFormWrapper.d.ts +17 -0
- package/src/lib/flows/recovery/emailForm/emailFormContext.d.ts +10 -0
- package/src/lib/flows/recovery/emailForm/fields/Email.d.ts +6 -0
- package/src/lib/flows/recovery/emailForm/fields/index.d.ts +1 -0
- package/src/lib/flows/recovery/emailForm/index.d.ts +1 -0
- package/src/lib/flows/recovery/emailForm/types.d.ts +3 -0
- package/src/lib/flows/recovery/emailForm/useEmailForm.d.ts +24 -0
- package/src/lib/flows/recovery/hooks/index.d.ts +4 -0
- package/src/lib/flows/recovery/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/recovery/hooks/useCreateRecoveryFlow.d.ts +3 -0
- package/src/lib/flows/recovery/hooks/useGetRecoveryFlow.d.ts +2 -0
- package/src/lib/flows/recovery/hooks/useRecoveryFlowContext.d.ts +11 -0
- package/src/lib/flows/recovery/hooks/useUpdateRecoveryFlow.d.ts +2 -0
- package/src/lib/flows/recovery/index.d.ts +4 -0
- package/src/lib/flows/recovery/recoveryFlow.d.ts +49 -0
- package/src/lib/flows/recovery/types.d.ts +5 -0
- package/src/lib/flows/registration/chooseMethodForm/ChooseMethodFormWrapper.d.ts +27 -0
- package/src/lib/flows/registration/chooseMethodForm/chooseMethodFormContext.d.ts +10 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/Passkey.d.ts +10 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/Password.d.ts +6 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/PasswordConfirmation.d.ts +9 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/ReturnToTraitsForm.d.ts +6 -0
- package/src/lib/flows/registration/chooseMethodForm/fields/index.d.ts +4 -0
- package/src/lib/flows/registration/chooseMethodForm/index.d.ts +1 -0
- package/src/lib/flows/registration/chooseMethodForm/types.d.ts +4 -0
- package/src/lib/flows/registration/chooseMethodForm/useChooseMethodForm.d.ts +35 -0
- package/src/lib/flows/registration/hooks/index.d.ts +4 -0
- package/src/lib/flows/registration/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/registration/hooks/useCreateRegistrationFlow.d.ts +3 -0
- package/src/lib/flows/registration/hooks/useGetRegistrationFlow.d.ts +2 -0
- package/src/lib/flows/registration/hooks/useRegistrationFlowContext.d.ts +15 -0
- package/src/lib/flows/registration/hooks/useUpdateRegistrationFlow.d.ts +2 -0
- package/src/lib/flows/registration/index.d.ts +4 -0
- package/src/lib/flows/registration/registrationFlow.d.ts +61 -0
- package/src/lib/flows/registration/traitsForm/TraitsFormWrapper.d.ts +33 -0
- package/src/lib/flows/registration/traitsForm/fields/Oidc.d.ts +13 -0
- package/src/lib/flows/registration/traitsForm/fields/Trait.d.ts +8 -0
- package/src/lib/flows/registration/traitsForm/fields/index.d.ts +2 -0
- package/src/lib/flows/registration/traitsForm/index.d.ts +1 -0
- package/src/lib/flows/registration/traitsForm/traitsFormContext.d.ts +10 -0
- package/src/lib/flows/registration/traitsForm/useTraitsForm.d.ts +27 -0
- package/src/lib/flows/registration/types.d.ts +4 -0
- package/src/lib/flows/settings/hooks/index.d.ts +4 -0
- package/src/lib/flows/settings/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/settings/hooks/useCreateSettingsFlow.d.ts +1 -0
- package/src/lib/flows/settings/hooks/useGetSettingsFlow.d.ts +2 -0
- package/src/lib/flows/settings/hooks/useSettingsFlowContext.d.ts +13 -0
- package/src/lib/flows/settings/hooks/useUpdateSettingsFlow.d.ts +2 -0
- package/src/lib/flows/settings/index.d.ts +8 -0
- package/src/lib/flows/settings/newPasswordForm/NewPasswordFormWrapper.d.ts +24 -0
- package/src/lib/flows/settings/newPasswordForm/fields/Password.d.ts +6 -0
- package/src/lib/flows/settings/newPasswordForm/fields/PasswordConfirmation.d.ts +9 -0
- package/src/lib/flows/settings/newPasswordForm/fields/index.d.ts +2 -0
- package/src/lib/flows/settings/newPasswordForm/index.d.ts +1 -0
- package/src/lib/flows/settings/newPasswordForm/newPasswordFormContext.d.ts +10 -0
- package/src/lib/flows/settings/newPasswordForm/types.d.ts +4 -0
- package/src/lib/flows/settings/newPasswordForm/useNewPasswordForm.d.ts +35 -0
- package/src/lib/flows/settings/oidcForm/OidcFormWrapper.d.ts +15 -0
- package/src/lib/flows/settings/oidcForm/fields/Oidc.d.ts +12 -0
- package/src/lib/flows/settings/oidcForm/fields/index.d.ts +1 -0
- package/src/lib/flows/settings/oidcForm/index.d.ts +2 -0
- package/src/lib/flows/settings/oidcForm/providers.d.ts +3 -0
- package/src/lib/flows/settings/passkeysForm/PasskeysFormWrapper.d.ts +18 -0
- package/src/lib/flows/settings/passkeysForm/fields/AddPasskey.d.ts +6 -0
- package/src/lib/flows/settings/passkeysForm/fields/index.d.ts +1 -0
- package/src/lib/flows/settings/passkeysForm/hooks/index.d.ts +1 -0
- package/src/lib/flows/settings/passkeysForm/hooks/usePasskeys.d.ts +5 -0
- package/src/lib/flows/settings/passkeysForm/index.d.ts +1 -0
- package/src/lib/flows/settings/settingsFlow.d.ts +72 -0
- package/src/lib/flows/settings/totpForm/TotpFormFormWrapper.d.ts +38 -0
- package/src/lib/flows/settings/totpForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/settings/totpForm/fields/Unlink.d.ts +6 -0
- package/src/lib/flows/settings/totpForm/fields/index.d.ts +2 -0
- package/src/lib/flows/settings/totpForm/index.d.ts +1 -0
- package/src/lib/flows/settings/totpForm/totpFormContext.d.ts +10 -0
- package/src/lib/flows/settings/totpForm/types.d.ts +3 -0
- package/src/lib/flows/settings/totpForm/useTotpForm.d.ts +26 -0
- package/src/lib/flows/settings/traitsForm/TraitsFormWrapper.d.ts +27 -0
- package/src/lib/flows/settings/traitsForm/fields/Trait.d.ts +8 -0
- package/src/lib/flows/settings/traitsForm/fields/index.d.ts +1 -0
- package/src/lib/flows/settings/traitsForm/index.d.ts +1 -0
- package/src/lib/flows/settings/traitsForm/traitsFormContext.d.ts +10 -0
- package/src/lib/flows/settings/traitsForm/types.d.ts +3 -0
- package/src/lib/flows/settings/traitsForm/useTraitsForm.d.ts +27 -0
- package/src/lib/flows/settings/types.d.ts +4 -0
- package/src/lib/flows/verification/emailVerificationForm/EmailVerificationFormWrapper.d.ts +21 -0
- package/src/lib/flows/verification/emailVerificationForm/emailVerificationFormContext.d.ts +10 -0
- package/src/lib/flows/verification/emailVerificationForm/fields/Code.d.ts +6 -0
- package/src/lib/flows/verification/emailVerificationForm/fields/Resend.d.ts +6 -0
- package/src/lib/flows/verification/emailVerificationForm/fields/index.d.ts +2 -0
- package/src/lib/flows/verification/emailVerificationForm/index.d.ts +1 -0
- package/src/lib/flows/verification/emailVerificationForm/types.d.ts +3 -0
- package/src/lib/flows/verification/emailVerificationForm/useEmailVerificationForm.d.ts +25 -0
- package/src/lib/flows/verification/hooks/index.d.ts +4 -0
- package/src/lib/flows/verification/hooks/queryKeys.d.ts +1 -0
- package/src/lib/flows/verification/hooks/useCreateVerificationFlow.d.ts +3 -0
- package/src/lib/flows/verification/hooks/useGetVerificationFlow.d.ts +2 -0
- package/src/lib/flows/verification/hooks/useUpdateVerificationFlow.d.ts +2 -0
- package/src/lib/flows/verification/hooks/useVerificationFlowContext.d.ts +13 -0
- package/src/lib/flows/verification/index.d.ts +4 -0
- package/src/lib/flows/verification/types.d.ts +3 -0
- package/src/lib/flows/verification/verificationFlow.d.ts +41 -0
- package/src/lib/hooks/index.d.ts +4 -0
- package/src/lib/hooks/useFlowManager.d.ts +10 -0
- package/src/lib/hooks/useFormErrors.d.ts +2 -0
- package/src/lib/hooks/useKratosClientContext.d.ts +12 -0
- package/src/lib/hooks/useKratosSessionContext.d.ts +13 -0
- package/src/lib/kratos/api.generated/apis/CourierApi.d.ts +86 -0
- package/src/lib/kratos/api.generated/apis/EventsApi.d.ts +133 -0
- package/src/lib/kratos/api.generated/apis/FrontendApi.d.ts +979 -0
- package/src/lib/kratos/api.generated/apis/IdentityApi.d.ts +630 -0
- package/src/lib/kratos/api.generated/apis/JwkApi.d.ts +227 -0
- package/src/lib/kratos/api.generated/apis/MetadataApi.d.ts +49 -0
- package/src/lib/kratos/api.generated/apis/OAuth2Api.d.ts +830 -0
- package/src/lib/kratos/api.generated/apis/OidcApi.d.ts +232 -0
- package/src/lib/kratos/api.generated/apis/PermissionApi.d.ts +228 -0
- package/src/lib/kratos/api.generated/apis/ProjectApi.d.ts +511 -0
- package/src/lib/kratos/api.generated/apis/RelationshipApi.d.ts +212 -0
- package/src/lib/kratos/api.generated/apis/WellknownApi.d.ts +49 -0
- package/src/lib/kratos/api.generated/apis/WorkspaceApi.d.ts +244 -0
- package/src/lib/kratos/api.generated/apis/index.d.ts +13 -0
- package/src/lib/kratos/api.generated/index.d.ts +3 -0
- package/src/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequest.d.ts +71 -0
- package/src/lib/kratos/api.generated/models/AcceptOAuth2ConsentRequestSession.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/AcceptOAuth2LoginRequest.d.ts +105 -0
- package/src/lib/kratos/api.generated/models/AccountExperienceColors.d.ts +884 -0
- package/src/lib/kratos/api.generated/models/AccountExperienceConfiguration.d.ts +145 -0
- package/src/lib/kratos/api.generated/models/AccountExperienceThemeVariables.d.ts +572 -0
- package/src/lib/kratos/api.generated/models/ActiveProjectInConsole.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/AddProjectToWorkspaceBody.d.ts +66 -0
- package/src/lib/kratos/api.generated/models/Attribute.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/AttributeFilter.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/AttributesCountDatapoint.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/AuthenticatorAssuranceLevel.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/BatchCheckPermissionBody.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/BatchCheckPermissionResult.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/BatchPatchIdentitiesResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/BillingPeriodBucket.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/CheckOplSyntaxResult.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/CheckPermissionResult.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/CheckPermissionResultWithError.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/CloudAccount.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/ConsistencyRequestParameters.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/ContinueWith.d.ts +36 -0
- package/src/lib/kratos/api.generated/models/ContinueWithRecoveryUi.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/ContinueWithRecoveryUiFlow.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/ContinueWithRedirectBrowserTo.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/ContinueWithSetOrySessionToken.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/ContinueWithSettingsUi.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/ContinueWithSettingsUiFlow.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/ContinueWithVerificationUi.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/ContinueWithVerificationUiFlow.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/CourierMessageStatus.d.ts +28 -0
- package/src/lib/kratos/api.generated/models/CourierMessageType.d.ts +26 -0
- package/src/lib/kratos/api.generated/models/CreateCustomDomainBody.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/CreateEventStreamBody.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/CreateFedcmFlowResponse.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/CreateIdentityBody.d.ts +105 -0
- package/src/lib/kratos/api.generated/models/CreateInviteResponse.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/CreateJsonWebKeySet.d.ts +53 -0
- package/src/lib/kratos/api.generated/models/CreateProjectApiKeyRequest.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/CreateProjectBody.d.ts +84 -0
- package/src/lib/kratos/api.generated/models/CreateProjectBranding.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/CreateProjectMemberInviteBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/CreateProjectNormalizedPayload.d.ts +1903 -0
- package/src/lib/kratos/api.generated/models/CreateRecoveryCodeForIdentityBody.d.ts +49 -0
- package/src/lib/kratos/api.generated/models/CreateRecoveryLinkForIdentityBody.d.ts +43 -0
- package/src/lib/kratos/api.generated/models/CreateRelationshipBody.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/CreateSubscriptionBody.d.ts +78 -0
- package/src/lib/kratos/api.generated/models/CreateSubscriptionCommon.d.ts +72 -0
- package/src/lib/kratos/api.generated/models/CreateVerifiableCredentialRequestBody.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceApiKeyBody.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceMemberInviteBody.d.ts +49 -0
- package/src/lib/kratos/api.generated/models/CreateWorkspaceSubscriptionBody.d.ts +72 -0
- package/src/lib/kratos/api.generated/models/CredentialSupportedDraft00.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/CustomDomain.d.ts +121 -0
- package/src/lib/kratos/api.generated/models/DeleteMySessionsCount.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/EmailTemplateData.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/EmailTemplateDataBody.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/ErrorBrowserLocationChangeRequired.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/ErrorFlowReplaced.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/ErrorGeneric.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/ErrorOAuth2.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/EventStream.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/ExpandedPermissionTree.d.ts +68 -0
- package/src/lib/kratos/api.generated/models/FlowError.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/GenericError.d.ts +91 -0
- package/src/lib/kratos/api.generated/models/GenericErrorContent.d.ts +73 -0
- package/src/lib/kratos/api.generated/models/GenericUsage.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/GetAttributesCountResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetManagedIdentitySchemaLocation.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/GetMetricsEventAttributesResponse.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/GetMetricsEventTypesResponse.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/GetOrganizationResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetProjectEventsBody.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/GetProjectEventsResponse.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/GetProjectMetricsResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetSessionActivityResponse.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/GetVersion200Response.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/HealthNotReadyStatus.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/HealthStatus.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/Identity.d.ts +135 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentials.d.ts +91 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsCode.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsCodeAddress.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsOidc.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsOidcProvider.d.ts +68 -0
- package/src/lib/kratos/api.generated/models/IdentityCredentialsPassword.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/IdentityPatch.d.ts +43 -0
- package/src/lib/kratos/api.generated/models/IdentityPatchResponse.d.ts +61 -0
- package/src/lib/kratos/api.generated/models/IdentitySchemaContainer.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/IdentitySchemaPreset.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentials.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidc.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfig.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsOidcConfigProvider.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsPassword.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsPasswordConfig.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSaml.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfig.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/IdentityWithCredentialsSamlConfigProvider.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/InternalGetProjectBrandingBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/InternalIsAXWelcomeScreenEnabledForProjectBody.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugBody.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/InternalIsOwnerForProjectBySlugResponse.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/IntrospectedOAuth2Token.d.ts +132 -0
- package/src/lib/kratos/api.generated/models/InviteTokenBody.d.ts +36 -0
- package/src/lib/kratos/api.generated/models/Invoice.d.ts +68 -0
- package/src/lib/kratos/api.generated/models/InvoiceDataV1.d.ts +101 -0
- package/src/lib/kratos/api.generated/models/IsOwnerForProjectBySlug.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/JsonPatch.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/JsonWebKey.d.ts +153 -0
- package/src/lib/kratos/api.generated/models/JsonWebKeySet.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/KetoNamespace.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/LineItemV1.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/ListEventStreams.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/ListInvoicesResponse.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ListOrganizationsResponse.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ListWorkspaceProjects.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ListWorkspaces.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/LoginFlow.d.ts +183 -0
- package/src/lib/kratos/api.generated/models/LoginFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/LogoutFlow.d.ts +40 -0
- package/src/lib/kratos/api.generated/models/ManagedIdentitySchema.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/ManagedIdentitySchemaValidationResult.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/MemberInvite.d.ts +114 -0
- package/src/lib/kratos/api.generated/models/Message.d.ts +131 -0
- package/src/lib/kratos/api.generated/models/MessageDispatch.d.ts +75 -0
- package/src/lib/kratos/api.generated/models/MetricsDatapoint.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/Money.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/Namespace.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/NeedsPrivilegedSessionError.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/NormalizedProject.d.ts +151 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevision.d.ts +1853 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionCourierChannel.d.ts +127 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionHook.d.ts +134 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionIdentitySchema.d.ts +96 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionSAMLProvider.d.ts +100 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionScimClient.d.ts +89 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionThirdPartyProvider.d.ts +243 -0
- package/src/lib/kratos/api.generated/models/NormalizedProjectRevisionTokenizerTemplate.d.ts +74 -0
- package/src/lib/kratos/api.generated/models/OAuth2Client.d.ts +415 -0
- package/src/lib/kratos/api.generated/models/OAuth2ClientTokenLifespans.d.ts +86 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentRequest.d.ts +122 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentRequestOpenIDConnectContext.d.ts +81 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentSession.d.ts +95 -0
- package/src/lib/kratos/api.generated/models/OAuth2ConsentSessionExpiresAt.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/OAuth2LoginRequest.d.ts +92 -0
- package/src/lib/kratos/api.generated/models/OAuth2LogoutRequest.d.ts +75 -0
- package/src/lib/kratos/api.generated/models/OAuth2RedirectTo.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/OAuth2TokenExchange.d.ts +65 -0
- package/src/lib/kratos/api.generated/models/OidcConfiguration.d.ts +292 -0
- package/src/lib/kratos/api.generated/models/OidcUserInfo.d.ts +140 -0
- package/src/lib/kratos/api.generated/models/Organization.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/OrganizationBody.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/Pagination.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/PaginationHeaders.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/ParseError.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/PatchIdentitiesBody.d.ts +35 -0
- package/src/lib/kratos/api.generated/models/PerformNativeLogoutBody.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/PermissionsOnWorkspace.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/Plan.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/PlanDetails.d.ts +77 -0
- package/src/lib/kratos/api.generated/models/PostCheckPermissionBody.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/PostCheckPermissionOrErrorBody.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/Project.d.ts +141 -0
- package/src/lib/kratos/api.generated/models/ProjectApiKey.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/ProjectBranding.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/ProjectBrandingColors.d.ts +200 -0
- package/src/lib/kratos/api.generated/models/ProjectBrandingTheme.d.ts +271 -0
- package/src/lib/kratos/api.generated/models/ProjectCors.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/ProjectEventsDatapoint.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/ProjectHost.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/ProjectMember.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/ProjectMetadata.d.ts +150 -0
- package/src/lib/kratos/api.generated/models/ProjectServiceIdentity.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/ProjectServiceOAuth2.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/ProjectServicePermission.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/ProjectServices.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/Provider.d.ts +84 -0
- package/src/lib/kratos/api.generated/models/QuotaUsage.d.ts +149 -0
- package/src/lib/kratos/api.generated/models/RFC6749ErrorJson.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/RecoveryCodeForIdentity.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/RecoveryFlow.d.ts +104 -0
- package/src/lib/kratos/api.generated/models/RecoveryFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/RecoveryIdentityAddress.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/RecoveryLinkForIdentity.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/RegistrationFlow.d.ts +154 -0
- package/src/lib/kratos/api.generated/models/RegistrationFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/RejectOAuth2Request.d.ts +61 -0
- package/src/lib/kratos/api.generated/models/RelationQuery.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/Relationship.d.ts +59 -0
- package/src/lib/kratos/api.generated/models/RelationshipNamespaces.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/RelationshipPatch.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/Relationships.d.ts +41 -0
- package/src/lib/kratos/api.generated/models/SchemaPatch.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/SelfServiceFlowExpiredError.d.ts +53 -0
- package/src/lib/kratos/api.generated/models/Session.d.ts +99 -0
- package/src/lib/kratos/api.generated/models/SessionActivityDatapoint.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/SessionAuthenticationMethod.d.ts +73 -0
- package/src/lib/kratos/api.generated/models/SessionDevice.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/SetActiveProjectInConsoleBody.d.ts +36 -0
- package/src/lib/kratos/api.generated/models/SetCustomDomainBody.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/SetEventStreamBody.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/SetProject.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/SetProjectBrandingThemeBody.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/SettingsFlow.d.ts +116 -0
- package/src/lib/kratos/api.generated/models/SettingsFlowState.d.ts +26 -0
- package/src/lib/kratos/api.generated/models/SourcePosition.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/SubjectSet.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/Subscription.d.ts +147 -0
- package/src/lib/kratos/api.generated/models/SuccessfulCodeExchangeResponse.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/SuccessfulNativeLogin.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/SuccessfulNativeRegistration.d.ts +65 -0
- package/src/lib/kratos/api.generated/models/SuccessfulProjectUpdate.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/TaxLineItem.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/TimeInterval.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/TokenPagination.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/TokenPaginationHeaders.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/TokenPaginationRequestParameters.d.ts +47 -0
- package/src/lib/kratos/api.generated/models/TokenPaginationResponseHeaders.d.ts +54 -0
- package/src/lib/kratos/api.generated/models/TrustOAuth2JwtGrantIssuer.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantIssuer.d.ts +75 -0
- package/src/lib/kratos/api.generated/models/TrustedOAuth2JwtGrantJsonWebKey.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/UiContainer.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/UiNode.d.ts +113 -0
- package/src/lib/kratos/api.generated/models/UiNodeAnchorAttributes.d.ts +73 -0
- package/src/lib/kratos/api.generated/models/UiNodeAttributes.d.ts +39 -0
- package/src/lib/kratos/api.generated/models/UiNodeDivisionAttributes.d.ts +74 -0
- package/src/lib/kratos/api.generated/models/UiNodeImageAttributes.d.ts +78 -0
- package/src/lib/kratos/api.generated/models/UiNodeInputAttributes.d.ts +229 -0
- package/src/lib/kratos/api.generated/models/UiNodeMeta.d.ts +34 -0
- package/src/lib/kratos/api.generated/models/UiNodeScriptAttributes.d.ts +104 -0
- package/src/lib/kratos/api.generated/models/UiNodeTextAttributes.d.ts +65 -0
- package/src/lib/kratos/api.generated/models/UiText.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/UpdateFedcmFlowBody.d.ts +51 -0
- package/src/lib/kratos/api.generated/models/UpdateIdentityBody.d.ts +78 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowBody.d.ts +48 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithCodeMethod.d.ts +70 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithIdentifierFirstMethod.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithLookupSecretMethod.d.ts +44 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithOidcMethod.d.ts +92 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithPasskeyMethod.d.ts +46 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithPasswordMethod.d.ts +63 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithSamlMethod.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithTotpMethod.d.ts +50 -0
- package/src/lib/kratos/api.generated/models/UpdateLoginFlowWithWebAuthnMethod.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowBody.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowWithCodeMethod.d.ts +80 -0
- package/src/lib/kratos/api.generated/models/UpdateRecoveryFlowWithLinkMethod.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowBody.d.ts +42 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithCodeMethod.d.ts +64 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithOidcMethod.d.ts +92 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasskeyMethod.d.ts +61 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithPasswordMethod.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithProfileMethod.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithSamlMethod.d.ts +58 -0
- package/src/lib/kratos/api.generated/models/UpdateRegistrationFlowWithWebAuthnMethod.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowBody.d.ts +45 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithLookupMethod.d.ts +70 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithOidcMethod.d.ts +90 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasskeyMethod.d.ts +57 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithPasswordMethod.d.ts +52 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithProfileMethod.d.ts +56 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithSamlMethod.d.ts +84 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithTotpMethod.d.ts +60 -0
- package/src/lib/kratos/api.generated/models/UpdateSettingsFlowWithWebAuthnMethod.d.ts +71 -0
- package/src/lib/kratos/api.generated/models/UpdateSubscriptionBody.d.ts +55 -0
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowBody.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowWithCodeMethod.d.ts +80 -0
- package/src/lib/kratos/api.generated/models/UpdateVerificationFlowWithLinkMethod.d.ts +69 -0
- package/src/lib/kratos/api.generated/models/UpdateWorkspaceBody.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/Usage.d.ts +33 -0
- package/src/lib/kratos/api.generated/models/VerifiableCredentialPrimingResponse.d.ts +74 -0
- package/src/lib/kratos/api.generated/models/VerifiableCredentialProof.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/VerifiableCredentialResponse.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/VerifiableIdentityAddress.d.ts +85 -0
- package/src/lib/kratos/api.generated/models/VerificationFlow.d.ts +101 -0
- package/src/lib/kratos/api.generated/models/VerificationFlowState.d.ts +27 -0
- package/src/lib/kratos/api.generated/models/Version.d.ts +32 -0
- package/src/lib/kratos/api.generated/models/Warning.d.ts +38 -0
- package/src/lib/kratos/api.generated/models/Workspace.d.ts +62 -0
- package/src/lib/kratos/api.generated/models/WorkspaceApiKey.d.ts +76 -0
- package/src/lib/kratos/api.generated/models/index.d.ts +283 -0
- package/src/lib/kratos/api.generated/runtime.d.ts +182 -0
- package/src/lib/kratos/contrib/continueWith.d.ts +51 -0
- package/src/lib/kratos/contrib/error.d.ts +87 -0
- package/src/lib/kratos/contrib/flowTypes.d.ts +9 -0
- package/src/lib/kratos/contrib/index.d.ts +6 -0
- package/src/lib/kratos/contrib/ui.d.ts +63 -0
- package/src/lib/kratos/contrib/urlHelpers.d.ts +25 -0
- package/src/lib/kratos/contrib/utils.d.ts +32 -0
- package/src/lib/kratos/index.d.ts +2 -0
- package/src/lib/sessionManager/baseSessionManager.d.ts +50 -27
- package/src/lib/sessionManager/index.d.ts +1 -0
- package/src/lib/sessionManager/types.d.ts +10 -0
- package/src/lib/types/index.d.ts +17 -0
- package/src/lib/utils/assertion.d.ts +9 -0
- package/src/lib/utils/errors.d.ts +386 -0
- package/src/lib/utils/fields.d.ts +9 -0
- package/src/lib/utils/flow.d.ts +46 -0
- package/src/lib/utils/form.d.ts +12 -0
- package/src/lib/utils/index.d.ts +9 -0
- package/src/lib/utils/passkeys/credential.d.ts +13 -0
- package/src/lib/utils/passkeys/helpers.d.ts +2 -0
- package/src/lib/utils/passkeys/index.d.ts +4 -0
- package/src/lib/utils/passkeys/types.d.ts +31 -0
- package/src/lib/utils/query.d.ts +3 -0
- package/src/lib/utils/searchQuery.d.ts +6 -0
- package/src/lib/utils/traits.d.ts +5 -0
- package/src/lib/cards/index.d.ts +0 -2
- package/src/lib/cards/userAuthCard.d.ts +0 -62
- package/src/lib/cards/userSettingsCard.d.ts +0 -36
- package/src/lib/createKratosClient.d.ts +0 -19
- package/src/lib/defaultComponents/DefaultButtonComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultCheckboxComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultImageComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultInputComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultLinkComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultMessageComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultMessageFormatComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultTextComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents/DefaultUiMessagesComponent/index.d.ts +0 -2
- package/src/lib/defaultComponents.d.ts +0 -2
- package/src/lib/flows/useLoginFlow.d.ts +0 -50
- package/src/lib/flows/useLogoutFlow.d.ts +0 -33
- package/src/lib/flows/useReauthenticationFlow.d.ts +0 -31
- package/src/lib/flows/useRecoveryFlow.d.ts +0 -47
- package/src/lib/flows/useRegistrationFlow.d.ts +0 -47
- package/src/lib/flows/useSettingsFlow.d.ts +0 -47
- package/src/lib/flows/useVerificationFlow.d.ts +0 -47
- package/src/lib/helpers/errorMessages.d.ts +0 -7
- package/src/lib/helpers/filterFlowNodes.d.ts +0 -7
- package/src/lib/helpers/formattedMessage.d.ts +0 -4
- package/src/lib/helpers/getNodeLabel.d.ts +0 -2
- package/src/lib/helpers/node.d.ts +0 -7
- package/src/lib/helpers/useScriptNodes.d.ts +0 -5
- package/src/lib/helpers/userAuthForm.d.ts +0 -31
- package/src/lib/kratosContext.d.ts +0 -29
- package/src/lib/kratosContextProvider.d.ts +0 -34
- package/src/lib/sections/authCodeSection.d.ts +0 -14
- package/src/lib/sections/identifierFirstLoginSection.d.ts +0 -8
- package/src/lib/sections/linkSection.d.ts +0 -14
- package/src/lib/sections/loginSection.d.ts +0 -8
- package/src/lib/sections/lookupSecretSettingsSection.d.ts +0 -8
- package/src/lib/sections/oidcSection.d.ts +0 -8
- package/src/lib/sections/oidcSettingsSection.d.ts +0 -8
- package/src/lib/sections/passkeySettingsSection.d.ts +0 -8
- package/src/lib/sections/passwordSettingsSection.d.ts +0 -8
- package/src/lib/sections/passwordlessSection.d.ts +0 -8
- package/src/lib/sections/profileLoginSection.d.ts +0 -8
- package/src/lib/sections/profileRegistrationSection.d.ts +0 -8
- package/src/lib/sections/profileSettingsSection.d.ts +0 -8
- package/src/lib/sections/registrationSection.d.ts +0 -8
- package/src/lib/sections/totpSettingsSection.d.ts +0 -8
- package/src/lib/types/components.d.ts +0 -78
- package/src/lib/types/enums/errorId.d.ts +0 -16
- package/src/lib/types/enums/errorValidation.d.ts +0 -30
- package/src/lib/types/enums/errorValidationLogin.d.ts +0 -9
- package/src/lib/types/enums/errorValidationRecovery.d.ts +0 -9
- package/src/lib/types/enums/errorValidationRegistration.d.ts +0 -4
- package/src/lib/types/enums/errorValidationSettings.d.ts +0 -4
- package/src/lib/types/enums/errorValidationVerification.d.ts +0 -9
- package/src/lib/types/enums/index.d.ts +0 -14
- package/src/lib/types/enums/infoNodeLabel.d.ts +0 -14
- package/src/lib/types/enums/infoSelfServiceLogin.d.ts +0 -16
- package/src/lib/types/enums/infoSelfServiceRecovery.d.ts +0 -6
- package/src/lib/types/enums/infoSelfServiceRegistration.d.ts +0 -7
- package/src/lib/types/enums/infoSelfServiceSettings.d.ts +0 -21
- package/src/lib/types/enums/infoSelfServiceVerification.d.ts +0 -6
- package/src/lib/types/enums/misc.d.ts +0 -10
- package/src/lib/types/responseError.d.ts +0 -2
- package/src/lib/types/useHandleFlowError.d.ts +0 -13
- package/src/lib/utils/filterNodesByGroups.d.ts +0 -22
- package/src/lib/utils/getNodeInputType.d.ts +0 -1
- package/src/lib/utils/handleCancelError.d.ts +0 -2
- package/src/lib/utils/helpers.d.ts +0 -11
- package/src/lib/utils/typeGuards.d.ts +0 -24
- package/src/lib/utils/variables.d.ts +0 -4
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
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
|
+
* @interface OAuth2ConsentRequestOpenIDConnectContext
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuth2ConsentRequestOpenIDConnectContext {
|
|
18
|
+
/**
|
|
19
|
+
* ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request.
|
|
20
|
+
* It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.
|
|
21
|
+
*
|
|
22
|
+
* OpenID Connect defines it as follows:
|
|
23
|
+
* > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values
|
|
24
|
+
* that the Authorization Server is being requested to use for processing this Authentication Request, with the
|
|
25
|
+
* values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication
|
|
26
|
+
* performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a
|
|
27
|
+
* Voluntary Claim by this parameter.
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof OAuth2ConsentRequestOpenIDConnectContext
|
|
30
|
+
*/
|
|
31
|
+
acr_values?: Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
|
|
34
|
+
* The defined values are:
|
|
35
|
+
* page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode.
|
|
36
|
+
* popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.
|
|
37
|
+
* touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
|
|
38
|
+
* wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
|
|
39
|
+
*
|
|
40
|
+
* The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof OAuth2ConsentRequestOpenIDConnectContext
|
|
43
|
+
*/
|
|
44
|
+
display?: string;
|
|
45
|
+
/**
|
|
46
|
+
* IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the
|
|
47
|
+
* End-User's current or past authenticated session with the Client.
|
|
48
|
+
* @type {{ [key: string]: any; }}
|
|
49
|
+
* @memberof OAuth2ConsentRequestOpenIDConnectContext
|
|
50
|
+
*/
|
|
51
|
+
id_token_hint_claims?: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* LoginHint hints about the login identifier the End-User might use to log in (if necessary).
|
|
56
|
+
* This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier)
|
|
57
|
+
* and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a
|
|
58
|
+
* phone number in the format specified for the phone_number Claim. The use of this parameter is optional.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof OAuth2ConsentRequestOpenIDConnectContext
|
|
61
|
+
*/
|
|
62
|
+
login_hint?: string;
|
|
63
|
+
/**
|
|
64
|
+
* UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a
|
|
65
|
+
* space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value
|
|
66
|
+
* "fr-CA fr en" represents a preference for French as spoken in Canada, then French (without a region designation),
|
|
67
|
+
* followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested
|
|
68
|
+
* locales are not supported by the OpenID Provider.
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof OAuth2ConsentRequestOpenIDConnectContext
|
|
71
|
+
*/
|
|
72
|
+
ui_locales?: Array<string>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the OAuth2ConsentRequestOpenIDConnectContext interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfOAuth2ConsentRequestOpenIDConnectContext(value: object): value is OAuth2ConsentRequestOpenIDConnectContext;
|
|
78
|
+
export declare function OAuth2ConsentRequestOpenIDConnectContextFromJSON(json: any): OAuth2ConsentRequestOpenIDConnectContext;
|
|
79
|
+
export declare function OAuth2ConsentRequestOpenIDConnectContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ConsentRequestOpenIDConnectContext;
|
|
80
|
+
export declare function OAuth2ConsentRequestOpenIDConnectContextToJSON(json: any): OAuth2ConsentRequestOpenIDConnectContext;
|
|
81
|
+
export declare function OAuth2ConsentRequestOpenIDConnectContextToJSONTyped(value?: OAuth2ConsentRequestOpenIDConnectContext | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OAuth2ConsentRequest } from './OAuth2ConsentRequest';
|
|
13
|
+
import type { AcceptOAuth2ConsentRequestSession } from './AcceptOAuth2ConsentRequestSession';
|
|
14
|
+
import type { OAuth2ConsentSessionExpiresAt } from './OAuth2ConsentSessionExpiresAt';
|
|
15
|
+
/**
|
|
16
|
+
* A completed OAuth 2.0 Consent Session.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface OAuth2ConsentSession
|
|
19
|
+
*/
|
|
20
|
+
export interface OAuth2ConsentSession {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {OAuth2ConsentRequest}
|
|
24
|
+
* @memberof OAuth2ConsentSession
|
|
25
|
+
*/
|
|
26
|
+
consent_request?: OAuth2ConsentRequest;
|
|
27
|
+
/**
|
|
28
|
+
* ConsentRequestID is the identifier of the consent request that initiated this consent session.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof OAuth2ConsentSession
|
|
31
|
+
*/
|
|
32
|
+
consent_request_id?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {object}
|
|
36
|
+
* @memberof OAuth2ConsentSession
|
|
37
|
+
*/
|
|
38
|
+
context?: object;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {OAuth2ConsentSessionExpiresAt}
|
|
42
|
+
* @memberof OAuth2ConsentSession
|
|
43
|
+
*/
|
|
44
|
+
expires_at?: OAuth2ConsentSessionExpiresAt;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<string>}
|
|
48
|
+
* @memberof OAuth2ConsentSession
|
|
49
|
+
*/
|
|
50
|
+
grant_access_token_audience?: Array<string>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<string>}
|
|
54
|
+
* @memberof OAuth2ConsentSession
|
|
55
|
+
*/
|
|
56
|
+
grant_scope?: Array<string>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof OAuth2ConsentSession
|
|
61
|
+
*/
|
|
62
|
+
handled_at?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* Remember Consent
|
|
65
|
+
*
|
|
66
|
+
* Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same
|
|
67
|
+
* client asks the same user for the same, or a subset of, scope.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof OAuth2ConsentSession
|
|
70
|
+
*/
|
|
71
|
+
remember?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Remember Consent For
|
|
74
|
+
*
|
|
75
|
+
* RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the
|
|
76
|
+
* authorization will be remembered indefinitely.
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof OAuth2ConsentSession
|
|
79
|
+
*/
|
|
80
|
+
remember_for?: number;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {AcceptOAuth2ConsentRequestSession}
|
|
84
|
+
* @memberof OAuth2ConsentSession
|
|
85
|
+
*/
|
|
86
|
+
session?: AcceptOAuth2ConsentRequestSession;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the OAuth2ConsentSession interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfOAuth2ConsentSession(value: object): value is OAuth2ConsentSession;
|
|
92
|
+
export declare function OAuth2ConsentSessionFromJSON(json: any): OAuth2ConsentSession;
|
|
93
|
+
export declare function OAuth2ConsentSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ConsentSession;
|
|
94
|
+
export declare function OAuth2ConsentSessionToJSON(json: any): OAuth2ConsentSession;
|
|
95
|
+
export declare function OAuth2ConsentSessionToJSONTyped(value?: OAuth2ConsentSession | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
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
|
+
* @interface OAuth2ConsentSessionExpiresAt
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuth2ConsentSessionExpiresAt {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof OAuth2ConsentSessionExpiresAt
|
|
22
|
+
*/
|
|
23
|
+
access_token?: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof OAuth2ConsentSessionExpiresAt
|
|
28
|
+
*/
|
|
29
|
+
authorize_code?: Date;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof OAuth2ConsentSessionExpiresAt
|
|
34
|
+
*/
|
|
35
|
+
id_token?: Date;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof OAuth2ConsentSessionExpiresAt
|
|
40
|
+
*/
|
|
41
|
+
par_context?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof OAuth2ConsentSessionExpiresAt
|
|
46
|
+
*/
|
|
47
|
+
refresh_token?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OAuth2ConsentSessionExpiresAt interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfOAuth2ConsentSessionExpiresAt(value: object): value is OAuth2ConsentSessionExpiresAt;
|
|
53
|
+
export declare function OAuth2ConsentSessionExpiresAtFromJSON(json: any): OAuth2ConsentSessionExpiresAt;
|
|
54
|
+
export declare function OAuth2ConsentSessionExpiresAtFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ConsentSessionExpiresAt;
|
|
55
|
+
export declare function OAuth2ConsentSessionExpiresAtToJSON(json: any): OAuth2ConsentSessionExpiresAt;
|
|
56
|
+
export declare function OAuth2ConsentSessionExpiresAtToJSONTyped(value?: OAuth2ConsentSessionExpiresAt | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OAuth2ConsentRequestOpenIDConnectContext } from './OAuth2ConsentRequestOpenIDConnectContext';
|
|
13
|
+
import type { OAuth2Client } from './OAuth2Client';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface OAuth2LoginRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface OAuth2LoginRequest {
|
|
20
|
+
/**
|
|
21
|
+
* ID is the identifier of the login request.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof OAuth2LoginRequest
|
|
24
|
+
*/
|
|
25
|
+
challenge: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {OAuth2Client}
|
|
29
|
+
* @memberof OAuth2LoginRequest
|
|
30
|
+
*/
|
|
31
|
+
client: OAuth2Client;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {OAuth2ConsentRequestOpenIDConnectContext}
|
|
35
|
+
* @memberof OAuth2LoginRequest
|
|
36
|
+
*/
|
|
37
|
+
oidc_context?: OAuth2ConsentRequestOpenIDConnectContext;
|
|
38
|
+
/**
|
|
39
|
+
* RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which
|
|
40
|
+
* initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but
|
|
41
|
+
* might come in handy if you want to deal with additional request parameters.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof OAuth2LoginRequest
|
|
44
|
+
*/
|
|
45
|
+
request_url: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof OAuth2LoginRequest
|
|
50
|
+
*/
|
|
51
|
+
requested_access_token_audience?: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof OAuth2LoginRequest
|
|
56
|
+
*/
|
|
57
|
+
requested_scope?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
* SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag)
|
|
60
|
+
* this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false)
|
|
61
|
+
* this will be a new random value. This value is used as the "sid" parameter in the ID Token and in OIDC Front-/Back-
|
|
62
|
+
* channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof OAuth2LoginRequest
|
|
65
|
+
*/
|
|
66
|
+
session_id?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Skip, if true, implies that the client has requested the same scopes from the same user previously.
|
|
69
|
+
* If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL.
|
|
70
|
+
*
|
|
71
|
+
* This feature allows you to update / set session information.
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof OAuth2LoginRequest
|
|
74
|
+
*/
|
|
75
|
+
skip: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope
|
|
78
|
+
* requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type
|
|
79
|
+
* when accepting the login request, or the request will fail.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof OAuth2LoginRequest
|
|
82
|
+
*/
|
|
83
|
+
subject: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the OAuth2LoginRequest interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfOAuth2LoginRequest(value: object): value is OAuth2LoginRequest;
|
|
89
|
+
export declare function OAuth2LoginRequestFromJSON(json: any): OAuth2LoginRequest;
|
|
90
|
+
export declare function OAuth2LoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2LoginRequest;
|
|
91
|
+
export declare function OAuth2LoginRequestToJSON(json: any): OAuth2LoginRequest;
|
|
92
|
+
export declare function OAuth2LoginRequestToJSONTyped(value?: OAuth2LoginRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OAuth2Client } from './OAuth2Client';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OAuth2LogoutRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface OAuth2LogoutRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Challenge is the identifier of the logout authentication request.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OAuth2LogoutRequest
|
|
23
|
+
*/
|
|
24
|
+
challenge?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OAuth2Client}
|
|
28
|
+
* @memberof OAuth2LogoutRequest
|
|
29
|
+
*/
|
|
30
|
+
client?: OAuth2Client;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof OAuth2LogoutRequest
|
|
35
|
+
*/
|
|
36
|
+
expires_at?: Date;
|
|
37
|
+
/**
|
|
38
|
+
* RequestURL is the original Logout URL requested.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof OAuth2LogoutRequest
|
|
41
|
+
*/
|
|
42
|
+
request_url?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof OAuth2LogoutRequest
|
|
47
|
+
*/
|
|
48
|
+
requested_at?: Date;
|
|
49
|
+
/**
|
|
50
|
+
* RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof OAuth2LogoutRequest
|
|
53
|
+
*/
|
|
54
|
+
rp_initiated?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* SessionID is the login session ID that was requested to log out.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof OAuth2LogoutRequest
|
|
59
|
+
*/
|
|
60
|
+
sid?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Subject is the user for whom the logout was request.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof OAuth2LogoutRequest
|
|
65
|
+
*/
|
|
66
|
+
subject?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the OAuth2LogoutRequest interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfOAuth2LogoutRequest(value: object): value is OAuth2LogoutRequest;
|
|
72
|
+
export declare function OAuth2LogoutRequestFromJSON(json: any): OAuth2LogoutRequest;
|
|
73
|
+
export declare function OAuth2LogoutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2LogoutRequest;
|
|
74
|
+
export declare function OAuth2LogoutRequestToJSON(json: any): OAuth2LogoutRequest;
|
|
75
|
+
export declare function OAuth2LogoutRequestToJSONTyped(value?: OAuth2LogoutRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
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
|
+
* Contains a redirect URL used to complete a login, consent, or logout request.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OAuth2RedirectTo
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuth2RedirectTo {
|
|
18
|
+
/**
|
|
19
|
+
* RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuth2RedirectTo
|
|
22
|
+
*/
|
|
23
|
+
redirect_to: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OAuth2RedirectTo interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOAuth2RedirectTo(value: object): value is OAuth2RedirectTo;
|
|
29
|
+
export declare function OAuth2RedirectToFromJSON(json: any): OAuth2RedirectTo;
|
|
30
|
+
export declare function OAuth2RedirectToFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2RedirectTo;
|
|
31
|
+
export declare function OAuth2RedirectToToJSON(json: any): OAuth2RedirectTo;
|
|
32
|
+
export declare function OAuth2RedirectToToJSONTyped(value?: OAuth2RedirectTo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ory APIs
|
|
3
|
+
* # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1.20.10
|
|
6
|
+
* Contact: support@ory.sh
|
|
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
|
+
* OAuth2 Token Exchange Result
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OAuth2TokenExchange
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuth2TokenExchange {
|
|
18
|
+
/**
|
|
19
|
+
* The access token issued by the authorization server.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuth2TokenExchange
|
|
22
|
+
*/
|
|
23
|
+
access_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The lifetime in seconds of the access token. For
|
|
26
|
+
* example, the value "3600" denotes that the access token will
|
|
27
|
+
* expire in one hour from the time the response was generated.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof OAuth2TokenExchange
|
|
30
|
+
*/
|
|
31
|
+
expires_in?: number;
|
|
32
|
+
/**
|
|
33
|
+
* To retrieve a refresh token request the id_token scope.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof OAuth2TokenExchange
|
|
36
|
+
*/
|
|
37
|
+
id_token?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The refresh token, which can be used to obtain new
|
|
40
|
+
* access tokens. To retrieve it add the scope "offline" to your access token request.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof OAuth2TokenExchange
|
|
43
|
+
*/
|
|
44
|
+
refresh_token?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The scope of the access token
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof OAuth2TokenExchange
|
|
49
|
+
*/
|
|
50
|
+
scope?: string;
|
|
51
|
+
/**
|
|
52
|
+
* The type of the token issued
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof OAuth2TokenExchange
|
|
55
|
+
*/
|
|
56
|
+
token_type?: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the OAuth2TokenExchange interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfOAuth2TokenExchange(value: object): value is OAuth2TokenExchange;
|
|
62
|
+
export declare function OAuth2TokenExchangeFromJSON(json: any): OAuth2TokenExchange;
|
|
63
|
+
export declare function OAuth2TokenExchangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2TokenExchange;
|
|
64
|
+
export declare function OAuth2TokenExchangeToJSON(json: any): OAuth2TokenExchange;
|
|
65
|
+
export declare function OAuth2TokenExchangeToJSONTyped(value?: OAuth2TokenExchange | null, ignoreDiscriminator?: boolean): any;
|