@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,415 @@
|
|
|
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
|
+
* OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are
|
|
14
|
+
* generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OAuth2Client
|
|
17
|
+
*/
|
|
18
|
+
export interface OAuth2Client {
|
|
19
|
+
/**
|
|
20
|
+
* OAuth 2.0 Access Token Strategy
|
|
21
|
+
*
|
|
22
|
+
* AccessTokenStrategy is the strategy used to generate access tokens.
|
|
23
|
+
* Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/oauth2-oidc/jwt-access-token
|
|
24
|
+
* Setting the stragegy here overrides the global setting in `strategies.access_token`.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof OAuth2Client
|
|
27
|
+
*/
|
|
28
|
+
access_token_strategy?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof OAuth2Client
|
|
33
|
+
*/
|
|
34
|
+
allowed_cors_origins?: Array<string>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof OAuth2Client
|
|
39
|
+
*/
|
|
40
|
+
audience?: Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OAuth2Client
|
|
45
|
+
*/
|
|
46
|
+
authorization_code_grant_access_token_lifespan?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof OAuth2Client
|
|
51
|
+
*/
|
|
52
|
+
authorization_code_grant_id_token_lifespan?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof OAuth2Client
|
|
57
|
+
*/
|
|
58
|
+
authorization_code_grant_refresh_token_lifespan?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* OpenID Connect Back-Channel Logout Session Required
|
|
61
|
+
*
|
|
62
|
+
* Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout
|
|
63
|
+
* Token to identify the RP session with the OP when the backchannel_logout_uri is used.
|
|
64
|
+
* If omitted, the default value is false.
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof OAuth2Client
|
|
67
|
+
*/
|
|
68
|
+
backchannel_logout_session_required?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* OpenID Connect Back-Channel Logout URI
|
|
71
|
+
*
|
|
72
|
+
* RP URL that will cause the RP to log itself out when sent a Logout Token by the OP.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof OAuth2Client
|
|
75
|
+
*/
|
|
76
|
+
backchannel_logout_uri?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof OAuth2Client
|
|
81
|
+
*/
|
|
82
|
+
client_credentials_grant_access_token_lifespan?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* OAuth 2.0 Client ID
|
|
85
|
+
*
|
|
86
|
+
* The ID is immutable. If no ID is provided, a UUID4 will be generated.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof OAuth2Client
|
|
89
|
+
*/
|
|
90
|
+
client_id?: string;
|
|
91
|
+
/**
|
|
92
|
+
* OAuth 2.0 Client Name
|
|
93
|
+
*
|
|
94
|
+
* The human-readable name of the client to be presented to the
|
|
95
|
+
* end-user during authorization.
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof OAuth2Client
|
|
98
|
+
*/
|
|
99
|
+
client_name?: string;
|
|
100
|
+
/**
|
|
101
|
+
* OAuth 2.0 Client Secret
|
|
102
|
+
*
|
|
103
|
+
* The secret will be included in the create request as cleartext, and then
|
|
104
|
+
* never again. The secret is kept in hashed format and is not recoverable once lost.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof OAuth2Client
|
|
107
|
+
*/
|
|
108
|
+
client_secret?: string;
|
|
109
|
+
/**
|
|
110
|
+
* OAuth 2.0 Client Secret Expires At
|
|
111
|
+
*
|
|
112
|
+
* The field is currently not supported and its value is always 0.
|
|
113
|
+
* @type {number}
|
|
114
|
+
* @memberof OAuth2Client
|
|
115
|
+
*/
|
|
116
|
+
client_secret_expires_at?: number;
|
|
117
|
+
/**
|
|
118
|
+
* OAuth 2.0 Client URI
|
|
119
|
+
*
|
|
120
|
+
* ClientURI is a URL string of a web page providing information about the client.
|
|
121
|
+
* If present, the server SHOULD display this URL to the end-user in
|
|
122
|
+
* a clickable fashion.
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof OAuth2Client
|
|
125
|
+
*/
|
|
126
|
+
client_uri?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {Array<string>}
|
|
130
|
+
* @memberof OAuth2Client
|
|
131
|
+
*/
|
|
132
|
+
contacts?: Array<string>;
|
|
133
|
+
/**
|
|
134
|
+
* OAuth 2.0 Client Creation Date
|
|
135
|
+
*
|
|
136
|
+
* CreatedAt returns the timestamp of the client's creation.
|
|
137
|
+
* @type {Date}
|
|
138
|
+
* @memberof OAuth2Client
|
|
139
|
+
*/
|
|
140
|
+
created_at?: Date;
|
|
141
|
+
/**
|
|
142
|
+
* OpenID Connect Front-Channel Logout Session Required
|
|
143
|
+
*
|
|
144
|
+
* Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be
|
|
145
|
+
* included to identify the RP session with the OP when the frontchannel_logout_uri is used.
|
|
146
|
+
* If omitted, the default value is false.
|
|
147
|
+
* @type {boolean}
|
|
148
|
+
* @memberof OAuth2Client
|
|
149
|
+
*/
|
|
150
|
+
frontchannel_logout_session_required?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* OpenID Connect Front-Channel Logout URI
|
|
153
|
+
*
|
|
154
|
+
* RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query
|
|
155
|
+
* parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the
|
|
156
|
+
* request and to determine which of the potentially multiple sessions is to be logged out; if either is
|
|
157
|
+
* included, both MUST be.
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof OAuth2Client
|
|
160
|
+
*/
|
|
161
|
+
frontchannel_logout_uri?: string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {Array<string>}
|
|
165
|
+
* @memberof OAuth2Client
|
|
166
|
+
*/
|
|
167
|
+
grant_types?: Array<string>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof OAuth2Client
|
|
172
|
+
*/
|
|
173
|
+
implicit_grant_access_token_lifespan?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof OAuth2Client
|
|
178
|
+
*/
|
|
179
|
+
implicit_grant_id_token_lifespan?: string | null;
|
|
180
|
+
/**
|
|
181
|
+
* OAuth 2.0 Client JSON Web Key Set
|
|
182
|
+
*
|
|
183
|
+
* Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as
|
|
184
|
+
* the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter
|
|
185
|
+
* is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for
|
|
186
|
+
* instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client
|
|
187
|
+
* can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation
|
|
188
|
+
* (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks
|
|
189
|
+
* parameters MUST NOT be used together.
|
|
190
|
+
* @type {any}
|
|
191
|
+
* @memberof OAuth2Client
|
|
192
|
+
*/
|
|
193
|
+
jwks?: any | null;
|
|
194
|
+
/**
|
|
195
|
+
* OAuth 2.0 Client JSON Web Key Set URL
|
|
196
|
+
*
|
|
197
|
+
* URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains
|
|
198
|
+
* the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the
|
|
199
|
+
* Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing
|
|
200
|
+
* and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced
|
|
201
|
+
* JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both
|
|
202
|
+
* signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used
|
|
203
|
+
* to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST
|
|
204
|
+
* match those in the certificate.
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof OAuth2Client
|
|
207
|
+
*/
|
|
208
|
+
jwks_uri?: string;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @type {string}
|
|
212
|
+
* @memberof OAuth2Client
|
|
213
|
+
*/
|
|
214
|
+
jwt_bearer_grant_access_token_lifespan?: string | null;
|
|
215
|
+
/**
|
|
216
|
+
* OAuth 2.0 Client Logo URI
|
|
217
|
+
*
|
|
218
|
+
* A URL string referencing the client's logo.
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof OAuth2Client
|
|
221
|
+
*/
|
|
222
|
+
logo_uri?: string;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {object}
|
|
226
|
+
* @memberof OAuth2Client
|
|
227
|
+
*/
|
|
228
|
+
metadata?: object;
|
|
229
|
+
/**
|
|
230
|
+
* OAuth 2.0 Client Owner
|
|
231
|
+
*
|
|
232
|
+
* Owner is a string identifying the owner of the OAuth 2.0 Client.
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof OAuth2Client
|
|
235
|
+
*/
|
|
236
|
+
owner?: string;
|
|
237
|
+
/**
|
|
238
|
+
* OAuth 2.0 Client Policy URI
|
|
239
|
+
*
|
|
240
|
+
* PolicyURI is a URL string that points to a human-readable privacy policy document
|
|
241
|
+
* that describes how the deployment organization collects, uses,
|
|
242
|
+
* retains, and discloses personal data.
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof OAuth2Client
|
|
245
|
+
*/
|
|
246
|
+
policy_uri?: string;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {Array<string>}
|
|
250
|
+
* @memberof OAuth2Client
|
|
251
|
+
*/
|
|
252
|
+
post_logout_redirect_uris?: Array<string>;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {Array<string>}
|
|
256
|
+
* @memberof OAuth2Client
|
|
257
|
+
*/
|
|
258
|
+
redirect_uris?: Array<string>;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof OAuth2Client
|
|
263
|
+
*/
|
|
264
|
+
refresh_token_grant_access_token_lifespan?: string | null;
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof OAuth2Client
|
|
269
|
+
*/
|
|
270
|
+
refresh_token_grant_id_token_lifespan?: string | null;
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof OAuth2Client
|
|
275
|
+
*/
|
|
276
|
+
refresh_token_grant_refresh_token_lifespan?: string | null;
|
|
277
|
+
/**
|
|
278
|
+
* OpenID Connect Dynamic Client Registration Access Token
|
|
279
|
+
*
|
|
280
|
+
* RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client
|
|
281
|
+
* using Dynamic Client Registration.
|
|
282
|
+
* @type {string}
|
|
283
|
+
* @memberof OAuth2Client
|
|
284
|
+
*/
|
|
285
|
+
registration_access_token?: string;
|
|
286
|
+
/**
|
|
287
|
+
* OpenID Connect Dynamic Client Registration URL
|
|
288
|
+
*
|
|
289
|
+
* RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client.
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof OAuth2Client
|
|
292
|
+
*/
|
|
293
|
+
registration_client_uri?: string;
|
|
294
|
+
/**
|
|
295
|
+
* OpenID Connect Request Object Signing Algorithm
|
|
296
|
+
*
|
|
297
|
+
* JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects
|
|
298
|
+
* from this Client MUST be rejected, if not signed with this algorithm.
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof OAuth2Client
|
|
301
|
+
*/
|
|
302
|
+
request_object_signing_alg?: string;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {Array<string>}
|
|
306
|
+
* @memberof OAuth2Client
|
|
307
|
+
*/
|
|
308
|
+
request_uris?: Array<string>;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @type {Array<string>}
|
|
312
|
+
* @memberof OAuth2Client
|
|
313
|
+
*/
|
|
314
|
+
response_types?: Array<string>;
|
|
315
|
+
/**
|
|
316
|
+
* OAuth 2.0 Client Scope
|
|
317
|
+
*
|
|
318
|
+
* Scope is a string containing a space-separated list of scope values (as
|
|
319
|
+
* described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client
|
|
320
|
+
* can use when requesting access tokens.
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof OAuth2Client
|
|
323
|
+
*/
|
|
324
|
+
scope?: string;
|
|
325
|
+
/**
|
|
326
|
+
* OpenID Connect Sector Identifier URI
|
|
327
|
+
*
|
|
328
|
+
* URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a
|
|
329
|
+
* file with a single JSON array of redirect_uri values.
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof OAuth2Client
|
|
332
|
+
*/
|
|
333
|
+
sector_identifier_uri?: string;
|
|
334
|
+
/**
|
|
335
|
+
* SkipConsent skips the consent screen for this client. This field can only
|
|
336
|
+
* be set from the admin API.
|
|
337
|
+
* @type {boolean}
|
|
338
|
+
* @memberof OAuth2Client
|
|
339
|
+
*/
|
|
340
|
+
skip_consent?: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* SkipLogoutConsent skips the logout consent screen for this client. This field can only
|
|
343
|
+
* be set from the admin API.
|
|
344
|
+
* @type {boolean}
|
|
345
|
+
* @memberof OAuth2Client
|
|
346
|
+
*/
|
|
347
|
+
skip_logout_consent?: boolean;
|
|
348
|
+
/**
|
|
349
|
+
* OpenID Connect Subject Type
|
|
350
|
+
*
|
|
351
|
+
* The `subject_types_supported` Discovery parameter contains a
|
|
352
|
+
* list of the supported subject_type values for this server. Valid types include `pairwise` and `public`.
|
|
353
|
+
* @type {string}
|
|
354
|
+
* @memberof OAuth2Client
|
|
355
|
+
*/
|
|
356
|
+
subject_type?: string;
|
|
357
|
+
/**
|
|
358
|
+
* OAuth 2.0 Token Endpoint Authentication Method
|
|
359
|
+
*
|
|
360
|
+
* Requested Client Authentication method for the Token Endpoint. The options are:
|
|
361
|
+
*
|
|
362
|
+
* `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header.
|
|
363
|
+
* `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body.
|
|
364
|
+
* `private_key_jwt`: Use JSON Web Tokens to authenticate the client.
|
|
365
|
+
* `none`: Used for public clients (native apps, mobile apps) which can not have secrets.
|
|
366
|
+
* @type {string}
|
|
367
|
+
* @memberof OAuth2Client
|
|
368
|
+
*/
|
|
369
|
+
token_endpoint_auth_method?: string;
|
|
370
|
+
/**
|
|
371
|
+
* OAuth 2.0 Token Endpoint Signing Algorithm
|
|
372
|
+
*
|
|
373
|
+
* Requested Client Authentication signing algorithm for the Token Endpoint.
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof OAuth2Client
|
|
376
|
+
*/
|
|
377
|
+
token_endpoint_auth_signing_alg?: string;
|
|
378
|
+
/**
|
|
379
|
+
* OAuth 2.0 Client Terms of Service URI
|
|
380
|
+
*
|
|
381
|
+
* A URL string pointing to a human-readable terms of service
|
|
382
|
+
* document for the client that describes a contractual relationship
|
|
383
|
+
* between the end-user and the client that the end-user accepts when
|
|
384
|
+
* authorizing the client.
|
|
385
|
+
* @type {string}
|
|
386
|
+
* @memberof OAuth2Client
|
|
387
|
+
*/
|
|
388
|
+
tos_uri?: string;
|
|
389
|
+
/**
|
|
390
|
+
* OAuth 2.0 Client Last Update Date
|
|
391
|
+
*
|
|
392
|
+
* UpdatedAt returns the timestamp of the last update.
|
|
393
|
+
* @type {Date}
|
|
394
|
+
* @memberof OAuth2Client
|
|
395
|
+
*/
|
|
396
|
+
updated_at?: Date;
|
|
397
|
+
/**
|
|
398
|
+
* OpenID Connect Request Userinfo Signed Response Algorithm
|
|
399
|
+
*
|
|
400
|
+
* JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT
|
|
401
|
+
* [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims
|
|
402
|
+
* as a UTF-8 encoded JSON object using the application/json content-type.
|
|
403
|
+
* @type {string}
|
|
404
|
+
* @memberof OAuth2Client
|
|
405
|
+
*/
|
|
406
|
+
userinfo_signed_response_alg?: string;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Check if a given object implements the OAuth2Client interface.
|
|
410
|
+
*/
|
|
411
|
+
export declare function instanceOfOAuth2Client(value: object): value is OAuth2Client;
|
|
412
|
+
export declare function OAuth2ClientFromJSON(json: any): OAuth2Client;
|
|
413
|
+
export declare function OAuth2ClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2Client;
|
|
414
|
+
export declare function OAuth2ClientToJSON(json: any): OAuth2Client;
|
|
415
|
+
export declare function OAuth2ClientToJSONTyped(value?: OAuth2Client | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
* Lifespans of different token types issued for this OAuth 2.0 Client.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OAuth2ClientTokenLifespans
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuth2ClientTokenLifespans {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
22
|
+
*/
|
|
23
|
+
authorization_code_grant_access_token_lifespan?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
28
|
+
*/
|
|
29
|
+
authorization_code_grant_id_token_lifespan?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
34
|
+
*/
|
|
35
|
+
authorization_code_grant_refresh_token_lifespan?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
40
|
+
*/
|
|
41
|
+
client_credentials_grant_access_token_lifespan?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
46
|
+
*/
|
|
47
|
+
implicit_grant_access_token_lifespan?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
52
|
+
*/
|
|
53
|
+
implicit_grant_id_token_lifespan?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
58
|
+
*/
|
|
59
|
+
jwt_bearer_grant_access_token_lifespan?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
64
|
+
*/
|
|
65
|
+
refresh_token_grant_access_token_lifespan?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
70
|
+
*/
|
|
71
|
+
refresh_token_grant_id_token_lifespan?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof OAuth2ClientTokenLifespans
|
|
76
|
+
*/
|
|
77
|
+
refresh_token_grant_refresh_token_lifespan?: string | null;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the OAuth2ClientTokenLifespans interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfOAuth2ClientTokenLifespans(value: object): value is OAuth2ClientTokenLifespans;
|
|
83
|
+
export declare function OAuth2ClientTokenLifespansFromJSON(json: any): OAuth2ClientTokenLifespans;
|
|
84
|
+
export declare function OAuth2ClientTokenLifespansFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ClientTokenLifespans;
|
|
85
|
+
export declare function OAuth2ClientTokenLifespansToJSON(json: any): OAuth2ClientTokenLifespans;
|
|
86
|
+
export declare function OAuth2ClientTokenLifespansToJSONTyped(value?: OAuth2ClientTokenLifespans | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,122 @@
|
|
|
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 OAuth2ConsentRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface OAuth2ConsentRequest {
|
|
20
|
+
/**
|
|
21
|
+
* ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it
|
|
22
|
+
* to express that, for example, a user authenticated using two factor authentication.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof OAuth2ConsentRequest
|
|
25
|
+
*/
|
|
26
|
+
acr?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<string>}
|
|
30
|
+
* @memberof OAuth2ConsentRequest
|
|
31
|
+
*/
|
|
32
|
+
amr?: Array<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Challenge is used to retrieve/accept/deny the consent request.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof OAuth2ConsentRequest
|
|
37
|
+
*/
|
|
38
|
+
challenge: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {OAuth2Client}
|
|
42
|
+
* @memberof OAuth2ConsentRequest
|
|
43
|
+
*/
|
|
44
|
+
client?: OAuth2Client;
|
|
45
|
+
/**
|
|
46
|
+
* ConsentRequestID is the ID of the consent request.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof OAuth2ConsentRequest
|
|
49
|
+
*/
|
|
50
|
+
consent_request_id?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {object}
|
|
54
|
+
* @memberof OAuth2ConsentRequest
|
|
55
|
+
*/
|
|
56
|
+
context?: object;
|
|
57
|
+
/**
|
|
58
|
+
* LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate
|
|
59
|
+
* a login and consent request in the login & consent app.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof OAuth2ConsentRequest
|
|
62
|
+
*/
|
|
63
|
+
login_challenge?: string;
|
|
64
|
+
/**
|
|
65
|
+
* LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag)
|
|
66
|
+
* this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false)
|
|
67
|
+
* this will be a new random value. This value is used as the "sid" parameter in the ID Token and in OIDC Front-/Back-
|
|
68
|
+
* channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof OAuth2ConsentRequest
|
|
71
|
+
*/
|
|
72
|
+
login_session_id?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {OAuth2ConsentRequestOpenIDConnectContext}
|
|
76
|
+
* @memberof OAuth2ConsentRequest
|
|
77
|
+
*/
|
|
78
|
+
oidc_context?: OAuth2ConsentRequestOpenIDConnectContext;
|
|
79
|
+
/**
|
|
80
|
+
* RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which
|
|
81
|
+
* initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but
|
|
82
|
+
* might come in handy if you want to deal with additional request parameters.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof OAuth2ConsentRequest
|
|
85
|
+
*/
|
|
86
|
+
request_url?: string;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {Array<string>}
|
|
90
|
+
* @memberof OAuth2ConsentRequest
|
|
91
|
+
*/
|
|
92
|
+
requested_access_token_audience?: Array<string>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {Array<string>}
|
|
96
|
+
* @memberof OAuth2ConsentRequest
|
|
97
|
+
*/
|
|
98
|
+
requested_scope?: Array<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Skip, if true, implies that the client has requested the same scopes from the same user previously.
|
|
101
|
+
* If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the
|
|
102
|
+
* consent request using the usual API call.
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof OAuth2ConsentRequest
|
|
105
|
+
*/
|
|
106
|
+
skip?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope
|
|
109
|
+
* requested by the OAuth 2.0 client.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof OAuth2ConsentRequest
|
|
112
|
+
*/
|
|
113
|
+
subject?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the OAuth2ConsentRequest interface.
|
|
117
|
+
*/
|
|
118
|
+
export declare function instanceOfOAuth2ConsentRequest(value: object): value is OAuth2ConsentRequest;
|
|
119
|
+
export declare function OAuth2ConsentRequestFromJSON(json: any): OAuth2ConsentRequest;
|
|
120
|
+
export declare function OAuth2ConsentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ConsentRequest;
|
|
121
|
+
export declare function OAuth2ConsentRequestToJSON(json: any): OAuth2ConsentRequest;
|
|
122
|
+
export declare function OAuth2ConsentRequestToJSONTyped(value?: OAuth2ConsentRequest | null, ignoreDiscriminator?: boolean): any;
|