@inwebo-trustbuilder/mfa-lib 6.0.0-ACE-12882.971191
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/LICENSE +201 -0
- package/README.md +31 -0
- package/dist/doc/trustbuilder-mfa-lib.js +29058 -0
- package/dist/doc/trustbuilder-mfa-lib.js.map +1 -0
- package/dist/doc/trustbuilder-mfa-lib.min.js +11 -0
- package/dist/doc/trustbuilder-mfa-lib.min.js.map +1 -0
- package/dist/trustbuilder-mfa-lib.js +29058 -0
- package/dist/trustbuilder-mfa-lib.js.map +1 -0
- package/dist/trustbuilder-mfa-lib.min.js +11 -0
- package/dist/trustbuilder-mfa-lib.min.js.map +1 -0
- package/lib/TrustBuilderInstancesList.d.ts +6 -0
- package/lib/TrustBuilderInstancesList.js +104 -0
- package/lib/TrustBuilderInstancesList.js.map +1 -0
- package/lib/client-api/apis/MFAProtocolActivationApi.d.ts +96 -0
- package/lib/client-api/apis/MFAProtocolActivationApi.js +145 -0
- package/lib/client-api/apis/MFAProtocolActivationApi.js.map +1 -0
- package/lib/client-api/apis/MFAProtocolAnonymousApi.d.ts +46 -0
- package/lib/client-api/apis/MFAProtocolAnonymousApi.js +83 -0
- package/lib/client-api/apis/MFAProtocolAnonymousApi.js.map +1 -0
- package/lib/client-api/apis/MFAProtocolAuthenticationApi.d.ts +136 -0
- package/lib/client-api/apis/MFAProtocolAuthenticationApi.js +200 -0
- package/lib/client-api/apis/MFAProtocolAuthenticationApi.js.map +1 -0
- package/lib/client-api/apis/MFAProtocolCredentialsManagementApi.d.ts +154 -0
- package/lib/client-api/apis/MFAProtocolCredentialsManagementApi.js +222 -0
- package/lib/client-api/apis/MFAProtocolCredentialsManagementApi.js.map +1 -0
- package/lib/client-api/apis/MFAProtocolSecureTokenManagementApi.d.ts +319 -0
- package/lib/client-api/apis/MFAProtocolSecureTokenManagementApi.js +431 -0
- package/lib/client-api/apis/MFAProtocolSecureTokenManagementApi.js.map +1 -0
- package/lib/client-api/apis/index.d.ts +5 -0
- package/lib/client-api/apis/index.js +24 -0
- package/lib/client-api/apis/index.js.map +1 -0
- package/lib/client-api/index.d.ts +3 -0
- package/lib/client-api/index.js +22 -0
- package/lib/client-api/index.js.map +1 -0
- package/lib/client-api/models/InAppAuthenticateRequest.d.ts +27 -0
- package/lib/client-api/models/InAppAuthenticateRequest.js +42 -0
- package/lib/client-api/models/InAppAuthenticateRequest.js.map +1 -0
- package/lib/client-api/models/MfaActivateUserErrors.d.ts +23 -0
- package/lib/client-api/models/MfaActivateUserErrors.js +39 -0
- package/lib/client-api/models/MfaActivateUserErrors.js.map +1 -0
- package/lib/client-api/models/MfaActivateUserErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaActivateUserErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaActivateUserErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaActivationLinkResponse.d.ts +45 -0
- package/lib/client-api/models/MfaActivationLinkResponse.js +48 -0
- package/lib/client-api/models/MfaActivationLinkResponse.js.map +1 -0
- package/lib/client-api/models/MfaActivationLinkResponseMfaGenerateActivationCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaActivationLinkResponseMfaGenerateActivationCodeErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaActivationLinkResponseMfaGenerateActivationCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaAddSecureTokenErrors.d.ts +27 -0
- package/lib/client-api/models/MfaAddSecureTokenErrors.js +43 -0
- package/lib/client-api/models/MfaAddSecureTokenErrors.js.map +1 -0
- package/lib/client-api/models/MfaAddSecureTokenErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaAddSecureTokenErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaAddSecureTokenErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaAuthSessionDto.d.ts +75 -0
- package/lib/client-api/models/MfaAuthSessionDto.js +58 -0
- package/lib/client-api/models/MfaAuthSessionDto.js.map +1 -0
- package/lib/client-api/models/MfaAuthSessionDtoPaginatedList.d.ts +46 -0
- package/lib/client-api/models/MfaAuthSessionDtoPaginatedList.js +44 -0
- package/lib/client-api/models/MfaAuthSessionDtoPaginatedList.js.map +1 -0
- package/lib/client-api/models/MfaAuthSessionDtoPaginatedListMfaGetPendingAuthSessionErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaAuthSessionDtoPaginatedListMfaGetPendingAuthSessionErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaAuthSessionDtoPaginatedListMfaGetPendingAuthSessionErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaAuthenticateErrors.d.ts +30 -0
- package/lib/client-api/models/MfaAuthenticateErrors.js +46 -0
- package/lib/client-api/models/MfaAuthenticateErrors.js.map +1 -0
- package/lib/client-api/models/MfaAuthenticateErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaAuthenticateErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaAuthenticateErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaAuthenticateRequest.d.ts +27 -0
- package/lib/client-api/models/MfaAuthenticateRequest.js +41 -0
- package/lib/client-api/models/MfaAuthenticateRequest.js.map +1 -0
- package/lib/client-api/models/MfaAuthorizeRequest.d.ts +35 -0
- package/lib/client-api/models/MfaAuthorizeRequest.js +46 -0
- package/lib/client-api/models/MfaAuthorizeRequest.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponse.d.ts +27 -0
- package/lib/client-api/models/MfaBoolResponse.js +42 -0
- package/lib/client-api/models/MfaBoolResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaAuthenticateErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaAuthenticateErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaAuthenticateErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaCancelAuthErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaCancelAuthErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaCancelAuthErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaChangeSecretCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaChangeSecretCodeErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaChangeSecretCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaRegisterBiokeyErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaRegisterBiokeyErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaRegisterBiokeyErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaRegisterPushIdErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaRegisterPushIdErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaRegisterPushIdErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaResetSecretCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaResetSecretCodeErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaResetSecretCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaSealErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaSealErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaSealErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaUpdateSecureTokenFriendlyNameErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaUpdateSecureTokenFriendlyNameErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaUpdateSecureTokenFriendlyNameErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBoolResponseMfaValidateOtpErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaBoolResponseMfaValidateOtpErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaBoolResponseMfaValidateOtpErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaBusinessDataFormat.d.ts +23 -0
- package/lib/client-api/models/MfaBusinessDataFormat.js +39 -0
- package/lib/client-api/models/MfaBusinessDataFormat.js.map +1 -0
- package/lib/client-api/models/MfaBusinessDataParameters.d.ts +47 -0
- package/lib/client-api/models/MfaBusinessDataParameters.js +50 -0
- package/lib/client-api/models/MfaBusinessDataParameters.js.map +1 -0
- package/lib/client-api/models/MfaBusinessDataType.d.ts +24 -0
- package/lib/client-api/models/MfaBusinessDataType.js +40 -0
- package/lib/client-api/models/MfaBusinessDataType.js.map +1 -0
- package/lib/client-api/models/MfaCancelAuthErrors.d.ts +23 -0
- package/lib/client-api/models/MfaCancelAuthErrors.js +39 -0
- package/lib/client-api/models/MfaCancelAuthErrors.js.map +1 -0
- package/lib/client-api/models/MfaCancelAuthErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaCancelAuthErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaCancelAuthErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaCancelAuthRequest.d.ts +28 -0
- package/lib/client-api/models/MfaCancelAuthRequest.js +43 -0
- package/lib/client-api/models/MfaCancelAuthRequest.js.map +1 -0
- package/lib/client-api/models/MfaCancelReason.d.ts +26 -0
- package/lib/client-api/models/MfaCancelReason.js +42 -0
- package/lib/client-api/models/MfaCancelReason.js.map +1 -0
- package/lib/client-api/models/MfaChangeSecretCodeErrors.d.ts +29 -0
- package/lib/client-api/models/MfaChangeSecretCodeErrors.js +45 -0
- package/lib/client-api/models/MfaChangeSecretCodeErrors.js.map +1 -0
- package/lib/client-api/models/MfaChangeSecretCodeErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaChangeSecretCodeErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaChangeSecretCodeErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaChangeSecretCodeRequest.d.ts +27 -0
- package/lib/client-api/models/MfaChangeSecretCodeRequest.js +42 -0
- package/lib/client-api/models/MfaChangeSecretCodeRequest.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponse.d.ts +27 -0
- package/lib/client-api/models/MfaCodeResponse.js +41 -0
- package/lib/client-api/models/MfaCodeResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaActivateUserErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaActivateUserErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaActivateUserErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaAddSecureTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaAddSecureTokenErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaAddSecureTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetActivationCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetActivationCodeErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetActivationCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetChallengeErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetChallengeErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetChallengeErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetSecretCodeResetTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetSecretCodeResetTokenErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetSecretCodeResetTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetSecureTokenSessionTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetSecureTokenSessionTokenErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetSecureTokenSessionTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetUserSessionTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetUserSessionTokenErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaGetUserSessionTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaInAppAuthenticateErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaInAppAuthenticateErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaInAppAuthenticateErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaCodeResponseMfaInAppSealErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaCodeResponseMfaInAppSealErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaCodeResponseMfaInAppSealErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaDeleteSecureTokenErrors.d.ts +23 -0
- package/lib/client-api/models/MfaDeleteSecureTokenErrors.js +39 -0
- package/lib/client-api/models/MfaDeleteSecureTokenErrors.js.map +1 -0
- package/lib/client-api/models/MfaDeleteSecureTokenErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaDeleteSecureTokenErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaDeleteSecureTokenErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGenerateActivationCodeErrors.d.ts +30 -0
- package/lib/client-api/models/MfaGenerateActivationCodeErrors.js +46 -0
- package/lib/client-api/models/MfaGenerateActivationCodeErrors.js.map +1 -0
- package/lib/client-api/models/MfaGenerateActivationCodeErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGenerateActivationCodeErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGenerateActivationCodeErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGenerateActivationCodeRequest.d.ts +27 -0
- package/lib/client-api/models/MfaGenerateActivationCodeRequest.js +42 -0
- package/lib/client-api/models/MfaGenerateActivationCodeRequest.js.map +1 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeErrors.d.ts +27 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeErrors.js +43 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeErrors.js.map +1 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeResponse.d.ts +27 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeResponse.js +42 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeResponse.js.map +1 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeResponseMfaGenerateAndSendResetCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeResponseMfaGenerateAndSendResetCodeErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaGenerateAndSendResetCodeResponseMfaGenerateAndSendResetCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaGetActivationCodeErrors.d.ts +23 -0
- package/lib/client-api/models/MfaGetActivationCodeErrors.js +39 -0
- package/lib/client-api/models/MfaGetActivationCodeErrors.js.map +1 -0
- package/lib/client-api/models/MfaGetActivationCodeErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGetActivationCodeErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGetActivationCodeErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGetChallengeErrors.d.ts +28 -0
- package/lib/client-api/models/MfaGetChallengeErrors.js +44 -0
- package/lib/client-api/models/MfaGetChallengeErrors.js.map +1 -0
- package/lib/client-api/models/MfaGetChallengeErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGetChallengeErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGetChallengeErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGetChallengeRequest.d.ts +27 -0
- package/lib/client-api/models/MfaGetChallengeRequest.js +42 -0
- package/lib/client-api/models/MfaGetChallengeRequest.js.map +1 -0
- package/lib/client-api/models/MfaGetPendingAuthSessionErrors.d.ts +26 -0
- package/lib/client-api/models/MfaGetPendingAuthSessionErrors.js +42 -0
- package/lib/client-api/models/MfaGetPendingAuthSessionErrors.js.map +1 -0
- package/lib/client-api/models/MfaGetPendingAuthSessionErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGetPendingAuthSessionErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGetPendingAuthSessionErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGetSecretCodeResetTokenErrors.d.ts +25 -0
- package/lib/client-api/models/MfaGetSecretCodeResetTokenErrors.js +41 -0
- package/lib/client-api/models/MfaGetSecretCodeResetTokenErrors.js.map +1 -0
- package/lib/client-api/models/MfaGetSecretCodeResetTokenErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGetSecretCodeResetTokenErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGetSecretCodeResetTokenErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenErrors.d.ts +27 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenErrors.js +43 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenErrors.js.map +1 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenRequest.d.ts +27 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenRequest.js +42 -0
- package/lib/client-api/models/MfaGetSecureTokenSessionTokenRequest.js.map +1 -0
- package/lib/client-api/models/MfaGetUserSessionTokenErrors.d.ts +29 -0
- package/lib/client-api/models/MfaGetUserSessionTokenErrors.js +45 -0
- package/lib/client-api/models/MfaGetUserSessionTokenErrors.js.map +1 -0
- package/lib/client-api/models/MfaGetUserSessionTokenErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaGetUserSessionTokenErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaGetUserSessionTokenErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaGetUserSessionTokenRequest.d.ts +27 -0
- package/lib/client-api/models/MfaGetUserSessionTokenRequest.js +42 -0
- package/lib/client-api/models/MfaGetUserSessionTokenRequest.js.map +1 -0
- package/lib/client-api/models/MfaInAppAuthenticateErrors.d.ts +30 -0
- package/lib/client-api/models/MfaInAppAuthenticateErrors.js +46 -0
- package/lib/client-api/models/MfaInAppAuthenticateErrors.js.map +1 -0
- package/lib/client-api/models/MfaInAppAuthenticateErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaInAppAuthenticateErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaInAppAuthenticateErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaInAppAuthorizeResponse.d.ts +27 -0
- package/lib/client-api/models/MfaInAppAuthorizeResponse.js +42 -0
- package/lib/client-api/models/MfaInAppAuthorizeResponse.js.map +1 -0
- package/lib/client-api/models/MfaInAppAuthorizeResponseMfaSecureTokenAuthorizeErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaInAppAuthorizeResponseMfaSecureTokenAuthorizeErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaInAppAuthorizeResponseMfaSecureTokenAuthorizeErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaInAppAuthorizeScope.d.ts +26 -0
- package/lib/client-api/models/MfaInAppAuthorizeScope.js +42 -0
- package/lib/client-api/models/MfaInAppAuthorizeScope.js.map +1 -0
- package/lib/client-api/models/MfaInAppSealErrors.d.ts +30 -0
- package/lib/client-api/models/MfaInAppSealErrors.js +46 -0
- package/lib/client-api/models/MfaInAppSealErrors.js.map +1 -0
- package/lib/client-api/models/MfaInAppSealErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaInAppSealErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaInAppSealErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaInAppSealRequest.d.ts +27 -0
- package/lib/client-api/models/MfaInAppSealRequest.js +42 -0
- package/lib/client-api/models/MfaInAppSealRequest.js.map +1 -0
- package/lib/client-api/models/MfaIntegerResponse.d.ts +27 -0
- package/lib/client-api/models/MfaIntegerResponse.js +42 -0
- package/lib/client-api/models/MfaIntegerResponse.js.map +1 -0
- package/lib/client-api/models/MfaIntegerResponseMfaDeleteSecureTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib/client-api/models/MfaIntegerResponseMfaDeleteSecureTokenErrorsMfaApiResponse.js +47 -0
- package/lib/client-api/models/MfaIntegerResponseMfaDeleteSecureTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib/client-api/models/MfaPublicKeyDto.d.ts +34 -0
- package/lib/client-api/models/MfaPublicKeyDto.js +45 -0
- package/lib/client-api/models/MfaPublicKeyDto.js.map +1 -0
- package/lib/client-api/models/MfaRegisterBiokeyErrors.d.ts +32 -0
- package/lib/client-api/models/MfaRegisterBiokeyErrors.js +48 -0
- package/lib/client-api/models/MfaRegisterBiokeyErrors.js.map +1 -0
- package/lib/client-api/models/MfaRegisterBiokeyErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaRegisterBiokeyErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaRegisterBiokeyErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaRegisterBiokeyRequest.d.ts +40 -0
- package/lib/client-api/models/MfaRegisterBiokeyRequest.js +47 -0
- package/lib/client-api/models/MfaRegisterBiokeyRequest.js.map +1 -0
- package/lib/client-api/models/MfaRegisterPushIdErrors.d.ts +26 -0
- package/lib/client-api/models/MfaRegisterPushIdErrors.js +42 -0
- package/lib/client-api/models/MfaRegisterPushIdErrors.js.map +1 -0
- package/lib/client-api/models/MfaRegisterPushIdErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaRegisterPushIdErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaRegisterPushIdErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaRegisterPushIdRequest.d.ts +27 -0
- package/lib/client-api/models/MfaRegisterPushIdRequest.js +41 -0
- package/lib/client-api/models/MfaRegisterPushIdRequest.js.map +1 -0
- package/lib/client-api/models/MfaResetSecretCodeErrors.d.ts +28 -0
- package/lib/client-api/models/MfaResetSecretCodeErrors.js +44 -0
- package/lib/client-api/models/MfaResetSecretCodeErrors.js.map +1 -0
- package/lib/client-api/models/MfaResetSecretCodeErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaResetSecretCodeErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaResetSecretCodeErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaResetSecretCodeRequest.d.ts +27 -0
- package/lib/client-api/models/MfaResetSecretCodeRequest.js +41 -0
- package/lib/client-api/models/MfaResetSecretCodeRequest.js.map +1 -0
- package/lib/client-api/models/MfaSealErrors.d.ts +30 -0
- package/lib/client-api/models/MfaSealErrors.js +46 -0
- package/lib/client-api/models/MfaSealErrors.js.map +1 -0
- package/lib/client-api/models/MfaSealErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaSealErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaSealErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaSealRequest.d.ts +27 -0
- package/lib/client-api/models/MfaSealRequest.js +41 -0
- package/lib/client-api/models/MfaSealRequest.js.map +1 -0
- package/lib/client-api/models/MfaSecureTokenAuthorizeErrors.d.ts +29 -0
- package/lib/client-api/models/MfaSecureTokenAuthorizeErrors.js +45 -0
- package/lib/client-api/models/MfaSecureTokenAuthorizeErrors.js.map +1 -0
- package/lib/client-api/models/MfaSecureTokenAuthorizeErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaSecureTokenAuthorizeErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaSecureTokenAuthorizeErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameErrors.d.ts +27 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameErrors.js +43 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameErrors.js.map +1 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameRequest.d.ts +27 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameRequest.js +42 -0
- package/lib/client-api/models/MfaUpdateSecureTokenFriendlyNameRequest.js.map +1 -0
- package/lib/client-api/models/MfaValidateOtpErrors.d.ts +30 -0
- package/lib/client-api/models/MfaValidateOtpErrors.js +46 -0
- package/lib/client-api/models/MfaValidateOtpErrors.js.map +1 -0
- package/lib/client-api/models/MfaValidateOtpErrorsErrorDto.d.ts +34 -0
- package/lib/client-api/models/MfaValidateOtpErrorsErrorDto.js +45 -0
- package/lib/client-api/models/MfaValidateOtpErrorsErrorDto.js.map +1 -0
- package/lib/client-api/models/MfaValidateOtpRequest.d.ts +27 -0
- package/lib/client-api/models/MfaValidateOtpRequest.js +42 -0
- package/lib/client-api/models/MfaValidateOtpRequest.js.map +1 -0
- package/lib/client-api/models/PublicKeyFormat.d.ts +24 -0
- package/lib/client-api/models/PublicKeyFormat.js +40 -0
- package/lib/client-api/models/PublicKeyFormat.js.map +1 -0
- package/lib/client-api/models/index.d.ts +100 -0
- package/lib/client-api/models/index.js +119 -0
- package/lib/client-api/models/index.js.map +1 -0
- package/lib/client-api/runtime.d.ts +140 -0
- package/lib/client-api/runtime.js +242 -0
- package/lib/client-api/runtime.js.map +1 -0
- package/lib/generator-ts/GeneratorLib.d.ts +30 -0
- package/lib/generator-ts/GeneratorLib.js +41 -0
- package/lib/generator-ts/GeneratorLib.js.map +1 -0
- package/lib/generator-ts/definition/Base64.d.ts +1 -0
- package/lib/generator-ts/definition/Base64.js +3 -0
- package/lib/generator-ts/definition/Base64.js.map +1 -0
- package/lib/generator-ts/definition/BusinessData.d.ts +9 -0
- package/lib/generator-ts/definition/BusinessData.js +8 -0
- package/lib/generator-ts/definition/BusinessData.js.map +1 -0
- package/lib/generator-ts/definition/CredType.d.ts +1 -0
- package/lib/generator-ts/definition/CredType.js +3 -0
- package/lib/generator-ts/definition/CredType.js.map +1 -0
- package/lib/generator-ts/definition/CredentialProvider.d.ts +18 -0
- package/lib/generator-ts/definition/CredentialProvider.js +9 -0
- package/lib/generator-ts/definition/CredentialProvider.js.map +1 -0
- package/lib/generator-ts/definition/HashAndCryptInterface.d.ts +6 -0
- package/lib/generator-ts/definition/HashAndCryptInterface.js +3 -0
- package/lib/generator-ts/definition/HashAndCryptInterface.js.map +1 -0
- package/lib/generator-ts/definition/PrivateKey.d.ts +3 -0
- package/lib/generator-ts/definition/PrivateKey.js +39 -0
- package/lib/generator-ts/definition/PrivateKey.js.map +1 -0
- package/lib/generator-ts/definition/PubFormatType.d.ts +1 -0
- package/lib/generator-ts/definition/PubFormatType.js +3 -0
- package/lib/generator-ts/definition/PubFormatType.js.map +1 -0
- package/lib/generator-ts/definition/SecretCodeFormatAuthCharacters.d.ts +5 -0
- package/lib/generator-ts/definition/SecretCodeFormatAuthCharacters.js +3 -0
- package/lib/generator-ts/definition/SecretCodeFormatAuthCharacters.js.map +1 -0
- package/lib/generator-ts/definition/SecretCodeFormatSpec.d.ts +9 -0
- package/lib/generator-ts/definition/SecretCodeFormatSpec.js +3 -0
- package/lib/generator-ts/definition/SecretCodeFormatSpec.js.map +1 -0
- package/lib/generator-ts/definition/SessionData.d.ts +12 -0
- package/lib/generator-ts/definition/SessionData.js +3 -0
- package/lib/generator-ts/definition/SessionData.js.map +1 -0
- package/lib/generator-ts/definition/SignAndCryptInterface.d.ts +5 -0
- package/lib/generator-ts/definition/SignAndCryptInterface.js +3 -0
- package/lib/generator-ts/definition/SignAndCryptInterface.js.map +1 -0
- package/lib/generator-ts/definition/SignedToken.d.ts +2 -0
- package/lib/generator-ts/definition/SignedToken.js +3 -0
- package/lib/generator-ts/definition/SignedToken.js.map +1 -0
- package/lib/generator-ts/definition/SignedTokenFactory.d.ts +5 -0
- package/lib/generator-ts/definition/SignedTokenFactory.js +3 -0
- package/lib/generator-ts/definition/SignedTokenFactory.js.map +1 -0
- package/lib/generator-ts/definition/WebToken.d.ts +7 -0
- package/lib/generator-ts/definition/WebToken.js +3 -0
- package/lib/generator-ts/definition/WebToken.js.map +1 -0
- package/lib/generator-ts/definition/index.d.ts +14 -0
- package/lib/generator-ts/definition/index.js +31 -0
- package/lib/generator-ts/definition/index.js.map +1 -0
- package/lib/generator-ts/generateChallengeRequest/ChallengeRequest.d.ts +7 -0
- package/lib/generator-ts/generateChallengeRequest/ChallengeRequest.js +3 -0
- package/lib/generator-ts/generateChallengeRequest/ChallengeRequest.js.map +1 -0
- package/lib/generator-ts/generateChallengeRequest/ChallengeRequestFactory.d.ts +26 -0
- package/lib/generator-ts/generateChallengeRequest/ChallengeRequestFactory.js +28 -0
- package/lib/generator-ts/generateChallengeRequest/ChallengeRequestFactory.js.map +1 -0
- package/lib/generator-ts/generateCstr/CstrFactory.d.ts +36 -0
- package/lib/generator-ts/generateCstr/CstrFactory.js +31 -0
- package/lib/generator-ts/generateCstr/CstrFactory.js.map +1 -0
- package/lib/generator-ts/generateCstr/CstrToken.d.ts +20 -0
- package/lib/generator-ts/generateCstr/CstrToken.js +3 -0
- package/lib/generator-ts/generateCstr/CstrToken.js.map +1 -0
- package/lib/generator-ts/generateCstr/index.d.ts +2 -0
- package/lib/generator-ts/generateCstr/index.js +19 -0
- package/lib/generator-ts/generateCstr/index.js.map +1 -0
- package/lib/generator-ts/generateOtp/DriftManager.d.ts +6 -0
- package/lib/generator-ts/generateOtp/DriftManager.js +14 -0
- package/lib/generator-ts/generateOtp/DriftManager.js.map +1 -0
- package/lib/generator-ts/generateOtp/Otp.d.ts +16 -0
- package/lib/generator-ts/generateOtp/Otp.js +3 -0
- package/lib/generator-ts/generateOtp/Otp.js.map +1 -0
- package/lib/generator-ts/generateOtp/OtpFactory.d.ts +37 -0
- package/lib/generator-ts/generateOtp/OtpFactory.js +74 -0
- package/lib/generator-ts/generateOtp/OtpFactory.js.map +1 -0
- package/lib/generator-ts/generateOtp/OtpGenerator.d.ts +16 -0
- package/lib/generator-ts/generateOtp/OtpGenerator.js +33 -0
- package/lib/generator-ts/generateOtp/OtpGenerator.js.map +1 -0
- package/lib/generator-ts/generateOtp/ScribbleManager.d.ts +5 -0
- package/lib/generator-ts/generateOtp/ScribbleManager.js +22 -0
- package/lib/generator-ts/generateOtp/ScribbleManager.js.map +1 -0
- package/lib/generator-ts/helpers/ArrayHelpers.d.ts +5 -0
- package/lib/generator-ts/helpers/ArrayHelpers.js +17 -0
- package/lib/generator-ts/helpers/ArrayHelpers.js.map +1 -0
- package/lib/generator-ts/helpers/WebTokenFactory.d.ts +4 -0
- package/lib/generator-ts/helpers/WebTokenFactory.js +17 -0
- package/lib/generator-ts/helpers/WebTokenFactory.js.map +1 -0
- package/lib/generator-ts/index.d.ts +1 -0
- package/lib/generator-ts/index.js +18 -0
- package/lib/generator-ts/index.js.map +1 -0
- package/lib/generator-ts/logging/LogManager.d.ts +16 -0
- package/lib/generator-ts/logging/LogManager.js +67 -0
- package/lib/generator-ts/logging/LogManager.js.map +1 -0
- package/lib/generator-ts/logging/Logger.d.ts +31 -0
- package/lib/generator-ts/logging/Logger.js +60 -0
- package/lib/generator-ts/logging/Logger.js.map +1 -0
- package/lib/generator-ts/logging/index.d.ts +2 -0
- package/lib/generator-ts/logging/index.js +19 -0
- package/lib/generator-ts/logging/index.js.map +1 -0
- package/lib/index.d.ts +12 -0
- package/lib/index.js +28 -0
- package/lib/index.js.map +1 -0
- package/lib/l0-domain/base/Cred.d.ts +6 -0
- package/lib/l0-domain/base/Cred.js +7 -0
- package/lib/l0-domain/base/Cred.js.map +1 -0
- package/lib/l0-domain/base/MinLength.d.ts +2 -0
- package/lib/l0-domain/base/MinLength.js +41 -0
- package/lib/l0-domain/base/MinLength.js.map +1 -0
- package/lib/l0-domain/base/Scope.d.ts +10 -0
- package/lib/l0-domain/base/Scope.js +15 -0
- package/lib/l0-domain/base/Scope.js.map +1 -0
- package/lib/l0-domain/base/ShortCode.d.ts +1 -0
- package/lib/l0-domain/base/ShortCode.js +3 -0
- package/lib/l0-domain/base/ShortCode.js.map +1 -0
- package/lib/l0-domain/base/Token.d.ts +22 -0
- package/lib/l0-domain/base/Token.js +54 -0
- package/lib/l0-domain/base/Token.js.map +1 -0
- package/lib/l0-domain/base/TokenParameters.d.ts +13 -0
- package/lib/l0-domain/base/TokenParameters.js +50 -0
- package/lib/l0-domain/base/TokenParameters.js.map +1 -0
- package/lib/l0-domain/base/User.d.ts +8 -0
- package/lib/l0-domain/base/User.js +44 -0
- package/lib/l0-domain/base/User.js.map +1 -0
- package/lib/l0-domain/base/index.d.ts +6 -0
- package/lib/l0-domain/base/index.js +23 -0
- package/lib/l0-domain/base/index.js.map +1 -0
- package/lib/l0-domain/entities/ActivationCodeToken.d.ts +11 -0
- package/lib/l0-domain/entities/ActivationCodeToken.js +3 -0
- package/lib/l0-domain/entities/ActivationCodeToken.js.map +1 -0
- package/lib/l0-domain/entities/ActivationPackageToken.d.ts +13 -0
- package/lib/l0-domain/entities/ActivationPackageToken.js +3 -0
- package/lib/l0-domain/entities/ActivationPackageToken.js.map +1 -0
- package/lib/l0-domain/entities/Challenge.d.ts +21 -0
- package/lib/l0-domain/entities/Challenge.js +3 -0
- package/lib/l0-domain/entities/Challenge.js.map +1 -0
- package/lib/l0-domain/entities/SecureToken.d.ts +64 -0
- package/lib/l0-domain/entities/SecureToken.js +47 -0
- package/lib/l0-domain/entities/SecureToken.js.map +1 -0
- package/lib/l0-domain/entities/TokenAuthentificationMethod.d.ts +5 -0
- package/lib/l0-domain/entities/TokenAuthentificationMethod.js +3 -0
- package/lib/l0-domain/entities/TokenAuthentificationMethod.js.map +1 -0
- package/lib/l0-domain/entities/UnlockCodeToken.d.ts +10 -0
- package/lib/l0-domain/entities/UnlockCodeToken.js +3 -0
- package/lib/l0-domain/entities/UnlockCodeToken.js.map +1 -0
- package/lib/l0-domain/entities/UpdatableSecureTokenParameters.d.ts +9 -0
- package/lib/l0-domain/entities/UpdatableSecureTokenParameters.js +3 -0
- package/lib/l0-domain/entities/UpdatableSecureTokenParameters.js.map +1 -0
- package/lib/l0-domain/entities/index.d.ts +6 -0
- package/lib/l0-domain/entities/index.js +23 -0
- package/lib/l0-domain/entities/index.js.map +1 -0
- package/lib/l1-application/core-wrapper/ApiFetcher.d.ts +3 -0
- package/lib/l1-application/core-wrapper/ApiFetcher.js +9 -0
- package/lib/l1-application/core-wrapper/ApiFetcher.js.map +1 -0
- package/lib/l1-application/core-wrapper/CoreApiProvider.d.ts +4 -0
- package/lib/l1-application/core-wrapper/CoreApiProvider.js +3 -0
- package/lib/l1-application/core-wrapper/CoreApiProvider.js.map +1 -0
- package/lib/l1-application/core-wrapper/CoreApiRequest.d.ts +6 -0
- package/lib/l1-application/core-wrapper/CoreApiRequest.js +10 -0
- package/lib/l1-application/core-wrapper/CoreApiRequest.js.map +1 -0
- package/lib/l1-application/core-wrapper/CoreResponse.d.ts +9 -0
- package/lib/l1-application/core-wrapper/CoreResponse.js +3 -0
- package/lib/l1-application/core-wrapper/CoreResponse.js.map +1 -0
- package/lib/l1-application/core-wrapper/TestErrors.d.ts +4 -0
- package/lib/l1-application/core-wrapper/TestErrors.js +28 -0
- package/lib/l1-application/core-wrapper/TestErrors.js.map +1 -0
- package/lib/l1-application/core-wrapper/Usecase.d.ts +3 -0
- package/lib/l1-application/core-wrapper/Usecase.js +7 -0
- package/lib/l1-application/core-wrapper/Usecase.js.map +1 -0
- package/lib/l1-application/core-wrapper/errors/IwCoreConnexionErr.d.ts +4 -0
- package/lib/l1-application/core-wrapper/errors/IwCoreConnexionErr.js +11 -0
- package/lib/l1-application/core-wrapper/errors/IwCoreConnexionErr.js.map +1 -0
- package/lib/l1-application/core-wrapper/errors/ServerError.d.ts +8 -0
- package/lib/l1-application/core-wrapper/errors/ServerError.js +20 -0
- package/lib/l1-application/core-wrapper/errors/ServerError.js.map +1 -0
- package/lib/l1-application/core-wrapper/errors/index.d.ts +2 -0
- package/lib/l1-application/core-wrapper/errors/index.js +19 -0
- package/lib/l1-application/core-wrapper/errors/index.js.map +1 -0
- package/lib/l1-application/core-wrapper/fetchFromServerUrl/CreateFailableAsyncFunction.d.ts +4 -0
- package/lib/l1-application/core-wrapper/fetchFromServerUrl/CreateFailableAsyncFunction.js +31 -0
- package/lib/l1-application/core-wrapper/fetchFromServerUrl/CreateFailableAsyncFunction.js.map +1 -0
- package/lib/l1-application/core-wrapper/fetchFromServerUrl/index.d.ts +3 -0
- package/lib/l1-application/core-wrapper/fetchFromServerUrl/index.js +10 -0
- package/lib/l1-application/core-wrapper/fetchFromServerUrl/index.js.map +1 -0
- package/lib/l1-application/core-wrapper/index.d.ts +3 -0
- package/lib/l1-application/core-wrapper/index.js +20 -0
- package/lib/l1-application/core-wrapper/index.js.map +1 -0
- package/lib/l1-application/definition/ActivationService.d.ts +23 -0
- package/lib/l1-application/definition/ActivationService.js +3 -0
- package/lib/l1-application/definition/ActivationService.js.map +1 -0
- package/lib/l1-application/definition/AskCredentialInterface.d.ts +19 -0
- package/lib/l1-application/definition/AskCredentialInterface.js +10 -0
- package/lib/l1-application/definition/AskCredentialInterface.js.map +1 -0
- package/lib/l1-application/definition/AuthService.d.ts +28 -0
- package/lib/l1-application/definition/AuthService.js +3 -0
- package/lib/l1-application/definition/AuthService.js.map +1 -0
- package/lib/l1-application/definition/BoolResult.d.ts +3 -0
- package/lib/l1-application/definition/BoolResult.js +7 -0
- package/lib/l1-application/definition/BoolResult.js.map +1 -0
- package/lib/l1-application/definition/BusinessDataProvider.d.ts +6 -0
- package/lib/l1-application/definition/BusinessDataProvider.js +3 -0
- package/lib/l1-application/definition/BusinessDataProvider.js.map +1 -0
- package/lib/l1-application/definition/CodeResult.d.ts +3 -0
- package/lib/l1-application/definition/CodeResult.js +7 -0
- package/lib/l1-application/definition/CodeResult.js.map +1 -0
- package/lib/l1-application/definition/CredentialOptions.d.ts +3 -0
- package/lib/l1-application/definition/CredentialOptions.js +8 -0
- package/lib/l1-application/definition/CredentialOptions.js.map +1 -0
- package/lib/l1-application/definition/CredentialService.d.ts +63 -0
- package/lib/l1-application/definition/CredentialService.js +3 -0
- package/lib/l1-application/definition/CredentialService.js.map +1 -0
- package/lib/l1-application/definition/Failable.d.ts +23 -0
- package/lib/l1-application/definition/Failable.js +54 -0
- package/lib/l1-application/definition/Failable.js.map +1 -0
- package/lib/l1-application/definition/FailableAsync.d.ts +13 -0
- package/lib/l1-application/definition/FailableAsync.js +63 -0
- package/lib/l1-application/definition/FailableAsync.js.map +1 -0
- package/lib/l1-application/definition/IHost.d.ts +24 -0
- package/lib/l1-application/definition/IHost.js +10 -0
- package/lib/l1-application/definition/IHost.js.map +1 -0
- package/lib/l1-application/definition/ManagementService.d.ts +73 -0
- package/lib/l1-application/definition/ManagementService.js +3 -0
- package/lib/l1-application/definition/ManagementService.js.map +1 -0
- package/lib/l1-application/definition/Provider.d.ts +2 -0
- package/lib/l1-application/definition/Provider.js +3 -0
- package/lib/l1-application/definition/Provider.js.map +1 -0
- package/lib/l1-application/definition/SecureTokenChallenge.d.ts +39 -0
- package/lib/l1-application/definition/SecureTokenChallenge.js +3 -0
- package/lib/l1-application/definition/SecureTokenChallenge.js.map +1 -0
- package/lib/l1-application/definition/TrustBuilderInstances.d.ts +20 -0
- package/lib/l1-application/definition/TrustBuilderInstances.js +11 -0
- package/lib/l1-application/definition/TrustBuilderInstances.js.map +1 -0
- package/lib/l1-application/definition/UseCase.d.ts +8 -0
- package/lib/l1-application/definition/UseCase.js +11 -0
- package/lib/l1-application/definition/UseCase.js.map +1 -0
- package/lib/l1-application/definition/UseCaseError.d.ts +4 -0
- package/lib/l1-application/definition/UseCaseError.js +11 -0
- package/lib/l1-application/definition/UseCaseError.js.map +1 -0
- package/lib/l1-application/definition/WebTokenManager.d.ts +5 -0
- package/lib/l1-application/definition/WebTokenManager.js +3 -0
- package/lib/l1-application/definition/WebTokenManager.js.map +1 -0
- package/lib/l1-application/definition/errors/ArgumentError.d.ts +4 -0
- package/lib/l1-application/definition/errors/ArgumentError.js +11 -0
- package/lib/l1-application/definition/errors/ArgumentError.js.map +1 -0
- package/lib/l1-application/definition/errors/Errors.d.ts +61 -0
- package/lib/l1-application/definition/errors/Errors.js +161 -0
- package/lib/l1-application/definition/errors/Errors.js.map +1 -0
- package/lib/l1-application/definition/index.d.ts +9 -0
- package/lib/l1-application/definition/index.js +26 -0
- package/lib/l1-application/definition/index.js.map +1 -0
- package/lib/l1-application/helpers/CodeHelper.d.ts +1 -0
- package/lib/l1-application/helpers/CodeHelper.js +7 -0
- package/lib/l1-application/helpers/CodeHelper.js.map +1 -0
- package/lib/l1-application/helpers/CredentialHelper.d.ts +4 -0
- package/lib/l1-application/helpers/CredentialHelper.js +33 -0
- package/lib/l1-application/helpers/CredentialHelper.js.map +1 -0
- package/lib/l1-application/helpers/Utils.d.ts +3 -0
- package/lib/l1-application/helpers/Utils.js +15 -0
- package/lib/l1-application/helpers/Utils.js.map +1 -0
- package/lib/l1-application/helpers/get-tenant-info/tenant-service.d.ts +42 -0
- package/lib/l1-application/helpers/get-tenant-info/tenant-service.js +41 -0
- package/lib/l1-application/helpers/get-tenant-info/tenant-service.js.map +1 -0
- package/lib/l1-application/logging/LoggerDecorator.d.ts +1 -0
- package/lib/l1-application/logging/LoggerDecorator.js +17 -0
- package/lib/l1-application/logging/LoggerDecorator.js.map +1 -0
- package/lib/l1-application/repository/SecureTokenEntityGateway.d.ts +27 -0
- package/lib/l1-application/repository/SecureTokenEntityGateway.js +35 -0
- package/lib/l1-application/repository/SecureTokenEntityGateway.js.map +1 -0
- package/lib/l1-application/security/ActivationCodeManager.d.ts +11 -0
- package/lib/l1-application/security/ActivationCodeManager.js +54 -0
- package/lib/l1-application/security/ActivationCodeManager.js.map +1 -0
- package/lib/l1-application/security/ActivationPackageManager.d.ts +6 -0
- package/lib/l1-application/security/ActivationPackageManager.js +57 -0
- package/lib/l1-application/security/ActivationPackageManager.js.map +1 -0
- package/lib/l1-application/security/ChallengeManager.d.ts +10 -0
- package/lib/l1-application/security/ChallengeManager.js +19 -0
- package/lib/l1-application/security/ChallengeManager.js.map +1 -0
- package/lib/l1-application/security/CredTypeProvider.d.ts +3 -0
- package/lib/l1-application/security/CredTypeProvider.js +7 -0
- package/lib/l1-application/security/CredTypeProvider.js.map +1 -0
- package/lib/l1-application/security/DecryptAndVerifyInterface.d.ts +6 -0
- package/lib/l1-application/security/DecryptAndVerifyInterface.js +3 -0
- package/lib/l1-application/security/DecryptAndVerifyInterface.js.map +1 -0
- package/lib/l1-application/security/FailableGenerator.d.ts +7 -0
- package/lib/l1-application/security/FailableGenerator.js +10 -0
- package/lib/l1-application/security/FailableGenerator.js.map +1 -0
- package/lib/l1-application/security/GenerateCstrRequestFactory.d.ts +22 -0
- package/lib/l1-application/security/GenerateCstrRequestFactory.js +58 -0
- package/lib/l1-application/security/GenerateCstrRequestFactory.js.map +1 -0
- package/lib/l1-application/security/GenerateOtpRequestFactory.d.ts +84 -0
- package/lib/l1-application/security/GenerateOtpRequestFactory.js +243 -0
- package/lib/l1-application/security/GenerateOtpRequestFactory.js.map +1 -0
- package/lib/l1-application/security/InstanceResolver.d.ts +14 -0
- package/lib/l1-application/security/InstanceResolver.js +48 -0
- package/lib/l1-application/security/InstanceResolver.js.map +1 -0
- package/lib/l1-application/security/SecretCodeVerifierManager.d.ts +9 -0
- package/lib/l1-application/security/SecretCodeVerifierManager.js +264 -0
- package/lib/l1-application/security/SecretCodeVerifierManager.js.map +1 -0
- package/lib/l1-application/security/UnlockCodeManager.d.ts +11 -0
- package/lib/l1-application/security/UnlockCodeManager.js +53 -0
- package/lib/l1-application/security/UnlockCodeManager.js.map +1 -0
- package/lib/l1-application/security/UpdateSecureTokenWithChallenge.d.ts +40 -0
- package/lib/l1-application/security/UpdateSecureTokenWithChallenge.js +64 -0
- package/lib/l1-application/security/UpdateSecureTokenWithChallenge.js.map +1 -0
- package/lib/l1-application/security/errors/GenerateOtpError.d.ts +4 -0
- package/lib/l1-application/security/errors/GenerateOtpError.js +11 -0
- package/lib/l1-application/security/errors/GenerateOtpError.js.map +1 -0
- package/lib/l1-application/security/errors/InconsistentBusinessDataHashError.d.ts +4 -0
- package/lib/l1-application/security/errors/InconsistentBusinessDataHashError.js +12 -0
- package/lib/l1-application/security/errors/InconsistentBusinessDataHashError.js.map +1 -0
- package/lib/l1-application/security/errors/InvalidActivationCodeError.d.ts +4 -0
- package/lib/l1-application/security/errors/InvalidActivationCodeError.js +11 -0
- package/lib/l1-application/security/errors/InvalidActivationCodeError.js.map +1 -0
- package/lib/l1-application/security/errors/InvalidParameterError.d.ts +4 -0
- package/lib/l1-application/security/errors/InvalidParameterError.js +12 -0
- package/lib/l1-application/security/errors/InvalidParameterError.js.map +1 -0
- package/lib/l1-application/security/errors/InvalidWebTokenError.d.ts +4 -0
- package/lib/l1-application/security/errors/InvalidWebTokenError.js +12 -0
- package/lib/l1-application/security/errors/InvalidWebTokenError.js.map +1 -0
- package/lib/l1-application/security/errors/index.d.ts +5 -0
- package/lib/l1-application/security/errors/index.js +22 -0
- package/lib/l1-application/security/errors/index.js.map +1 -0
- package/lib/l1-application/security/index.d.ts +8 -0
- package/lib/l1-application/security/index.js +25 -0
- package/lib/l1-application/security/index.js.map +1 -0
- package/lib/l1-application/serializers/SecureTokenSerializer.d.ts +18 -0
- package/lib/l1-application/serializers/SecureTokenSerializer.js +22 -0
- package/lib/l1-application/serializers/SecureTokenSerializer.js.map +1 -0
- package/lib/l1-application/usecases/ISingleUseCase.d.ts +8 -0
- package/lib/l1-application/usecases/ISingleUseCase.js +8 -0
- package/lib/l1-application/usecases/ISingleUseCase.js.map +1 -0
- package/lib/l1-application/usecases/IUseCase.d.ts +11 -0
- package/lib/l1-application/usecases/IUseCase.js +10 -0
- package/lib/l1-application/usecases/IUseCase.js.map +1 -0
- package/lib/l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration.d.ts +34 -0
- package/lib/l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration.js +68 -0
- package/lib/l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration.js.map +1 -0
- package/lib/l1-application/usecases/authSessionCancellation/AuthSessionCancellation.d.ts +32 -0
- package/lib/l1-application/usecases/authSessionCancellation/AuthSessionCancellation.js +51 -0
- package/lib/l1-application/usecases/authSessionCancellation/AuthSessionCancellation.js.map +1 -0
- package/lib/l1-application/usecases/authentication/Authentication.d.ts +26 -0
- package/lib/l1-application/usecases/authentication/Authentication.js +38 -0
- package/lib/l1-application/usecases/authentication/Authentication.js.map +1 -0
- package/lib/l1-application/usecases/authorizationRequest/AuthorizationRequest.d.ts +28 -0
- package/lib/l1-application/usecases/authorizationRequest/AuthorizationRequest.js +52 -0
- package/lib/l1-application/usecases/authorizationRequest/AuthorizationRequest.js.map +1 -0
- package/lib/l1-application/usecases/biokeyRegistration/BiokeyRegistration.d.ts +47 -0
- package/lib/l1-application/usecases/biokeyRegistration/BiokeyRegistration.js +64 -0
- package/lib/l1-application/usecases/biokeyRegistration/BiokeyRegistration.js.map +1 -0
- package/lib/l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken.d.ts +22 -0
- package/lib/l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken.js +40 -0
- package/lib/l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken.js.map +1 -0
- package/lib/l1-application/usecases/inAppAuthentication/InAppAuthentication.d.ts +26 -0
- package/lib/l1-application/usecases/inAppAuthentication/InAppAuthentication.js +37 -0
- package/lib/l1-application/usecases/inAppAuthentication/InAppAuthentication.js.map +1 -0
- package/lib/l1-application/usecases/inAppSealing/InAppSealing.d.ts +34 -0
- package/lib/l1-application/usecases/inAppSealing/InAppSealing.js +53 -0
- package/lib/l1-application/usecases/inAppSealing/InAppSealing.js.map +1 -0
- package/lib/l1-application/usecases/offlineOtpGeneration/OfflineOtpGeneration.d.ts +28 -0
- package/lib/l1-application/usecases/offlineOtpGeneration/OfflineOtpGeneration.js +22 -0
- package/lib/l1-application/usecases/offlineOtpGeneration/OfflineOtpGeneration.js.map +1 -0
- package/lib/l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval.d.ts +38 -0
- package/lib/l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval.js +49 -0
- package/lib/l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval.js.map +1 -0
- package/lib/l1-application/usecases/pushIdRegistration/PushIdRegistration.d.ts +23 -0
- package/lib/l1-application/usecases/pushIdRegistration/PushIdRegistration.js +53 -0
- package/lib/l1-application/usecases/pushIdRegistration/PushIdRegistration.js.map +1 -0
- package/lib/l1-application/usecases/requestActivationPackage/CreateSecureTokenPayloadFactory.d.ts +12 -0
- package/lib/l1-application/usecases/requestActivationPackage/CreateSecureTokenPayloadFactory.js +46 -0
- package/lib/l1-application/usecases/requestActivationPackage/CreateSecureTokenPayloadFactory.js.map +1 -0
- package/lib/l1-application/usecases/requestActivationPackage/RequestActivationPackageUseCase.d.ts +24 -0
- package/lib/l1-application/usecases/requestActivationPackage/RequestActivationPackageUseCase.js +86 -0
- package/lib/l1-application/usecases/requestActivationPackage/RequestActivationPackageUseCase.js.map +1 -0
- package/lib/l1-application/usecases/resetCodeGeneration/ResetCodeGeneration.d.ts +27 -0
- package/lib/l1-application/usecases/resetCodeGeneration/ResetCodeGeneration.js +45 -0
- package/lib/l1-application/usecases/resetCodeGeneration/ResetCodeGeneration.js.map +1 -0
- package/lib/l1-application/usecases/sealing/Sealing.d.ts +39 -0
- package/lib/l1-application/usecases/sealing/Sealing.js +75 -0
- package/lib/l1-application/usecases/sealing/Sealing.js.map +1 -0
- package/lib/l1-application/usecases/secretCodeChange/SecretCodeChange.d.ts +39 -0
- package/lib/l1-application/usecases/secretCodeChange/SecretCodeChange.js +90 -0
- package/lib/l1-application/usecases/secretCodeChange/SecretCodeChange.js.map +1 -0
- package/lib/l1-application/usecases/secretCodeReset/SecretCodeReset.d.ts +39 -0
- package/lib/l1-application/usecases/secretCodeReset/SecretCodeReset.js +82 -0
- package/lib/l1-application/usecases/secretCodeReset/SecretCodeReset.js.map +1 -0
- package/lib/l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment.d.ts +48 -0
- package/lib/l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment.js +221 -0
- package/lib/l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment.js.map +1 -0
- package/lib/l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate.d.ts +24 -0
- package/lib/l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate.js +43 -0
- package/lib/l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate.js.map +1 -0
- package/lib/l1-application/usecases/secureTokensListing/SecureTokensListing.d.ts +14 -0
- package/lib/l1-application/usecases/secureTokensListing/SecureTokensListing.js +18 -0
- package/lib/l1-application/usecases/secureTokensListing/SecureTokensListing.js.map +1 -0
- package/lib/l1-application/usecases/shortOtpGeneration/ShortOtpGeneration.d.ts +25 -0
- package/lib/l1-application/usecases/shortOtpGeneration/ShortOtpGeneration.js +17 -0
- package/lib/l1-application/usecases/shortOtpGeneration/ShortOtpGeneration.js.map +1 -0
- package/lib/l3-infrastructure/TrustBuilderMfaLib.d.ts +75 -0
- package/lib/l3-infrastructure/TrustBuilderMfaLib.js +218 -0
- package/lib/l3-infrastructure/TrustBuilderMfaLib.js.map +1 -0
- package/lib/l3-infrastructure/config/Bootstrap.d.ts +74 -0
- package/lib/l3-infrastructure/config/Bootstrap.js +125 -0
- package/lib/l3-infrastructure/config/Bootstrap.js.map +1 -0
- package/lib/l3-infrastructure/config/Logging.d.ts +2 -0
- package/lib/l3-infrastructure/config/Logging.js +15 -0
- package/lib/l3-infrastructure/config/Logging.js.map +1 -0
- package/lib/l3-infrastructure/coreApi/CoreApi.d.ts +18 -0
- package/lib/l3-infrastructure/coreApi/CoreApi.js +44 -0
- package/lib/l3-infrastructure/coreApi/CoreApi.js.map +1 -0
- package/lib/l3-infrastructure/coreApi/RequestInitBuilder.d.ts +6 -0
- package/lib/l3-infrastructure/coreApi/RequestInitBuilder.js +7 -0
- package/lib/l3-infrastructure/coreApi/RequestInitBuilder.js.map +1 -0
- package/lib/l3-infrastructure/crypto/DecryptAndVerify.d.ts +9 -0
- package/lib/l3-infrastructure/crypto/DecryptAndVerify.js +47 -0
- package/lib/l3-infrastructure/crypto/DecryptAndVerify.js.map +1 -0
- package/lib/l3-infrastructure/crypto/HashAndCrypt.d.ts +7 -0
- package/lib/l3-infrastructure/crypto/HashAndCrypt.js +25 -0
- package/lib/l3-infrastructure/crypto/HashAndCrypt.js.map +1 -0
- package/lib/l3-infrastructure/crypto/Jose.d.ts +4 -0
- package/lib/l3-infrastructure/crypto/Jose.js +31 -0
- package/lib/l3-infrastructure/crypto/Jose.js.map +1 -0
- package/lib/l3-infrastructure/crypto/KeyGenerator.d.ts +8 -0
- package/lib/l3-infrastructure/crypto/KeyGenerator.js +26 -0
- package/lib/l3-infrastructure/crypto/KeyGenerator.js.map +1 -0
- package/lib/l3-infrastructure/crypto/SignAndCrypt.d.ts +6 -0
- package/lib/l3-infrastructure/crypto/SignAndCrypt.js +29 -0
- package/lib/l3-infrastructure/crypto/SignAndCrypt.js.map +1 -0
- package/lib/l3-infrastructure/crypto/index.d.ts +5 -0
- package/lib/l3-infrastructure/crypto/index.js +26 -0
- package/lib/l3-infrastructure/crypto/index.js.map +1 -0
- package/lib/l3-infrastructure/data/AsyncLocalStorage.d.ts +9 -0
- package/lib/l3-infrastructure/data/AsyncLocalStorage.js +30 -0
- package/lib/l3-infrastructure/data/AsyncLocalStorage.js.map +1 -0
- package/lib/l3-infrastructure/data/AsyncStorage.d.ts +6 -0
- package/lib/l3-infrastructure/data/AsyncStorage.js +3 -0
- package/lib/l3-infrastructure/data/AsyncStorage.js.map +1 -0
- package/lib/l3-infrastructure/data/SecureTokenStorageEntityGateway.d.ts +50 -0
- package/lib/l3-infrastructure/data/SecureTokenStorageEntityGateway.js +95 -0
- package/lib/l3-infrastructure/data/SecureTokenStorageEntityGateway.js.map +1 -0
- package/lib/l3-infrastructure/network/ConsumeBusinessData.d.ts +2 -0
- package/lib/l3-infrastructure/network/ConsumeBusinessData.js +27 -0
- package/lib/l3-infrastructure/network/ConsumeBusinessData.js.map +1 -0
- package/lib/l3-infrastructure/services/activation/ActivationServiceImpl.d.ts +16 -0
- package/lib/l3-infrastructure/services/activation/ActivationServiceImpl.js +77 -0
- package/lib/l3-infrastructure/services/activation/ActivationServiceImpl.js.map +1 -0
- package/lib/l3-infrastructure/services/activationCode/ShortToLongCode.d.ts +7 -0
- package/lib/l3-infrastructure/services/activationCode/ShortToLongCode.js +26 -0
- package/lib/l3-infrastructure/services/activationCode/ShortToLongCode.js.map +1 -0
- package/lib/l3-infrastructure/services/auth/AuthServiceImpl.d.ts +20 -0
- package/lib/l3-infrastructure/services/auth/AuthServiceImpl.js +35 -0
- package/lib/l3-infrastructure/services/auth/AuthServiceImpl.js.map +1 -0
- package/lib/l3-infrastructure/services/auth/authenticate/Authenticate.d.ts +5 -0
- package/lib/l3-infrastructure/services/auth/authenticate/Authenticate.js +56 -0
- package/lib/l3-infrastructure/services/auth/authenticate/Authenticate.js.map +1 -0
- package/lib/l3-infrastructure/services/auth/cancelAuth/CancelAuth.d.ts +5 -0
- package/lib/l3-infrastructure/services/auth/cancelAuth/CancelAuth.js +24 -0
- package/lib/l3-infrastructure/services/auth/cancelAuth/CancelAuth.js.map +1 -0
- package/lib/l3-infrastructure/services/auth/seal/Seal.d.ts +7 -0
- package/lib/l3-infrastructure/services/auth/seal/Seal.js +65 -0
- package/lib/l3-infrastructure/services/auth/seal/Seal.js.map +1 -0
- package/lib/l3-infrastructure/services/auth/sessionGetChallenge/SessionGetChallenge.d.ts +12 -0
- package/lib/l3-infrastructure/services/auth/sessionGetChallenge/SessionGetChallenge.js +42 -0
- package/lib/l3-infrastructure/services/auth/sessionGetChallenge/SessionGetChallenge.js.map +1 -0
- package/lib/l3-infrastructure/services/credentials/ChangeSecretCode.d.ts +11 -0
- package/lib/l3-infrastructure/services/credentials/ChangeSecretCode.js +57 -0
- package/lib/l3-infrastructure/services/credentials/ChangeSecretCode.js.map +1 -0
- package/lib/l3-infrastructure/services/credentials/CredentialServiceImpl.d.ts +17 -0
- package/lib/l3-infrastructure/services/credentials/CredentialServiceImpl.js +43 -0
- package/lib/l3-infrastructure/services/credentials/CredentialServiceImpl.js.map +1 -0
- package/lib/l3-infrastructure/services/credentials/GenerateAndSendResetCode.d.ts +8 -0
- package/lib/l3-infrastructure/services/credentials/GenerateAndSendResetCode.js +25 -0
- package/lib/l3-infrastructure/services/credentials/GenerateAndSendResetCode.js.map +1 -0
- package/lib/l3-infrastructure/services/credentials/RegisterBioKey.d.ts +12 -0
- package/lib/l3-infrastructure/services/credentials/RegisterBioKey.js +52 -0
- package/lib/l3-infrastructure/services/credentials/RegisterBioKey.js.map +1 -0
- package/lib/l3-infrastructure/services/credentials/ResetSecretCode.d.ts +11 -0
- package/lib/l3-infrastructure/services/credentials/ResetSecretCode.js +64 -0
- package/lib/l3-infrastructure/services/credentials/ResetSecretCode.js.map +1 -0
- package/lib/l3-infrastructure/services/management/ManagementServiceImpl.d.ts +26 -0
- package/lib/l3-infrastructure/services/management/ManagementServiceImpl.js +73 -0
- package/lib/l3-infrastructure/services/management/ManagementServiceImpl.js.map +1 -0
- package/lib/l3-infrastructure/services/management/authorize/Authorize.d.ts +5 -0
- package/lib/l3-infrastructure/services/management/authorize/Authorize.js +27 -0
- package/lib/l3-infrastructure/services/management/authorize/Authorize.js.map +1 -0
- package/lib/l3-infrastructure/services/management/deleteSecureToken/DeleteSecureToken.d.ts +5 -0
- package/lib/l3-infrastructure/services/management/deleteSecureToken/DeleteSecureToken.js +20 -0
- package/lib/l3-infrastructure/services/management/deleteSecureToken/DeleteSecureToken.js.map +1 -0
- package/lib/l3-infrastructure/services/management/generateActivationCode/GenerateActivationCode.d.ts +5 -0
- package/lib/l3-infrastructure/services/management/generateActivationCode/GenerateActivationCode.js +34 -0
- package/lib/l3-infrastructure/services/management/generateActivationCode/GenerateActivationCode.js.map +1 -0
- package/lib/l3-infrastructure/services/management/getChallengeForSecureToken/GetChallengeForSecureToken.d.ts +18 -0
- package/lib/l3-infrastructure/services/management/getChallengeForSecureToken/GetChallengeForSecureToken.js +55 -0
- package/lib/l3-infrastructure/services/management/getChallengeForSecureToken/GetChallengeForSecureToken.js.map +1 -0
- package/lib/l3-infrastructure/services/management/getPendingAuthSessions/GetPendingAuthSessions.d.ts +5 -0
- package/lib/l3-infrastructure/services/management/getPendingAuthSessions/GetPendingAuthSessions.js +25 -0
- package/lib/l3-infrastructure/services/management/getPendingAuthSessions/GetPendingAuthSessions.js.map +1 -0
- package/lib/l3-infrastructure/services/management/getSecureTokenSessionToken/GetSecureTokenSessionToken.d.ts +11 -0
- package/lib/l3-infrastructure/services/management/getSecureTokenSessionToken/GetSecureTokenSessionToken.js +44 -0
- package/lib/l3-infrastructure/services/management/getSecureTokenSessionToken/GetSecureTokenSessionToken.js.map +1 -0
- package/lib/l3-infrastructure/services/management/inApp/InAppAuthenticate.d.ts +5 -0
- package/lib/l3-infrastructure/services/management/inApp/InAppAuthenticate.js +63 -0
- package/lib/l3-infrastructure/services/management/inApp/InAppAuthenticate.js.map +1 -0
- package/lib/l3-infrastructure/services/management/inApp/InAppSeal.d.ts +14 -0
- package/lib/l3-infrastructure/services/management/inApp/InAppSeal.js +73 -0
- package/lib/l3-infrastructure/services/management/inApp/InAppSeal.js.map +1 -0
- package/lib/l3-infrastructure/services/management/registerPushId/RegisterPushId.d.ts +5 -0
- package/lib/l3-infrastructure/services/management/registerPushId/RegisterPushId.js +26 -0
- package/lib/l3-infrastructure/services/management/registerPushId/RegisterPushId.js.map +1 -0
- package/lib/l3-infrastructure/services/management/updateSecureTokenFriendlyName/UpdateFriendlyName.d.ts +5 -0
- package/lib/l3-infrastructure/services/management/updateSecureTokenFriendlyName/UpdateFriendlyName.js +26 -0
- package/lib/l3-infrastructure/services/management/updateSecureTokenFriendlyName/UpdateFriendlyName.js.map +1 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetAuthSecureTokenChallenge.d.ts +12 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetAuthSecureTokenChallenge.js +27 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetAuthSecureTokenChallenge.js.map +1 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetChallengeRequestBuilder.d.ts +4 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetChallengeRequestBuilder.js +58 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetChallengeRequestBuilder.js.map +1 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetSecureTokenChallenge.d.ts +12 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetSecureTokenChallenge.js +15 -0
- package/lib/l3-infrastructure/services/secureTokenChallenge/GetSecureTokenChallenge.js.map +1 -0
- package/lib/version.d.ts +1 -0
- package/lib/version.js +5 -0
- package/lib/version.js.map +1 -0
- package/lib-es6/TrustBuilderInstancesList.d.ts +6 -0
- package/lib-es6/TrustBuilderInstancesList.js +101 -0
- package/lib-es6/TrustBuilderInstancesList.js.map +1 -0
- package/lib-es6/client-api/apis/MFAProtocolActivationApi.d.ts +96 -0
- package/lib-es6/client-api/apis/MFAProtocolActivationApi.js +108 -0
- package/lib-es6/client-api/apis/MFAProtocolActivationApi.js.map +1 -0
- package/lib-es6/client-api/apis/MFAProtocolAnonymousApi.d.ts +46 -0
- package/lib-es6/client-api/apis/MFAProtocolAnonymousApi.js +46 -0
- package/lib-es6/client-api/apis/MFAProtocolAnonymousApi.js.map +1 -0
- package/lib-es6/client-api/apis/MFAProtocolAuthenticationApi.d.ts +136 -0
- package/lib-es6/client-api/apis/MFAProtocolAuthenticationApi.js +163 -0
- package/lib-es6/client-api/apis/MFAProtocolAuthenticationApi.js.map +1 -0
- package/lib-es6/client-api/apis/MFAProtocolCredentialsManagementApi.d.ts +154 -0
- package/lib-es6/client-api/apis/MFAProtocolCredentialsManagementApi.js +185 -0
- package/lib-es6/client-api/apis/MFAProtocolCredentialsManagementApi.js.map +1 -0
- package/lib-es6/client-api/apis/MFAProtocolSecureTokenManagementApi.d.ts +319 -0
- package/lib-es6/client-api/apis/MFAProtocolSecureTokenManagementApi.js +394 -0
- package/lib-es6/client-api/apis/MFAProtocolSecureTokenManagementApi.js.map +1 -0
- package/lib-es6/client-api/apis/index.d.ts +5 -0
- package/lib-es6/client-api/apis/index.js +8 -0
- package/lib-es6/client-api/apis/index.js.map +1 -0
- package/lib-es6/client-api/index.d.ts +3 -0
- package/lib-es6/client-api/index.js +6 -0
- package/lib-es6/client-api/index.js.map +1 -0
- package/lib-es6/client-api/models/InAppAuthenticateRequest.d.ts +27 -0
- package/lib-es6/client-api/models/InAppAuthenticateRequest.js +37 -0
- package/lib-es6/client-api/models/InAppAuthenticateRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaActivateUserErrors.d.ts +23 -0
- package/lib-es6/client-api/models/MfaActivateUserErrors.js +33 -0
- package/lib-es6/client-api/models/MfaActivateUserErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaActivateUserErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaActivateUserErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaActivateUserErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaActivationLinkResponse.d.ts +45 -0
- package/lib-es6/client-api/models/MfaActivationLinkResponse.js +43 -0
- package/lib-es6/client-api/models/MfaActivationLinkResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaActivationLinkResponseMfaGenerateActivationCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaActivationLinkResponseMfaGenerateActivationCodeErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaActivationLinkResponseMfaGenerateActivationCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaAddSecureTokenErrors.d.ts +27 -0
- package/lib-es6/client-api/models/MfaAddSecureTokenErrors.js +37 -0
- package/lib-es6/client-api/models/MfaAddSecureTokenErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaAddSecureTokenErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaAddSecureTokenErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaAddSecureTokenErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaAuthSessionDto.d.ts +75 -0
- package/lib-es6/client-api/models/MfaAuthSessionDto.js +53 -0
- package/lib-es6/client-api/models/MfaAuthSessionDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaAuthSessionDtoPaginatedList.d.ts +46 -0
- package/lib-es6/client-api/models/MfaAuthSessionDtoPaginatedList.js +39 -0
- package/lib-es6/client-api/models/MfaAuthSessionDtoPaginatedList.js.map +1 -0
- package/lib-es6/client-api/models/MfaAuthSessionDtoPaginatedListMfaGetPendingAuthSessionErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaAuthSessionDtoPaginatedListMfaGetPendingAuthSessionErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaAuthSessionDtoPaginatedListMfaGetPendingAuthSessionErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaAuthenticateErrors.d.ts +30 -0
- package/lib-es6/client-api/models/MfaAuthenticateErrors.js +40 -0
- package/lib-es6/client-api/models/MfaAuthenticateErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaAuthenticateErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaAuthenticateErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaAuthenticateErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaAuthenticateRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaAuthenticateRequest.js +36 -0
- package/lib-es6/client-api/models/MfaAuthenticateRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaAuthorizeRequest.d.ts +35 -0
- package/lib-es6/client-api/models/MfaAuthorizeRequest.js +41 -0
- package/lib-es6/client-api/models/MfaAuthorizeRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponse.d.ts +27 -0
- package/lib-es6/client-api/models/MfaBoolResponse.js +37 -0
- package/lib-es6/client-api/models/MfaBoolResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaAuthenticateErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaAuthenticateErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaAuthenticateErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaCancelAuthErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaCancelAuthErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaCancelAuthErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaChangeSecretCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaChangeSecretCodeErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaChangeSecretCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaRegisterBiokeyErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaRegisterBiokeyErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaRegisterBiokeyErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaRegisterPushIdErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaRegisterPushIdErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaRegisterPushIdErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaResetSecretCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaResetSecretCodeErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaResetSecretCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaSealErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaSealErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaSealErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaUpdateSecureTokenFriendlyNameErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaUpdateSecureTokenFriendlyNameErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaUpdateSecureTokenFriendlyNameErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaValidateOtpErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaValidateOtpErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaBoolResponseMfaValidateOtpErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaBusinessDataFormat.d.ts +23 -0
- package/lib-es6/client-api/models/MfaBusinessDataFormat.js +33 -0
- package/lib-es6/client-api/models/MfaBusinessDataFormat.js.map +1 -0
- package/lib-es6/client-api/models/MfaBusinessDataParameters.d.ts +47 -0
- package/lib-es6/client-api/models/MfaBusinessDataParameters.js +45 -0
- package/lib-es6/client-api/models/MfaBusinessDataParameters.js.map +1 -0
- package/lib-es6/client-api/models/MfaBusinessDataType.d.ts +24 -0
- package/lib-es6/client-api/models/MfaBusinessDataType.js +34 -0
- package/lib-es6/client-api/models/MfaBusinessDataType.js.map +1 -0
- package/lib-es6/client-api/models/MfaCancelAuthErrors.d.ts +23 -0
- package/lib-es6/client-api/models/MfaCancelAuthErrors.js +33 -0
- package/lib-es6/client-api/models/MfaCancelAuthErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaCancelAuthErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaCancelAuthErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaCancelAuthErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaCancelAuthRequest.d.ts +28 -0
- package/lib-es6/client-api/models/MfaCancelAuthRequest.js +38 -0
- package/lib-es6/client-api/models/MfaCancelAuthRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaCancelReason.d.ts +26 -0
- package/lib-es6/client-api/models/MfaCancelReason.js +36 -0
- package/lib-es6/client-api/models/MfaCancelReason.js.map +1 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeErrors.d.ts +29 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeErrors.js +39 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeRequest.js +37 -0
- package/lib-es6/client-api/models/MfaChangeSecretCodeRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponse.d.ts +27 -0
- package/lib-es6/client-api/models/MfaCodeResponse.js +36 -0
- package/lib-es6/client-api/models/MfaCodeResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaActivateUserErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaActivateUserErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaActivateUserErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaAddSecureTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaAddSecureTokenErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaAddSecureTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetActivationCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetActivationCodeErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetActivationCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetChallengeErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetChallengeErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetChallengeErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetSecretCodeResetTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetSecretCodeResetTokenErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetSecretCodeResetTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetSecureTokenSessionTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetSecureTokenSessionTokenErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetSecureTokenSessionTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetUserSessionTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetUserSessionTokenErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaGetUserSessionTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaInAppAuthenticateErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaInAppAuthenticateErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaInAppAuthenticateErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaInAppSealErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaInAppSealErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaCodeResponseMfaInAppSealErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaDeleteSecureTokenErrors.d.ts +23 -0
- package/lib-es6/client-api/models/MfaDeleteSecureTokenErrors.js +33 -0
- package/lib-es6/client-api/models/MfaDeleteSecureTokenErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaDeleteSecureTokenErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaDeleteSecureTokenErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaDeleteSecureTokenErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeErrors.d.ts +30 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeErrors.js +40 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeRequest.js +37 -0
- package/lib-es6/client-api/models/MfaGenerateActivationCodeRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeErrors.d.ts +27 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeErrors.js +37 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeResponse.d.ts +27 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeResponse.js +37 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeResponseMfaGenerateAndSendResetCodeErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeResponseMfaGenerateAndSendResetCodeErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaGenerateAndSendResetCodeResponseMfaGenerateAndSendResetCodeErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetActivationCodeErrors.d.ts +23 -0
- package/lib-es6/client-api/models/MfaGetActivationCodeErrors.js +33 -0
- package/lib-es6/client-api/models/MfaGetActivationCodeErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetActivationCodeErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGetActivationCodeErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGetActivationCodeErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetChallengeErrors.d.ts +28 -0
- package/lib-es6/client-api/models/MfaGetChallengeErrors.js +38 -0
- package/lib-es6/client-api/models/MfaGetChallengeErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetChallengeErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGetChallengeErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGetChallengeErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetChallengeRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaGetChallengeRequest.js +37 -0
- package/lib-es6/client-api/models/MfaGetChallengeRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetPendingAuthSessionErrors.d.ts +26 -0
- package/lib-es6/client-api/models/MfaGetPendingAuthSessionErrors.js +36 -0
- package/lib-es6/client-api/models/MfaGetPendingAuthSessionErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetPendingAuthSessionErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGetPendingAuthSessionErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGetPendingAuthSessionErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetSecretCodeResetTokenErrors.d.ts +25 -0
- package/lib-es6/client-api/models/MfaGetSecretCodeResetTokenErrors.js +35 -0
- package/lib-es6/client-api/models/MfaGetSecretCodeResetTokenErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetSecretCodeResetTokenErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGetSecretCodeResetTokenErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGetSecretCodeResetTokenErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenErrors.d.ts +27 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenErrors.js +37 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenRequest.js +37 -0
- package/lib-es6/client-api/models/MfaGetSecureTokenSessionTokenRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenErrors.d.ts +29 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenErrors.js +39 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenRequest.js +37 -0
- package/lib-es6/client-api/models/MfaGetUserSessionTokenRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppAuthenticateErrors.d.ts +30 -0
- package/lib-es6/client-api/models/MfaInAppAuthenticateErrors.js +40 -0
- package/lib-es6/client-api/models/MfaInAppAuthenticateErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppAuthenticateErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaInAppAuthenticateErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaInAppAuthenticateErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeResponse.d.ts +27 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeResponse.js +37 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeResponseMfaSecureTokenAuthorizeErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeResponseMfaSecureTokenAuthorizeErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeResponseMfaSecureTokenAuthorizeErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeScope.d.ts +26 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeScope.js +36 -0
- package/lib-es6/client-api/models/MfaInAppAuthorizeScope.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppSealErrors.d.ts +30 -0
- package/lib-es6/client-api/models/MfaInAppSealErrors.js +40 -0
- package/lib-es6/client-api/models/MfaInAppSealErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppSealErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaInAppSealErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaInAppSealErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaInAppSealRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaInAppSealRequest.js +37 -0
- package/lib-es6/client-api/models/MfaInAppSealRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaIntegerResponse.d.ts +27 -0
- package/lib-es6/client-api/models/MfaIntegerResponse.js +37 -0
- package/lib-es6/client-api/models/MfaIntegerResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaIntegerResponseMfaDeleteSecureTokenErrorsMfaApiResponse.d.ts +41 -0
- package/lib-es6/client-api/models/MfaIntegerResponseMfaDeleteSecureTokenErrorsMfaApiResponse.js +42 -0
- package/lib-es6/client-api/models/MfaIntegerResponseMfaDeleteSecureTokenErrorsMfaApiResponse.js.map +1 -0
- package/lib-es6/client-api/models/MfaPublicKeyDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaPublicKeyDto.js +40 -0
- package/lib-es6/client-api/models/MfaPublicKeyDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyErrors.d.ts +32 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyErrors.js +42 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyRequest.d.ts +40 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyRequest.js +42 -0
- package/lib-es6/client-api/models/MfaRegisterBiokeyRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdErrors.d.ts +26 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdErrors.js +36 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdRequest.js +36 -0
- package/lib-es6/client-api/models/MfaRegisterPushIdRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeErrors.d.ts +28 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeErrors.js +38 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeRequest.js +36 -0
- package/lib-es6/client-api/models/MfaResetSecretCodeRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaSealErrors.d.ts +30 -0
- package/lib-es6/client-api/models/MfaSealErrors.js +40 -0
- package/lib-es6/client-api/models/MfaSealErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaSealErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaSealErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaSealErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaSealRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaSealRequest.js +36 -0
- package/lib-es6/client-api/models/MfaSealRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaSecureTokenAuthorizeErrors.d.ts +29 -0
- package/lib-es6/client-api/models/MfaSecureTokenAuthorizeErrors.js +39 -0
- package/lib-es6/client-api/models/MfaSecureTokenAuthorizeErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaSecureTokenAuthorizeErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaSecureTokenAuthorizeErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaSecureTokenAuthorizeErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameErrors.d.ts +27 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameErrors.js +37 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameRequest.js +37 -0
- package/lib-es6/client-api/models/MfaUpdateSecureTokenFriendlyNameRequest.js.map +1 -0
- package/lib-es6/client-api/models/MfaValidateOtpErrors.d.ts +30 -0
- package/lib-es6/client-api/models/MfaValidateOtpErrors.js +40 -0
- package/lib-es6/client-api/models/MfaValidateOtpErrors.js.map +1 -0
- package/lib-es6/client-api/models/MfaValidateOtpErrorsErrorDto.d.ts +34 -0
- package/lib-es6/client-api/models/MfaValidateOtpErrorsErrorDto.js +40 -0
- package/lib-es6/client-api/models/MfaValidateOtpErrorsErrorDto.js.map +1 -0
- package/lib-es6/client-api/models/MfaValidateOtpRequest.d.ts +27 -0
- package/lib-es6/client-api/models/MfaValidateOtpRequest.js +37 -0
- package/lib-es6/client-api/models/MfaValidateOtpRequest.js.map +1 -0
- package/lib-es6/client-api/models/PublicKeyFormat.d.ts +24 -0
- package/lib-es6/client-api/models/PublicKeyFormat.js +34 -0
- package/lib-es6/client-api/models/PublicKeyFormat.js.map +1 -0
- package/lib-es6/client-api/models/index.d.ts +100 -0
- package/lib-es6/client-api/models/index.js +103 -0
- package/lib-es6/client-api/models/index.js.map +1 -0
- package/lib-es6/client-api/runtime.d.ts +140 -0
- package/lib-es6/client-api/runtime.js +228 -0
- package/lib-es6/client-api/runtime.js.map +1 -0
- package/lib-es6/generator-ts/GeneratorLib.d.ts +30 -0
- package/lib-es6/generator-ts/GeneratorLib.js +32 -0
- package/lib-es6/generator-ts/GeneratorLib.js.map +1 -0
- package/lib-es6/generator-ts/definition/Base64.d.ts +1 -0
- package/lib-es6/generator-ts/definition/Base64.js +2 -0
- package/lib-es6/generator-ts/definition/Base64.js.map +1 -0
- package/lib-es6/generator-ts/definition/BusinessData.d.ts +9 -0
- package/lib-es6/generator-ts/definition/BusinessData.js +5 -0
- package/lib-es6/generator-ts/definition/BusinessData.js.map +1 -0
- package/lib-es6/generator-ts/definition/CredType.d.ts +1 -0
- package/lib-es6/generator-ts/definition/CredType.js +2 -0
- package/lib-es6/generator-ts/definition/CredType.js.map +1 -0
- package/lib-es6/generator-ts/definition/CredentialProvider.d.ts +18 -0
- package/lib-es6/generator-ts/definition/CredentialProvider.js +6 -0
- package/lib-es6/generator-ts/definition/CredentialProvider.js.map +1 -0
- package/lib-es6/generator-ts/definition/HashAndCryptInterface.d.ts +6 -0
- package/lib-es6/generator-ts/definition/HashAndCryptInterface.js +2 -0
- package/lib-es6/generator-ts/definition/HashAndCryptInterface.js.map +1 -0
- package/lib-es6/generator-ts/definition/PrivateKey.d.ts +3 -0
- package/lib-es6/generator-ts/definition/PrivateKey.js +3 -0
- package/lib-es6/generator-ts/definition/PrivateKey.js.map +1 -0
- package/lib-es6/generator-ts/definition/PubFormatType.d.ts +1 -0
- package/lib-es6/generator-ts/definition/PubFormatType.js +2 -0
- package/lib-es6/generator-ts/definition/PubFormatType.js.map +1 -0
- package/lib-es6/generator-ts/definition/SecretCodeFormatAuthCharacters.d.ts +5 -0
- package/lib-es6/generator-ts/definition/SecretCodeFormatAuthCharacters.js +2 -0
- package/lib-es6/generator-ts/definition/SecretCodeFormatAuthCharacters.js.map +1 -0
- package/lib-es6/generator-ts/definition/SecretCodeFormatSpec.d.ts +9 -0
- package/lib-es6/generator-ts/definition/SecretCodeFormatSpec.js +2 -0
- package/lib-es6/generator-ts/definition/SecretCodeFormatSpec.js.map +1 -0
- package/lib-es6/generator-ts/definition/SessionData.d.ts +12 -0
- package/lib-es6/generator-ts/definition/SessionData.js +2 -0
- package/lib-es6/generator-ts/definition/SessionData.js.map +1 -0
- package/lib-es6/generator-ts/definition/SignAndCryptInterface.d.ts +5 -0
- package/lib-es6/generator-ts/definition/SignAndCryptInterface.js +2 -0
- package/lib-es6/generator-ts/definition/SignAndCryptInterface.js.map +1 -0
- package/lib-es6/generator-ts/definition/SignedToken.d.ts +2 -0
- package/lib-es6/generator-ts/definition/SignedToken.js +2 -0
- package/lib-es6/generator-ts/definition/SignedToken.js.map +1 -0
- package/lib-es6/generator-ts/definition/SignedTokenFactory.d.ts +5 -0
- package/lib-es6/generator-ts/definition/SignedTokenFactory.js +2 -0
- package/lib-es6/generator-ts/definition/SignedTokenFactory.js.map +1 -0
- package/lib-es6/generator-ts/definition/WebToken.d.ts +7 -0
- package/lib-es6/generator-ts/definition/WebToken.js +2 -0
- package/lib-es6/generator-ts/definition/WebToken.js.map +1 -0
- package/lib-es6/generator-ts/definition/index.d.ts +14 -0
- package/lib-es6/generator-ts/definition/index.js +15 -0
- package/lib-es6/generator-ts/definition/index.js.map +1 -0
- package/lib-es6/generator-ts/generateChallengeRequest/ChallengeRequest.d.ts +7 -0
- package/lib-es6/generator-ts/generateChallengeRequest/ChallengeRequest.js +2 -0
- package/lib-es6/generator-ts/generateChallengeRequest/ChallengeRequest.js.map +1 -0
- package/lib-es6/generator-ts/generateChallengeRequest/ChallengeRequestFactory.d.ts +26 -0
- package/lib-es6/generator-ts/generateChallengeRequest/ChallengeRequestFactory.js +24 -0
- package/lib-es6/generator-ts/generateChallengeRequest/ChallengeRequestFactory.js.map +1 -0
- package/lib-es6/generator-ts/generateCstr/CstrFactory.d.ts +36 -0
- package/lib-es6/generator-ts/generateCstr/CstrFactory.js +27 -0
- package/lib-es6/generator-ts/generateCstr/CstrFactory.js.map +1 -0
- package/lib-es6/generator-ts/generateCstr/CstrToken.d.ts +20 -0
- package/lib-es6/generator-ts/generateCstr/CstrToken.js +2 -0
- package/lib-es6/generator-ts/generateCstr/CstrToken.js.map +1 -0
- package/lib-es6/generator-ts/generateCstr/index.d.ts +2 -0
- package/lib-es6/generator-ts/generateCstr/index.js +3 -0
- package/lib-es6/generator-ts/generateCstr/index.js.map +1 -0
- package/lib-es6/generator-ts/generateOtp/DriftManager.d.ts +6 -0
- package/lib-es6/generator-ts/generateOtp/DriftManager.js +10 -0
- package/lib-es6/generator-ts/generateOtp/DriftManager.js.map +1 -0
- package/lib-es6/generator-ts/generateOtp/Otp.d.ts +16 -0
- package/lib-es6/generator-ts/generateOtp/Otp.js +2 -0
- package/lib-es6/generator-ts/generateOtp/Otp.js.map +1 -0
- package/lib-es6/generator-ts/generateOtp/OtpFactory.d.ts +37 -0
- package/lib-es6/generator-ts/generateOtp/OtpFactory.js +70 -0
- package/lib-es6/generator-ts/generateOtp/OtpFactory.js.map +1 -0
- package/lib-es6/generator-ts/generateOtp/OtpGenerator.d.ts +16 -0
- package/lib-es6/generator-ts/generateOtp/OtpGenerator.js +29 -0
- package/lib-es6/generator-ts/generateOtp/OtpGenerator.js.map +1 -0
- package/lib-es6/generator-ts/generateOtp/ScribbleManager.d.ts +5 -0
- package/lib-es6/generator-ts/generateOtp/ScribbleManager.js +18 -0
- package/lib-es6/generator-ts/generateOtp/ScribbleManager.js.map +1 -0
- package/lib-es6/generator-ts/helpers/ArrayHelpers.d.ts +5 -0
- package/lib-es6/generator-ts/helpers/ArrayHelpers.js +13 -0
- package/lib-es6/generator-ts/helpers/ArrayHelpers.js.map +1 -0
- package/lib-es6/generator-ts/helpers/WebTokenFactory.d.ts +4 -0
- package/lib-es6/generator-ts/helpers/WebTokenFactory.js +13 -0
- package/lib-es6/generator-ts/helpers/WebTokenFactory.js.map +1 -0
- package/lib-es6/generator-ts/index.d.ts +1 -0
- package/lib-es6/generator-ts/index.js +2 -0
- package/lib-es6/generator-ts/index.js.map +1 -0
- package/lib-es6/generator-ts/logging/LogManager.d.ts +16 -0
- package/lib-es6/generator-ts/logging/LogManager.js +63 -0
- package/lib-es6/generator-ts/logging/LogManager.js.map +1 -0
- package/lib-es6/generator-ts/logging/Logger.d.ts +31 -0
- package/lib-es6/generator-ts/logging/Logger.js +56 -0
- package/lib-es6/generator-ts/logging/Logger.js.map +1 -0
- package/lib-es6/generator-ts/logging/index.d.ts +2 -0
- package/lib-es6/generator-ts/logging/index.js +3 -0
- package/lib-es6/generator-ts/logging/index.js.map +1 -0
- package/lib-es6/index.d.ts +12 -0
- package/lib-es6/index.js +10 -0
- package/lib-es6/index.js.map +1 -0
- package/lib-es6/l0-domain/base/Cred.d.ts +6 -0
- package/lib-es6/l0-domain/base/Cred.js +4 -0
- package/lib-es6/l0-domain/base/Cred.js.map +1 -0
- package/lib-es6/l0-domain/base/MinLength.d.ts +2 -0
- package/lib-es6/l0-domain/base/MinLength.js +4 -0
- package/lib-es6/l0-domain/base/MinLength.js.map +1 -0
- package/lib-es6/l0-domain/base/Scope.d.ts +10 -0
- package/lib-es6/l0-domain/base/Scope.js +12 -0
- package/lib-es6/l0-domain/base/Scope.js.map +1 -0
- package/lib-es6/l0-domain/base/ShortCode.d.ts +1 -0
- package/lib-es6/l0-domain/base/ShortCode.js +2 -0
- package/lib-es6/l0-domain/base/ShortCode.js.map +1 -0
- package/lib-es6/l0-domain/base/Token.d.ts +22 -0
- package/lib-es6/l0-domain/base/Token.js +18 -0
- package/lib-es6/l0-domain/base/Token.js.map +1 -0
- package/lib-es6/l0-domain/base/TokenParameters.d.ts +13 -0
- package/lib-es6/l0-domain/base/TokenParameters.js +14 -0
- package/lib-es6/l0-domain/base/TokenParameters.js.map +1 -0
- package/lib-es6/l0-domain/base/User.d.ts +8 -0
- package/lib-es6/l0-domain/base/User.js +8 -0
- package/lib-es6/l0-domain/base/User.js.map +1 -0
- package/lib-es6/l0-domain/base/index.d.ts +6 -0
- package/lib-es6/l0-domain/base/index.js +7 -0
- package/lib-es6/l0-domain/base/index.js.map +1 -0
- package/lib-es6/l0-domain/entities/ActivationCodeToken.d.ts +11 -0
- package/lib-es6/l0-domain/entities/ActivationCodeToken.js +2 -0
- package/lib-es6/l0-domain/entities/ActivationCodeToken.js.map +1 -0
- package/lib-es6/l0-domain/entities/ActivationPackageToken.d.ts +13 -0
- package/lib-es6/l0-domain/entities/ActivationPackageToken.js +2 -0
- package/lib-es6/l0-domain/entities/ActivationPackageToken.js.map +1 -0
- package/lib-es6/l0-domain/entities/Challenge.d.ts +21 -0
- package/lib-es6/l0-domain/entities/Challenge.js +2 -0
- package/lib-es6/l0-domain/entities/Challenge.js.map +1 -0
- package/lib-es6/l0-domain/entities/SecureToken.d.ts +64 -0
- package/lib-es6/l0-domain/entities/SecureToken.js +11 -0
- package/lib-es6/l0-domain/entities/SecureToken.js.map +1 -0
- package/lib-es6/l0-domain/entities/TokenAuthentificationMethod.d.ts +5 -0
- package/lib-es6/l0-domain/entities/TokenAuthentificationMethod.js +2 -0
- package/lib-es6/l0-domain/entities/TokenAuthentificationMethod.js.map +1 -0
- package/lib-es6/l0-domain/entities/UnlockCodeToken.d.ts +10 -0
- package/lib-es6/l0-domain/entities/UnlockCodeToken.js +2 -0
- package/lib-es6/l0-domain/entities/UnlockCodeToken.js.map +1 -0
- package/lib-es6/l0-domain/entities/UpdatableSecureTokenParameters.d.ts +9 -0
- package/lib-es6/l0-domain/entities/UpdatableSecureTokenParameters.js +2 -0
- package/lib-es6/l0-domain/entities/UpdatableSecureTokenParameters.js.map +1 -0
- package/lib-es6/l0-domain/entities/index.d.ts +6 -0
- package/lib-es6/l0-domain/entities/index.js +7 -0
- package/lib-es6/l0-domain/entities/index.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/ApiFetcher.d.ts +3 -0
- package/lib-es6/l1-application/core-wrapper/ApiFetcher.js +4 -0
- package/lib-es6/l1-application/core-wrapper/ApiFetcher.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/CoreApiProvider.d.ts +4 -0
- package/lib-es6/l1-application/core-wrapper/CoreApiProvider.js +2 -0
- package/lib-es6/l1-application/core-wrapper/CoreApiProvider.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/CoreApiRequest.d.ts +6 -0
- package/lib-es6/l1-application/core-wrapper/CoreApiRequest.js +6 -0
- package/lib-es6/l1-application/core-wrapper/CoreApiRequest.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/CoreResponse.d.ts +9 -0
- package/lib-es6/l1-application/core-wrapper/CoreResponse.js +2 -0
- package/lib-es6/l1-application/core-wrapper/CoreResponse.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/TestErrors.d.ts +4 -0
- package/lib-es6/l1-application/core-wrapper/TestErrors.js +22 -0
- package/lib-es6/l1-application/core-wrapper/TestErrors.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/Usecase.d.ts +3 -0
- package/lib-es6/l1-application/core-wrapper/Usecase.js +3 -0
- package/lib-es6/l1-application/core-wrapper/Usecase.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/errors/IwCoreConnexionErr.d.ts +4 -0
- package/lib-es6/l1-application/core-wrapper/errors/IwCoreConnexionErr.js +7 -0
- package/lib-es6/l1-application/core-wrapper/errors/IwCoreConnexionErr.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/errors/ServerError.d.ts +8 -0
- package/lib-es6/l1-application/core-wrapper/errors/ServerError.js +15 -0
- package/lib-es6/l1-application/core-wrapper/errors/ServerError.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/errors/index.d.ts +2 -0
- package/lib-es6/l1-application/core-wrapper/errors/index.js +3 -0
- package/lib-es6/l1-application/core-wrapper/errors/index.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/fetchFromServerUrl/CreateFailableAsyncFunction.d.ts +4 -0
- package/lib-es6/l1-application/core-wrapper/fetchFromServerUrl/CreateFailableAsyncFunction.js +27 -0
- package/lib-es6/l1-application/core-wrapper/fetchFromServerUrl/CreateFailableAsyncFunction.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/fetchFromServerUrl/index.d.ts +3 -0
- package/lib-es6/l1-application/core-wrapper/fetchFromServerUrl/index.js +5 -0
- package/lib-es6/l1-application/core-wrapper/fetchFromServerUrl/index.js.map +1 -0
- package/lib-es6/l1-application/core-wrapper/index.d.ts +3 -0
- package/lib-es6/l1-application/core-wrapper/index.js +4 -0
- package/lib-es6/l1-application/core-wrapper/index.js.map +1 -0
- package/lib-es6/l1-application/definition/ActivationService.d.ts +23 -0
- package/lib-es6/l1-application/definition/ActivationService.js +2 -0
- package/lib-es6/l1-application/definition/ActivationService.js.map +1 -0
- package/lib-es6/l1-application/definition/AskCredentialInterface.d.ts +19 -0
- package/lib-es6/l1-application/definition/AskCredentialInterface.js +5 -0
- package/lib-es6/l1-application/definition/AskCredentialInterface.js.map +1 -0
- package/lib-es6/l1-application/definition/AuthService.d.ts +28 -0
- package/lib-es6/l1-application/definition/AuthService.js +2 -0
- package/lib-es6/l1-application/definition/AuthService.js.map +1 -0
- package/lib-es6/l1-application/definition/BoolResult.d.ts +3 -0
- package/lib-es6/l1-application/definition/BoolResult.js +3 -0
- package/lib-es6/l1-application/definition/BoolResult.js.map +1 -0
- package/lib-es6/l1-application/definition/BusinessDataProvider.d.ts +6 -0
- package/lib-es6/l1-application/definition/BusinessDataProvider.js +2 -0
- package/lib-es6/l1-application/definition/BusinessDataProvider.js.map +1 -0
- package/lib-es6/l1-application/definition/CodeResult.d.ts +3 -0
- package/lib-es6/l1-application/definition/CodeResult.js +3 -0
- package/lib-es6/l1-application/definition/CodeResult.js.map +1 -0
- package/lib-es6/l1-application/definition/CredentialOptions.d.ts +3 -0
- package/lib-es6/l1-application/definition/CredentialOptions.js +4 -0
- package/lib-es6/l1-application/definition/CredentialOptions.js.map +1 -0
- package/lib-es6/l1-application/definition/CredentialService.d.ts +63 -0
- package/lib-es6/l1-application/definition/CredentialService.js +2 -0
- package/lib-es6/l1-application/definition/CredentialService.js.map +1 -0
- package/lib-es6/l1-application/definition/Failable.d.ts +23 -0
- package/lib-es6/l1-application/definition/Failable.js +50 -0
- package/lib-es6/l1-application/definition/Failable.js.map +1 -0
- package/lib-es6/l1-application/definition/FailableAsync.d.ts +13 -0
- package/lib-es6/l1-application/definition/FailableAsync.js +59 -0
- package/lib-es6/l1-application/definition/FailableAsync.js.map +1 -0
- package/lib-es6/l1-application/definition/IHost.d.ts +24 -0
- package/lib-es6/l1-application/definition/IHost.js +7 -0
- package/lib-es6/l1-application/definition/IHost.js.map +1 -0
- package/lib-es6/l1-application/definition/ManagementService.d.ts +73 -0
- package/lib-es6/l1-application/definition/ManagementService.js +2 -0
- package/lib-es6/l1-application/definition/ManagementService.js.map +1 -0
- package/lib-es6/l1-application/definition/Provider.d.ts +2 -0
- package/lib-es6/l1-application/definition/Provider.js +2 -0
- package/lib-es6/l1-application/definition/Provider.js.map +1 -0
- package/lib-es6/l1-application/definition/SecureTokenChallenge.d.ts +39 -0
- package/lib-es6/l1-application/definition/SecureTokenChallenge.js +2 -0
- package/lib-es6/l1-application/definition/SecureTokenChallenge.js.map +1 -0
- package/lib-es6/l1-application/definition/TrustBuilderInstances.d.ts +20 -0
- package/lib-es6/l1-application/definition/TrustBuilderInstances.js +7 -0
- package/lib-es6/l1-application/definition/TrustBuilderInstances.js.map +1 -0
- package/lib-es6/l1-application/definition/UseCase.d.ts +8 -0
- package/lib-es6/l1-application/definition/UseCase.js +8 -0
- package/lib-es6/l1-application/definition/UseCase.js.map +1 -0
- package/lib-es6/l1-application/definition/UseCaseError.d.ts +4 -0
- package/lib-es6/l1-application/definition/UseCaseError.js +7 -0
- package/lib-es6/l1-application/definition/UseCaseError.js.map +1 -0
- package/lib-es6/l1-application/definition/WebTokenManager.d.ts +5 -0
- package/lib-es6/l1-application/definition/WebTokenManager.js +2 -0
- package/lib-es6/l1-application/definition/WebTokenManager.js.map +1 -0
- package/lib-es6/l1-application/definition/errors/ArgumentError.d.ts +4 -0
- package/lib-es6/l1-application/definition/errors/ArgumentError.js +7 -0
- package/lib-es6/l1-application/definition/errors/ArgumentError.js.map +1 -0
- package/lib-es6/l1-application/definition/errors/Errors.d.ts +61 -0
- package/lib-es6/l1-application/definition/errors/Errors.js +137 -0
- package/lib-es6/l1-application/definition/errors/Errors.js.map +1 -0
- package/lib-es6/l1-application/definition/index.d.ts +9 -0
- package/lib-es6/l1-application/definition/index.js +10 -0
- package/lib-es6/l1-application/definition/index.js.map +1 -0
- package/lib-es6/l1-application/helpers/CodeHelper.d.ts +1 -0
- package/lib-es6/l1-application/helpers/CodeHelper.js +4 -0
- package/lib-es6/l1-application/helpers/CodeHelper.js.map +1 -0
- package/lib-es6/l1-application/helpers/CredentialHelper.d.ts +4 -0
- package/lib-es6/l1-application/helpers/CredentialHelper.js +28 -0
- package/lib-es6/l1-application/helpers/CredentialHelper.js.map +1 -0
- package/lib-es6/l1-application/helpers/Utils.d.ts +3 -0
- package/lib-es6/l1-application/helpers/Utils.js +11 -0
- package/lib-es6/l1-application/helpers/Utils.js.map +1 -0
- package/lib-es6/l1-application/helpers/get-tenant-info/tenant-service.d.ts +42 -0
- package/lib-es6/l1-application/helpers/get-tenant-info/tenant-service.js +34 -0
- package/lib-es6/l1-application/helpers/get-tenant-info/tenant-service.js.map +1 -0
- package/lib-es6/l1-application/logging/LoggerDecorator.d.ts +1 -0
- package/lib-es6/l1-application/logging/LoggerDecorator.js +14 -0
- package/lib-es6/l1-application/logging/LoggerDecorator.js.map +1 -0
- package/lib-es6/l1-application/repository/SecureTokenEntityGateway.d.ts +27 -0
- package/lib-es6/l1-application/repository/SecureTokenEntityGateway.js +28 -0
- package/lib-es6/l1-application/repository/SecureTokenEntityGateway.js.map +1 -0
- package/lib-es6/l1-application/security/ActivationCodeManager.d.ts +11 -0
- package/lib-es6/l1-application/security/ActivationCodeManager.js +50 -0
- package/lib-es6/l1-application/security/ActivationCodeManager.js.map +1 -0
- package/lib-es6/l1-application/security/ActivationPackageManager.d.ts +6 -0
- package/lib-es6/l1-application/security/ActivationPackageManager.js +53 -0
- package/lib-es6/l1-application/security/ActivationPackageManager.js.map +1 -0
- package/lib-es6/l1-application/security/ChallengeManager.d.ts +10 -0
- package/lib-es6/l1-application/security/ChallengeManager.js +15 -0
- package/lib-es6/l1-application/security/ChallengeManager.js.map +1 -0
- package/lib-es6/l1-application/security/CredTypeProvider.d.ts +3 -0
- package/lib-es6/l1-application/security/CredTypeProvider.js +4 -0
- package/lib-es6/l1-application/security/CredTypeProvider.js.map +1 -0
- package/lib-es6/l1-application/security/DecryptAndVerifyInterface.d.ts +6 -0
- package/lib-es6/l1-application/security/DecryptAndVerifyInterface.js +2 -0
- package/lib-es6/l1-application/security/DecryptAndVerifyInterface.js.map +1 -0
- package/lib-es6/l1-application/security/FailableGenerator.d.ts +7 -0
- package/lib-es6/l1-application/security/FailableGenerator.js +5 -0
- package/lib-es6/l1-application/security/FailableGenerator.js.map +1 -0
- package/lib-es6/l1-application/security/GenerateCstrRequestFactory.d.ts +22 -0
- package/lib-es6/l1-application/security/GenerateCstrRequestFactory.js +54 -0
- package/lib-es6/l1-application/security/GenerateCstrRequestFactory.js.map +1 -0
- package/lib-es6/l1-application/security/GenerateOtpRequestFactory.d.ts +84 -0
- package/lib-es6/l1-application/security/GenerateOtpRequestFactory.js +235 -0
- package/lib-es6/l1-application/security/GenerateOtpRequestFactory.js.map +1 -0
- package/lib-es6/l1-application/security/InstanceResolver.d.ts +14 -0
- package/lib-es6/l1-application/security/InstanceResolver.js +42 -0
- package/lib-es6/l1-application/security/InstanceResolver.js.map +1 -0
- package/lib-es6/l1-application/security/SecretCodeVerifierManager.d.ts +9 -0
- package/lib-es6/l1-application/security/SecretCodeVerifierManager.js +257 -0
- package/lib-es6/l1-application/security/SecretCodeVerifierManager.js.map +1 -0
- package/lib-es6/l1-application/security/UnlockCodeManager.d.ts +11 -0
- package/lib-es6/l1-application/security/UnlockCodeManager.js +49 -0
- package/lib-es6/l1-application/security/UnlockCodeManager.js.map +1 -0
- package/lib-es6/l1-application/security/UpdateSecureTokenWithChallenge.d.ts +40 -0
- package/lib-es6/l1-application/security/UpdateSecureTokenWithChallenge.js +59 -0
- package/lib-es6/l1-application/security/UpdateSecureTokenWithChallenge.js.map +1 -0
- package/lib-es6/l1-application/security/errors/GenerateOtpError.d.ts +4 -0
- package/lib-es6/l1-application/security/errors/GenerateOtpError.js +7 -0
- package/lib-es6/l1-application/security/errors/GenerateOtpError.js.map +1 -0
- package/lib-es6/l1-application/security/errors/InconsistentBusinessDataHashError.d.ts +4 -0
- package/lib-es6/l1-application/security/errors/InconsistentBusinessDataHashError.js +8 -0
- package/lib-es6/l1-application/security/errors/InconsistentBusinessDataHashError.js.map +1 -0
- package/lib-es6/l1-application/security/errors/InvalidActivationCodeError.d.ts +4 -0
- package/lib-es6/l1-application/security/errors/InvalidActivationCodeError.js +7 -0
- package/lib-es6/l1-application/security/errors/InvalidActivationCodeError.js.map +1 -0
- package/lib-es6/l1-application/security/errors/InvalidParameterError.d.ts +4 -0
- package/lib-es6/l1-application/security/errors/InvalidParameterError.js +8 -0
- package/lib-es6/l1-application/security/errors/InvalidParameterError.js.map +1 -0
- package/lib-es6/l1-application/security/errors/InvalidWebTokenError.d.ts +4 -0
- package/lib-es6/l1-application/security/errors/InvalidWebTokenError.js +8 -0
- package/lib-es6/l1-application/security/errors/InvalidWebTokenError.js.map +1 -0
- package/lib-es6/l1-application/security/errors/index.d.ts +5 -0
- package/lib-es6/l1-application/security/errors/index.js +6 -0
- package/lib-es6/l1-application/security/errors/index.js.map +1 -0
- package/lib-es6/l1-application/security/index.d.ts +8 -0
- package/lib-es6/l1-application/security/index.js +9 -0
- package/lib-es6/l1-application/security/index.js.map +1 -0
- package/lib-es6/l1-application/serializers/SecureTokenSerializer.d.ts +18 -0
- package/lib-es6/l1-application/serializers/SecureTokenSerializer.js +18 -0
- package/lib-es6/l1-application/serializers/SecureTokenSerializer.js.map +1 -0
- package/lib-es6/l1-application/usecases/ISingleUseCase.d.ts +8 -0
- package/lib-es6/l1-application/usecases/ISingleUseCase.js +7 -0
- package/lib-es6/l1-application/usecases/ISingleUseCase.js.map +1 -0
- package/lib-es6/l1-application/usecases/IUseCase.d.ts +11 -0
- package/lib-es6/l1-application/usecases/IUseCase.js +9 -0
- package/lib-es6/l1-application/usecases/IUseCase.js.map +1 -0
- package/lib-es6/l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration.d.ts +34 -0
- package/lib-es6/l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration.js +64 -0
- package/lib-es6/l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration.js.map +1 -0
- package/lib-es6/l1-application/usecases/authSessionCancellation/AuthSessionCancellation.d.ts +32 -0
- package/lib-es6/l1-application/usecases/authSessionCancellation/AuthSessionCancellation.js +47 -0
- package/lib-es6/l1-application/usecases/authSessionCancellation/AuthSessionCancellation.js.map +1 -0
- package/lib-es6/l1-application/usecases/authentication/Authentication.d.ts +26 -0
- package/lib-es6/l1-application/usecases/authentication/Authentication.js +34 -0
- package/lib-es6/l1-application/usecases/authentication/Authentication.js.map +1 -0
- package/lib-es6/l1-application/usecases/authorizationRequest/AuthorizationRequest.d.ts +28 -0
- package/lib-es6/l1-application/usecases/authorizationRequest/AuthorizationRequest.js +48 -0
- package/lib-es6/l1-application/usecases/authorizationRequest/AuthorizationRequest.js.map +1 -0
- package/lib-es6/l1-application/usecases/biokeyRegistration/BiokeyRegistration.d.ts +47 -0
- package/lib-es6/l1-application/usecases/biokeyRegistration/BiokeyRegistration.js +60 -0
- package/lib-es6/l1-application/usecases/biokeyRegistration/BiokeyRegistration.js.map +1 -0
- package/lib-es6/l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken.d.ts +22 -0
- package/lib-es6/l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken.js +36 -0
- package/lib-es6/l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken.js.map +1 -0
- package/lib-es6/l1-application/usecases/inAppAuthentication/InAppAuthentication.d.ts +26 -0
- package/lib-es6/l1-application/usecases/inAppAuthentication/InAppAuthentication.js +33 -0
- package/lib-es6/l1-application/usecases/inAppAuthentication/InAppAuthentication.js.map +1 -0
- package/lib-es6/l1-application/usecases/inAppSealing/InAppSealing.d.ts +34 -0
- package/lib-es6/l1-application/usecases/inAppSealing/InAppSealing.js +49 -0
- package/lib-es6/l1-application/usecases/inAppSealing/InAppSealing.js.map +1 -0
- package/lib-es6/l1-application/usecases/offlineOtpGeneration/OfflineOtpGeneration.d.ts +28 -0
- package/lib-es6/l1-application/usecases/offlineOtpGeneration/OfflineOtpGeneration.js +17 -0
- package/lib-es6/l1-application/usecases/offlineOtpGeneration/OfflineOtpGeneration.js.map +1 -0
- package/lib-es6/l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval.d.ts +38 -0
- package/lib-es6/l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval.js +43 -0
- package/lib-es6/l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval.js.map +1 -0
- package/lib-es6/l1-application/usecases/pushIdRegistration/PushIdRegistration.d.ts +23 -0
- package/lib-es6/l1-application/usecases/pushIdRegistration/PushIdRegistration.js +49 -0
- package/lib-es6/l1-application/usecases/pushIdRegistration/PushIdRegistration.js.map +1 -0
- package/lib-es6/l1-application/usecases/requestActivationPackage/CreateSecureTokenPayloadFactory.d.ts +12 -0
- package/lib-es6/l1-application/usecases/requestActivationPackage/CreateSecureTokenPayloadFactory.js +42 -0
- package/lib-es6/l1-application/usecases/requestActivationPackage/CreateSecureTokenPayloadFactory.js.map +1 -0
- package/lib-es6/l1-application/usecases/requestActivationPackage/RequestActivationPackageUseCase.d.ts +24 -0
- package/lib-es6/l1-application/usecases/requestActivationPackage/RequestActivationPackageUseCase.js +82 -0
- package/lib-es6/l1-application/usecases/requestActivationPackage/RequestActivationPackageUseCase.js.map +1 -0
- package/lib-es6/l1-application/usecases/resetCodeGeneration/ResetCodeGeneration.d.ts +27 -0
- package/lib-es6/l1-application/usecases/resetCodeGeneration/ResetCodeGeneration.js +40 -0
- package/lib-es6/l1-application/usecases/resetCodeGeneration/ResetCodeGeneration.js.map +1 -0
- package/lib-es6/l1-application/usecases/sealing/Sealing.d.ts +39 -0
- package/lib-es6/l1-application/usecases/sealing/Sealing.js +71 -0
- package/lib-es6/l1-application/usecases/sealing/Sealing.js.map +1 -0
- package/lib-es6/l1-application/usecases/secretCodeChange/SecretCodeChange.d.ts +39 -0
- package/lib-es6/l1-application/usecases/secretCodeChange/SecretCodeChange.js +86 -0
- package/lib-es6/l1-application/usecases/secretCodeChange/SecretCodeChange.js.map +1 -0
- package/lib-es6/l1-application/usecases/secretCodeReset/SecretCodeReset.d.ts +39 -0
- package/lib-es6/l1-application/usecases/secretCodeReset/SecretCodeReset.js +78 -0
- package/lib-es6/l1-application/usecases/secretCodeReset/SecretCodeReset.js.map +1 -0
- package/lib-es6/l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment.d.ts +48 -0
- package/lib-es6/l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment.js +217 -0
- package/lib-es6/l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment.js.map +1 -0
- package/lib-es6/l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate.d.ts +24 -0
- package/lib-es6/l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate.js +39 -0
- package/lib-es6/l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate.js.map +1 -0
- package/lib-es6/l1-application/usecases/secureTokensListing/SecureTokensListing.d.ts +14 -0
- package/lib-es6/l1-application/usecases/secureTokensListing/SecureTokensListing.js +14 -0
- package/lib-es6/l1-application/usecases/secureTokensListing/SecureTokensListing.js.map +1 -0
- package/lib-es6/l1-application/usecases/shortOtpGeneration/ShortOtpGeneration.d.ts +25 -0
- package/lib-es6/l1-application/usecases/shortOtpGeneration/ShortOtpGeneration.js +12 -0
- package/lib-es6/l1-application/usecases/shortOtpGeneration/ShortOtpGeneration.js.map +1 -0
- package/lib-es6/l3-infrastructure/TrustBuilderMfaLib.d.ts +75 -0
- package/lib-es6/l3-infrastructure/TrustBuilderMfaLib.js +213 -0
- package/lib-es6/l3-infrastructure/TrustBuilderMfaLib.js.map +1 -0
- package/lib-es6/l3-infrastructure/config/Bootstrap.d.ts +74 -0
- package/lib-es6/l3-infrastructure/config/Bootstrap.js +121 -0
- package/lib-es6/l3-infrastructure/config/Bootstrap.js.map +1 -0
- package/lib-es6/l3-infrastructure/config/Logging.d.ts +2 -0
- package/lib-es6/l3-infrastructure/config/Logging.js +12 -0
- package/lib-es6/l3-infrastructure/config/Logging.js.map +1 -0
- package/lib-es6/l3-infrastructure/coreApi/CoreApi.d.ts +18 -0
- package/lib-es6/l3-infrastructure/coreApi/CoreApi.js +40 -0
- package/lib-es6/l3-infrastructure/coreApi/CoreApi.js.map +1 -0
- package/lib-es6/l3-infrastructure/coreApi/RequestInitBuilder.d.ts +6 -0
- package/lib-es6/l3-infrastructure/coreApi/RequestInitBuilder.js +4 -0
- package/lib-es6/l3-infrastructure/coreApi/RequestInitBuilder.js.map +1 -0
- package/lib-es6/l3-infrastructure/crypto/DecryptAndVerify.d.ts +9 -0
- package/lib-es6/l3-infrastructure/crypto/DecryptAndVerify.js +43 -0
- package/lib-es6/l3-infrastructure/crypto/DecryptAndVerify.js.map +1 -0
- package/lib-es6/l3-infrastructure/crypto/HashAndCrypt.d.ts +7 -0
- package/lib-es6/l3-infrastructure/crypto/HashAndCrypt.js +21 -0
- package/lib-es6/l3-infrastructure/crypto/HashAndCrypt.js.map +1 -0
- package/lib-es6/l3-infrastructure/crypto/Jose.d.ts +4 -0
- package/lib-es6/l3-infrastructure/crypto/Jose.js +25 -0
- package/lib-es6/l3-infrastructure/crypto/Jose.js.map +1 -0
- package/lib-es6/l3-infrastructure/crypto/KeyGenerator.d.ts +8 -0
- package/lib-es6/l3-infrastructure/crypto/KeyGenerator.js +22 -0
- package/lib-es6/l3-infrastructure/crypto/KeyGenerator.js.map +1 -0
- package/lib-es6/l3-infrastructure/crypto/SignAndCrypt.d.ts +6 -0
- package/lib-es6/l3-infrastructure/crypto/SignAndCrypt.js +25 -0
- package/lib-es6/l3-infrastructure/crypto/SignAndCrypt.js.map +1 -0
- package/lib-es6/l3-infrastructure/crypto/index.d.ts +5 -0
- package/lib-es6/l3-infrastructure/crypto/index.js +6 -0
- package/lib-es6/l3-infrastructure/crypto/index.js.map +1 -0
- package/lib-es6/l3-infrastructure/data/AsyncLocalStorage.d.ts +9 -0
- package/lib-es6/l3-infrastructure/data/AsyncLocalStorage.js +26 -0
- package/lib-es6/l3-infrastructure/data/AsyncLocalStorage.js.map +1 -0
- package/lib-es6/l3-infrastructure/data/AsyncStorage.d.ts +6 -0
- package/lib-es6/l3-infrastructure/data/AsyncStorage.js +2 -0
- package/lib-es6/l3-infrastructure/data/AsyncStorage.js.map +1 -0
- package/lib-es6/l3-infrastructure/data/SecureTokenStorageEntityGateway.d.ts +50 -0
- package/lib-es6/l3-infrastructure/data/SecureTokenStorageEntityGateway.js +91 -0
- package/lib-es6/l3-infrastructure/data/SecureTokenStorageEntityGateway.js.map +1 -0
- package/lib-es6/l3-infrastructure/network/ConsumeBusinessData.d.ts +2 -0
- package/lib-es6/l3-infrastructure/network/ConsumeBusinessData.js +24 -0
- package/lib-es6/l3-infrastructure/network/ConsumeBusinessData.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/activation/ActivationServiceImpl.d.ts +16 -0
- package/lib-es6/l3-infrastructure/services/activation/ActivationServiceImpl.js +73 -0
- package/lib-es6/l3-infrastructure/services/activation/ActivationServiceImpl.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/activationCode/ShortToLongCode.d.ts +7 -0
- package/lib-es6/l3-infrastructure/services/activationCode/ShortToLongCode.js +22 -0
- package/lib-es6/l3-infrastructure/services/activationCode/ShortToLongCode.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/auth/AuthServiceImpl.d.ts +20 -0
- package/lib-es6/l3-infrastructure/services/auth/AuthServiceImpl.js +31 -0
- package/lib-es6/l3-infrastructure/services/auth/AuthServiceImpl.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/auth/authenticate/Authenticate.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/auth/authenticate/Authenticate.js +52 -0
- package/lib-es6/l3-infrastructure/services/auth/authenticate/Authenticate.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/auth/cancelAuth/CancelAuth.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/auth/cancelAuth/CancelAuth.js +20 -0
- package/lib-es6/l3-infrastructure/services/auth/cancelAuth/CancelAuth.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/auth/seal/Seal.d.ts +7 -0
- package/lib-es6/l3-infrastructure/services/auth/seal/Seal.js +61 -0
- package/lib-es6/l3-infrastructure/services/auth/seal/Seal.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/auth/sessionGetChallenge/SessionGetChallenge.d.ts +12 -0
- package/lib-es6/l3-infrastructure/services/auth/sessionGetChallenge/SessionGetChallenge.js +38 -0
- package/lib-es6/l3-infrastructure/services/auth/sessionGetChallenge/SessionGetChallenge.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/credentials/ChangeSecretCode.d.ts +11 -0
- package/lib-es6/l3-infrastructure/services/credentials/ChangeSecretCode.js +54 -0
- package/lib-es6/l3-infrastructure/services/credentials/ChangeSecretCode.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/credentials/CredentialServiceImpl.d.ts +17 -0
- package/lib-es6/l3-infrastructure/services/credentials/CredentialServiceImpl.js +39 -0
- package/lib-es6/l3-infrastructure/services/credentials/CredentialServiceImpl.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/credentials/GenerateAndSendResetCode.d.ts +8 -0
- package/lib-es6/l3-infrastructure/services/credentials/GenerateAndSendResetCode.js +21 -0
- package/lib-es6/l3-infrastructure/services/credentials/GenerateAndSendResetCode.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/credentials/RegisterBioKey.d.ts +12 -0
- package/lib-es6/l3-infrastructure/services/credentials/RegisterBioKey.js +49 -0
- package/lib-es6/l3-infrastructure/services/credentials/RegisterBioKey.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/credentials/ResetSecretCode.d.ts +11 -0
- package/lib-es6/l3-infrastructure/services/credentials/ResetSecretCode.js +61 -0
- package/lib-es6/l3-infrastructure/services/credentials/ResetSecretCode.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/ManagementServiceImpl.d.ts +26 -0
- package/lib-es6/l3-infrastructure/services/management/ManagementServiceImpl.js +69 -0
- package/lib-es6/l3-infrastructure/services/management/ManagementServiceImpl.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/authorize/Authorize.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/management/authorize/Authorize.js +23 -0
- package/lib-es6/l3-infrastructure/services/management/authorize/Authorize.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/deleteSecureToken/DeleteSecureToken.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/management/deleteSecureToken/DeleteSecureToken.js +16 -0
- package/lib-es6/l3-infrastructure/services/management/deleteSecureToken/DeleteSecureToken.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/generateActivationCode/GenerateActivationCode.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/management/generateActivationCode/GenerateActivationCode.js +30 -0
- package/lib-es6/l3-infrastructure/services/management/generateActivationCode/GenerateActivationCode.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/getChallengeForSecureToken/GetChallengeForSecureToken.d.ts +18 -0
- package/lib-es6/l3-infrastructure/services/management/getChallengeForSecureToken/GetChallengeForSecureToken.js +50 -0
- package/lib-es6/l3-infrastructure/services/management/getChallengeForSecureToken/GetChallengeForSecureToken.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/getPendingAuthSessions/GetPendingAuthSessions.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/management/getPendingAuthSessions/GetPendingAuthSessions.js +21 -0
- package/lib-es6/l3-infrastructure/services/management/getPendingAuthSessions/GetPendingAuthSessions.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/getSecureTokenSessionToken/GetSecureTokenSessionToken.d.ts +11 -0
- package/lib-es6/l3-infrastructure/services/management/getSecureTokenSessionToken/GetSecureTokenSessionToken.js +40 -0
- package/lib-es6/l3-infrastructure/services/management/getSecureTokenSessionToken/GetSecureTokenSessionToken.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/inApp/InAppAuthenticate.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/management/inApp/InAppAuthenticate.js +59 -0
- package/lib-es6/l3-infrastructure/services/management/inApp/InAppAuthenticate.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/inApp/InAppSeal.d.ts +14 -0
- package/lib-es6/l3-infrastructure/services/management/inApp/InAppSeal.js +68 -0
- package/lib-es6/l3-infrastructure/services/management/inApp/InAppSeal.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/registerPushId/RegisterPushId.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/management/registerPushId/RegisterPushId.js +22 -0
- package/lib-es6/l3-infrastructure/services/management/registerPushId/RegisterPushId.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/management/updateSecureTokenFriendlyName/UpdateFriendlyName.d.ts +5 -0
- package/lib-es6/l3-infrastructure/services/management/updateSecureTokenFriendlyName/UpdateFriendlyName.js +22 -0
- package/lib-es6/l3-infrastructure/services/management/updateSecureTokenFriendlyName/UpdateFriendlyName.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetAuthSecureTokenChallenge.d.ts +12 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetAuthSecureTokenChallenge.js +23 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetAuthSecureTokenChallenge.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetChallengeRequestBuilder.d.ts +4 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetChallengeRequestBuilder.js +54 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetChallengeRequestBuilder.js.map +1 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetSecureTokenChallenge.d.ts +12 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetSecureTokenChallenge.js +11 -0
- package/lib-es6/l3-infrastructure/services/secureTokenChallenge/GetSecureTokenChallenge.js.map +1 -0
- package/lib-es6/version.d.ts +1 -0
- package/lib-es6/version.js +2 -0
- package/lib-es6/version.js.map +1 -0
- package/package.json +163 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HashAndCrypt = void 0;
|
|
4
|
+
class HashAndCrypt {
|
|
5
|
+
async hashAndCrypt(value, encPubKey) {
|
|
6
|
+
const hashed = await this.hashAsBuffer(value);
|
|
7
|
+
return await this.encrypt(hashed, encPubKey);
|
|
8
|
+
}
|
|
9
|
+
async hashAsBuffer(value) {
|
|
10
|
+
const result = await globalThis.crypto.subtle.digest("SHA-256", new Uint8Array(value));
|
|
11
|
+
return new Uint8Array(result);
|
|
12
|
+
}
|
|
13
|
+
async hash(value) {
|
|
14
|
+
const hashed = await this.hashAsBuffer(value);
|
|
15
|
+
return Buffer.from(hashed).toString("base64");
|
|
16
|
+
}
|
|
17
|
+
async encrypt(value, encPubKey) {
|
|
18
|
+
const der = Buffer.from(encPubKey, "base64");
|
|
19
|
+
const cryptoKey = await globalThis.crypto.subtle.importKey("spki", new Uint8Array(der), { name: "RSA-OAEP", hash: "SHA-256" }, false, ["encrypt"]);
|
|
20
|
+
const encrypted = await globalThis.crypto.subtle.encrypt({ name: "RSA-OAEP" }, cryptoKey, new Uint8Array(value));
|
|
21
|
+
return Buffer.from(encrypted).toString("base64");
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.HashAndCrypt = HashAndCrypt;
|
|
25
|
+
//# sourceMappingURL=HashAndCrypt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashAndCrypt.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/HashAndCrypt.ts"],"names":[],"mappings":";;;AAGA,MAAa,YAAY;IACvB,KAAK,CAAC,YAAY,CAAC,KAAiB,EAAE,SAAiB;QACrD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC9C,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAiB;QAClC,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;QACvF,OAAO,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,KAAiB;QAC1B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC9C,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAChD,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,KAAiB,EAAE,SAAiB;QAChD,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC7C,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CACxD,MAAM,EACN,IAAI,UAAU,CAAC,GAAG,CAAC,EACnB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EACrC,KAAK,EACL,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CACtD,EAAE,IAAI,EAAE,UAAU,EAAE,EACpB,SAAS,EACT,IAAI,UAAU,CAAC,KAAK,CAAC,CACtB,CAAC;QACF,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACnD,CAAC;CACF;AAhCD,oCAgCC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { KeyLike } from 'jose';
|
|
2
|
+
export declare function makePrivateKey(privateKey: object | string, alg?: string): Promise<KeyLike>;
|
|
3
|
+
export declare const makePublicKeyForEncryption: (pubKey: string) => Promise<KeyLike>;
|
|
4
|
+
export declare const makePublicKeyForSignatureVerification: (pubKey: any) => Promise<KeyLike>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.makePublicKeyForSignatureVerification = exports.makePublicKeyForEncryption = void 0;
|
|
4
|
+
exports.makePrivateKey = makePrivateKey;
|
|
5
|
+
const jose_1 = require("jose");
|
|
6
|
+
function spkiBase64ToPem(base64) {
|
|
7
|
+
const formatted = base64.match(/.{1,64}/g)?.join('\n') || base64;
|
|
8
|
+
return `-----BEGIN PUBLIC KEY-----\n${formatted}\n-----END PUBLIC KEY-----`;
|
|
9
|
+
}
|
|
10
|
+
function makePrivateKey(privateKey, alg = 'PS256') {
|
|
11
|
+
if (typeof privateKey === 'string') {
|
|
12
|
+
return (0, jose_1.importPKCS8)(privateKey, alg);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
return (0, jose_1.importJWK)(privateKey, alg);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
const makePublicKeyForEncryption = async (pubKey) => {
|
|
19
|
+
const pem = spkiBase64ToPem(pubKey);
|
|
20
|
+
return (0, jose_1.importSPKI)(pem, 'RSA-OAEP-256');
|
|
21
|
+
};
|
|
22
|
+
exports.makePublicKeyForEncryption = makePublicKeyForEncryption;
|
|
23
|
+
const makePublicKeyForSignatureVerification = async (pubKey) => {
|
|
24
|
+
if ('string' == typeof pubKey) {
|
|
25
|
+
const pem = spkiBase64ToPem(pubKey);
|
|
26
|
+
return (0, jose_1.importSPKI)(pem, 'PS256');
|
|
27
|
+
}
|
|
28
|
+
return pubKey;
|
|
29
|
+
};
|
|
30
|
+
exports.makePublicKeyForSignatureVerification = makePublicKeyForSignatureVerification;
|
|
31
|
+
//# sourceMappingURL=Jose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Jose.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/Jose.ts"],"names":[],"mappings":";;;AAOA,wCAMC;AAbD,+BAAwE;AAExE,SAAS,eAAe,CAAC,MAAc;IACrC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC;IACjE,OAAO,+BAA+B,SAAS,4BAA4B,CAAC;AAC9E,CAAC;AAED,SAAgB,cAAc,CAAC,UAA2B,EAAE,GAAG,GAAG,OAAO;IACvE,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;QACnC,OAAO,IAAA,kBAAW,EAAC,UAAU,EAAE,GAAG,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,IAAA,gBAAS,EAAC,UAAiB,EAAE,GAAG,CAAqB,CAAC;IAC/D,CAAC;AACH,CAAC;AAEM,MAAM,0BAA0B,GAAG,KAAK,EAAE,MAAc,EAAoB,EAAE;IACnF,MAAM,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACpC,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,cAAc,CAAC,CAAC;AACzC,CAAC,CAAC;AAHW,QAAA,0BAA0B,8BAGrC;AAEK,MAAM,qCAAqC,GAAG,KAAK,EAAE,MAAM,EAAoB,EAAE;IACtF,IAAI,QAAQ,IAAI,OAAO,MAAM,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACpC,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AANW,QAAA,qCAAqC,yCAMhD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.generateTknKey = void 0;
|
|
4
|
+
const jose_1 = require("jose");
|
|
5
|
+
function pemContent(pem, bIsPrivate = false) {
|
|
6
|
+
// fetch the part of the PEM string between header and footer
|
|
7
|
+
const pemHeader = bIsPrivate ? '-----BEGIN RSA PRIVATE KEY-----' : '-----BEGIN PUBLIC KEY-----';
|
|
8
|
+
const pemFooter = bIsPrivate ? '-----END RSA PRIVATE KEY-----' : '-----END PUBLIC KEY-----';
|
|
9
|
+
return pem.substring(pemHeader.length, pem.length - pemFooter.length);
|
|
10
|
+
}
|
|
11
|
+
const generateTknKey = async (keyops) => {
|
|
12
|
+
const { publicKey, privateKey } = await (0, jose_1.generateKeyPair)('PS256', {
|
|
13
|
+
modulusLength: 3072,
|
|
14
|
+
extractable: true,
|
|
15
|
+
});
|
|
16
|
+
const spkiPem = await (0, jose_1.exportSPKI)(publicKey);
|
|
17
|
+
const pemKey = spkiPem.replace(/\r?\n|\r/g, '');
|
|
18
|
+
const pub = pemContent(pemKey);
|
|
19
|
+
const priv = (await (0, jose_1.exportJWK)(privateKey));
|
|
20
|
+
delete priv.alg;
|
|
21
|
+
priv.key_ops = keyops;
|
|
22
|
+
const publicFormat = 'SPKI';
|
|
23
|
+
return { priv: priv, pub: pub, pubFormat: publicFormat };
|
|
24
|
+
};
|
|
25
|
+
exports.generateTknKey = generateTknKey;
|
|
26
|
+
//# sourceMappingURL=KeyGenerator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyGenerator.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/KeyGenerator.ts"],"names":[],"mappings":";;;AACA,+BAA8D;AAE9D,SAAS,UAAU,CAAC,GAAW,EAAE,aAAsB,KAAK;IAC1D,6DAA6D;IAC7D,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,4BAA4B,CAAC;IAChG,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,0BAA0B,CAAC;IAC5F,OAAO,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AACxE,CAAC;AAEM,MAAM,cAAc,GAAG,KAAK,EAAE,MAAgB,EAAE,EAAE;IACvD,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,MAAM,IAAA,sBAAe,EAAC,OAAO,EAAE;QAC/D,aAAa,EAAE,IAAI;QACnB,WAAW,EAAE,IAAI;KAClB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,MAAM,IAAA,iBAAU,EAAC,SAAS,CAAC,CAAC;IAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;IAChD,MAAM,GAAG,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAE/B,MAAM,IAAI,GAAG,CAAC,MAAM,IAAA,gBAAS,EAAC,UAAU,CAAC,CAExC,CAAC;IACF,OAAO,IAAI,CAAC,GAAG,CAAC;IAChB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACtB,MAAM,YAAY,GAAG,MAAuB,CAAC;IAE7C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;AAC3D,CAAC,CAAC;AAlBW,QAAA,cAAc,kBAkBzB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Base64, PrivateKey, SignAndCryptInterface } from '../../generator-ts';
|
|
2
|
+
export declare class SignAndCrypt implements SignAndCryptInterface {
|
|
3
|
+
sign(header: object, payload: object, sigKey: object | string): Promise<string>;
|
|
4
|
+
signAndCrypt(header: object, payload: object, sigKey: PrivateKey, pubKey: Base64): Promise<string>;
|
|
5
|
+
}
|
|
6
|
+
export default SignAndCrypt;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SignAndCrypt = void 0;
|
|
4
|
+
const jose_1 = require("jose");
|
|
5
|
+
const Jose_1 = require("./Jose");
|
|
6
|
+
class SignAndCrypt {
|
|
7
|
+
async sign(header, payload, sigKey) {
|
|
8
|
+
const key = await (0, Jose_1.makePrivateKey)(sigKey);
|
|
9
|
+
const sPayload = JSON.stringify(payload);
|
|
10
|
+
const token = await new jose_1.CompactSign(new TextEncoder().encode(sPayload))
|
|
11
|
+
.setProtectedHeader({ ...header, alg: 'PS256' })
|
|
12
|
+
.sign(key);
|
|
13
|
+
return token;
|
|
14
|
+
}
|
|
15
|
+
async signAndCrypt(header, payload, sigKey, pubKey) {
|
|
16
|
+
const cryptKey = await (0, Jose_1.makePublicKeyForEncryption)(pubKey);
|
|
17
|
+
const token = await this.sign(header, payload, sigKey);
|
|
18
|
+
return await new jose_1.CompactEncrypt(new TextEncoder().encode(token))
|
|
19
|
+
.setProtectedHeader({
|
|
20
|
+
...header,
|
|
21
|
+
alg: 'RSA-OAEP-256',
|
|
22
|
+
enc: 'A256CBC-HS512',
|
|
23
|
+
})
|
|
24
|
+
.encrypt(cryptKey);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.SignAndCrypt = SignAndCrypt;
|
|
28
|
+
exports.default = SignAndCrypt;
|
|
29
|
+
//# sourceMappingURL=SignAndCrypt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignAndCrypt.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/SignAndCrypt.ts"],"names":[],"mappings":";;;AAAA,+BAAmD;AAEnD,iCAAoE;AAIpE,MAAa,YAAY;IACvB,KAAK,CAAC,IAAI,CAAC,MAAc,EAAE,OAAe,EAAE,MAAuB;QACjE,MAAM,GAAG,GAAG,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,CAAC;QAEzC,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACzC,MAAM,KAAK,GAAG,MAAM,IAAI,kBAAW,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;aACpE,kBAAkB,CAAC,EAAE,GAAI,MAAuB,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;aACjE,IAAI,CAAC,GAAG,CAAC,CAAC;QACb,OAAO,KAAK,CAAC;IACf,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,MAAc,EAAE,OAAe,EAAE,MAAkB,EAAE,MAAc;QACpF,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAA0B,EAAC,MAAM,CAAC,CAAC;QAC1D,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAEvD,OAAO,MAAM,IAAI,qBAAc,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;aAC7D,kBAAkB,CAAC;YAClB,GAAI,MAAuB;YAC3B,GAAG,EAAE,cAAc;YACnB,GAAG,EAAE,eAAe;SACrB,CAAC;aACD,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvB,CAAC;CACF;AAvBD,oCAuBC;AAED,kBAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.HashAndCrypt = exports.DecryptAndVerify = exports.SignAndCrypt = void 0;
|
|
18
|
+
__exportStar(require("./KeyGenerator"), exports);
|
|
19
|
+
var SignAndCrypt_1 = require("./SignAndCrypt");
|
|
20
|
+
Object.defineProperty(exports, "SignAndCrypt", { enumerable: true, get: function () { return SignAndCrypt_1.SignAndCrypt; } });
|
|
21
|
+
var DecryptAndVerify_1 = require("./DecryptAndVerify");
|
|
22
|
+
Object.defineProperty(exports, "DecryptAndVerify", { enumerable: true, get: function () { return DecryptAndVerify_1.DecryptAndVerify; } });
|
|
23
|
+
var HashAndCrypt_1 = require("./HashAndCrypt");
|
|
24
|
+
Object.defineProperty(exports, "HashAndCrypt", { enumerable: true, get: function () { return HashAndCrypt_1.HashAndCrypt; } });
|
|
25
|
+
__exportStar(require("./Jose"), exports);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,+CAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,yCAAuB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AsyncStorage } from './AsyncStorage';
|
|
2
|
+
export declare class AsyncLocalStorage implements AsyncStorage {
|
|
3
|
+
private readonly storage?;
|
|
4
|
+
constructor(storage?: Storage);
|
|
5
|
+
getItem(key: string): Promise<string | null>;
|
|
6
|
+
removeItem(key: string): Promise<void>;
|
|
7
|
+
setItem(key: string, value: string): Promise<void>;
|
|
8
|
+
getAllKeys(): Promise<string[]>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AsyncLocalStorage = void 0;
|
|
4
|
+
class AsyncLocalStorage {
|
|
5
|
+
constructor(storage) {
|
|
6
|
+
this.storage = storage;
|
|
7
|
+
}
|
|
8
|
+
async getItem(key) {
|
|
9
|
+
if (!this.storage)
|
|
10
|
+
return null;
|
|
11
|
+
return this.storage.getItem(key);
|
|
12
|
+
}
|
|
13
|
+
async removeItem(key) {
|
|
14
|
+
if (!this.storage)
|
|
15
|
+
return;
|
|
16
|
+
return this.storage.removeItem(key);
|
|
17
|
+
}
|
|
18
|
+
async setItem(key, value) {
|
|
19
|
+
if (!this.storage)
|
|
20
|
+
return;
|
|
21
|
+
return this.storage.setItem(key, value);
|
|
22
|
+
}
|
|
23
|
+
async getAllKeys() {
|
|
24
|
+
if (!this.storage)
|
|
25
|
+
return [];
|
|
26
|
+
return Object.keys(this.storage);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.AsyncLocalStorage = AsyncLocalStorage;
|
|
30
|
+
//# sourceMappingURL=AsyncLocalStorage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsyncLocalStorage.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/data/AsyncLocalStorage.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAC5B,YAA6B,OAAiB;QAAjB,YAAO,GAAP,OAAO,CAAU;IAAG,CAAC;IAClD,KAAK,CAAC,OAAO,CAAC,GAAW;QACvB,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,IAAI,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,GAAW;QAC1B,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IACtC,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,GAAW,EAAE,KAAa;QACtC,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,KAAK,CAAC,UAAU;QACd,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;CACF;AAlBD,8CAkBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsyncStorage.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/data/AsyncStorage.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SecureToken } from "../../l0-domain/entities";
|
|
2
|
+
import { FailableAsync } from "../../l1-application/definition";
|
|
3
|
+
import { CreateSecureTokenPayload, LocalSecureTokenNotFoundErr, SecureTokenEntityGateway } from "../../l1-application/repository/SecureTokenEntityGateway";
|
|
4
|
+
import { AsyncStorage } from "./AsyncStorage";
|
|
5
|
+
export declare class SecureTokenStorageEntityGateway implements SecureTokenEntityGateway {
|
|
6
|
+
private storage;
|
|
7
|
+
static Prefix: string;
|
|
8
|
+
constructor(storage: AsyncStorage);
|
|
9
|
+
createSecureToken(payload: CreateSecureTokenPayload): Promise<SecureToken>;
|
|
10
|
+
getExistingSecureToken(payload: CreateSecureTokenPayload): Promise<SecureToken>;
|
|
11
|
+
getAll(): Promise<SecureToken[]>;
|
|
12
|
+
getSecureToken(tknAlias: string): FailableAsync<{
|
|
13
|
+
user: {
|
|
14
|
+
tntAlias: string;
|
|
15
|
+
tntName: string;
|
|
16
|
+
login: string;
|
|
17
|
+
ualias: string;
|
|
18
|
+
};
|
|
19
|
+
token: {
|
|
20
|
+
alias: string;
|
|
21
|
+
k0: string;
|
|
22
|
+
k1: string;
|
|
23
|
+
tntSignPubKey: string;
|
|
24
|
+
tntEncPubKey: string;
|
|
25
|
+
tknSignPubKey: string;
|
|
26
|
+
tknSignPrivKey: string | {
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
tknEncPubKey: string;
|
|
30
|
+
tknEncPrivKey: string | {
|
|
31
|
+
[key: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
34
|
+
scrib: string;
|
|
35
|
+
parameters: {
|
|
36
|
+
bioAuthorized: boolean;
|
|
37
|
+
bioAvailable: boolean;
|
|
38
|
+
email: string;
|
|
39
|
+
selfUnlockCodeEnabled: boolean;
|
|
40
|
+
resetCodeDistributionMode: import("../../l0-domain/base").ResetCodeDistributionMode;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
serverUrl: string;
|
|
44
|
+
}, LocalSecureTokenNotFoundErr>;
|
|
45
|
+
private getPromisedSecureToken;
|
|
46
|
+
private getSecureTokenByTntAliasAndUserAlias;
|
|
47
|
+
saveSecureToken(secureToken: SecureToken): Promise<SecureToken>;
|
|
48
|
+
convertToSecureToken(key: string): Promise<SecureToken | null>;
|
|
49
|
+
deleteSecureToken(tknAlias: string): Promise<boolean>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecureTokenStorageEntityGateway = void 0;
|
|
4
|
+
const Either_1 = require("fp-ts/lib/Either");
|
|
5
|
+
const generator_ts_1 = require("../../generator-ts");
|
|
6
|
+
const entities_1 = require("../../l0-domain/entities");
|
|
7
|
+
const definition_1 = require("../../l1-application/definition");
|
|
8
|
+
const SecureTokenEntityGateway_1 = require("../../l1-application/repository/SecureTokenEntityGateway");
|
|
9
|
+
const logger = generator_ts_1.logging.getLogger('l3-infrastructure.data.SecureTokenStorageEntityGateway');
|
|
10
|
+
class SecureTokenStorageEntityGateway {
|
|
11
|
+
constructor(storage) {
|
|
12
|
+
this.storage = storage;
|
|
13
|
+
}
|
|
14
|
+
async createSecureToken(payload) {
|
|
15
|
+
const eitherSecureToken = entities_1.SecureTokenCodec.decode(payload);
|
|
16
|
+
if ((0, Either_1.isRight)(eitherSecureToken)) {
|
|
17
|
+
const secureToken = eitherSecureToken.right;
|
|
18
|
+
const existingUserSecureToken = await this.getSecureTokenByTntAliasAndUserAlias(payload.user.tntAlias, payload.user.ualias);
|
|
19
|
+
await this.saveSecureToken(secureToken);
|
|
20
|
+
if (existingUserSecureToken !== null) {
|
|
21
|
+
logger.info("Delete existing secure token in storage for user '" + payload.user.ualias + "' in tenant '" + payload.user.tntAlias + "'");
|
|
22
|
+
this.deleteSecureToken(existingUserSecureToken.token.alias);
|
|
23
|
+
}
|
|
24
|
+
logger.info("Secure token created for user '" + payload.user.ualias + "' in tenant '" + payload.user.tntAlias + "'");
|
|
25
|
+
return secureToken;
|
|
26
|
+
}
|
|
27
|
+
return Promise.reject();
|
|
28
|
+
}
|
|
29
|
+
async getExistingSecureToken(payload) {
|
|
30
|
+
const eitherSecureToken = entities_1.SecureTokenCodec.decode(payload);
|
|
31
|
+
if ((0, Either_1.isRight)(eitherSecureToken)) {
|
|
32
|
+
const existingUserSecureToken = await this.getSecureTokenByTntAliasAndUserAlias(payload.user.tntAlias, payload.user.ualias);
|
|
33
|
+
if (existingUserSecureToken !== null) {
|
|
34
|
+
return existingUserSecureToken;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
async getAll() {
|
|
40
|
+
const tokens = await this.storage.getAllKeys();
|
|
41
|
+
const filteredTokens = tokens.filter(k => k.startsWith(SecureTokenStorageEntityGateway.Prefix))
|
|
42
|
+
.map(k => this.convertToSecureToken(k));
|
|
43
|
+
const results = await Promise.all(filteredTokens);
|
|
44
|
+
return results.filter((t) => t !== null);
|
|
45
|
+
}
|
|
46
|
+
getSecureToken(tknAlias) {
|
|
47
|
+
const token = this.getPromisedSecureToken(tknAlias);
|
|
48
|
+
return definition_1.FailableAsync.fromPromise(token, (_) => new SecureTokenEntityGateway_1.LocalSecureTokenNotFoundErr());
|
|
49
|
+
}
|
|
50
|
+
async getPromisedSecureToken(tknAlias) {
|
|
51
|
+
const tokens = await this.getAll();
|
|
52
|
+
const token = tokens.find(token => token.token.alias.toLowerCase() == tknAlias.toLowerCase());
|
|
53
|
+
if (!token)
|
|
54
|
+
return Promise.reject();
|
|
55
|
+
return token;
|
|
56
|
+
}
|
|
57
|
+
async getSecureTokenByTntAliasAndUserAlias(tntAlias, usrAlias) {
|
|
58
|
+
const tokens = await this.getAll();
|
|
59
|
+
const token = tokens.find(token => token.user.tntAlias.toLowerCase() == tntAlias.toLowerCase()
|
|
60
|
+
&& token.user.ualias.toLowerCase() == usrAlias.toLowerCase());
|
|
61
|
+
if (!token)
|
|
62
|
+
return null;
|
|
63
|
+
return token;
|
|
64
|
+
}
|
|
65
|
+
async saveSecureToken(secureToken) {
|
|
66
|
+
const key = `${SecureTokenStorageEntityGateway.Prefix}${secureToken.token.alias}`;
|
|
67
|
+
await this.storage.setItem(key, entities_1.SecureTokenCodec.encode(secureToken));
|
|
68
|
+
return secureToken;
|
|
69
|
+
}
|
|
70
|
+
async convertToSecureToken(key) {
|
|
71
|
+
const value = await this.storage.getItem(key);
|
|
72
|
+
return toSecureToken(value);
|
|
73
|
+
}
|
|
74
|
+
async deleteSecureToken(tknAlias) {
|
|
75
|
+
const key = `${SecureTokenStorageEntityGateway.Prefix}${tknAlias}`;
|
|
76
|
+
await this.storage.removeItem(key);
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.SecureTokenStorageEntityGateway = SecureTokenStorageEntityGateway;
|
|
81
|
+
SecureTokenStorageEntityGateway.Prefix = 'nst_';
|
|
82
|
+
const toSecureToken = (value) => {
|
|
83
|
+
if (!value) {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
let decoded = JSON.parse(value);
|
|
87
|
+
if (decoded.version == 1) {
|
|
88
|
+
decoded = { ...decoded, ...{ scrib: "", version: 2 } };
|
|
89
|
+
}
|
|
90
|
+
if (decoded.version < 7) {
|
|
91
|
+
decoded = { ...decoded };
|
|
92
|
+
}
|
|
93
|
+
return { serverUrl: decoded.serverUrl, user: decoded.user, token: decoded.token };
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=SecureTokenStorageEntityGateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecureTokenStorageEntityGateway.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/data/SecureTokenStorageEntityGateway.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAE1C,qDAA4C;AAE5C,uDAAwE;AACxE,gEAAgE;AAChE,uGAA2J;AAK3J,MAAM,MAAM,GAAG,sBAAO,CAAC,SAAS,CAAC,wDAAwD,CAAC,CAAC;AAG3F,MAAa,+BAA+B;IAGxC,YAAoB,OAAqB;QAArB,YAAO,GAAP,OAAO,CAAc;IAAG,CAAC;IAE7C,KAAK,CAAC,iBAAiB,CAAC,OAAiC;QACrD,MAAM,iBAAiB,GAAG,2BAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3D,IAAI,IAAA,gBAAO,EAAC,iBAAiB,CAAC,EAAE,CAAC;YAC7B,MAAM,WAAW,GAAG,iBAAiB,CAAC,KAAK,CAAA;YAC3C,MAAM,uBAAuB,GAAG,MAAM,IAAI,CAAC,oCAAoC,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC5H,MAAM,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;YAExC,IAAI,uBAAuB,KAAK,IAAI,EAAE,CAAC;gBACnC,MAAM,CAAC,IAAI,CAAC,oDAAoD,GAAG,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;gBACxI,IAAI,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAChE,CAAC;YACD,MAAM,CAAC,IAAI,CAAC,iCAAiC,GAAG,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;YACrH,OAAO,WAAW,CAAA;QACtB,CAAC;QACD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;IAC3B,CAAC;IAED,KAAK,CAAC,sBAAsB,CAAC,OAAiC;QAC1D,MAAM,iBAAiB,GAAG,2BAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3D,IAAI,IAAA,gBAAO,EAAC,iBAAiB,CAAC,EAAE,CAAC;YAC7B,MAAM,uBAAuB,GAAG,MAAM,IAAI,CAAC,oCAAoC,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAE5H,IAAI,uBAAuB,KAAK,IAAI,EAAE,CAAC;gBACnC,OAAO,uBAAuB,CAAC;YACnC,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,MAAM;QACR,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAA;QAC9C,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAA,EAAE,CAAA,CAAC,CAAC,UAAU,CAAC,+BAA+B,CAAC,MAAM,CAAC,CAAC;aACxF,GAAG,CAAC,CAAC,CAAA,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAClD,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAoB,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED,cAAc,CAAC,QAAe;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC;QACpD,OAAO,0BAAa,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,sDAA2B,EAAE,CAAC,CAAC;IACtF,CAAC;IAEO,KAAK,CAAC,sBAAsB,CAAC,QAAe;QAChD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC;QACnC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAA,EAAE,CAAA,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC;QAC5F,IAAI,CAAC,KAAK;YAAE,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QACnC,OAAO,KAAK,CAAA;IAChB,CAAC;IAEO,KAAK,CAAC,oCAAoC,CAAC,QAAe,EAAE,QAAgB;QAChF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC;QACnC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAA,EAAE,CAAA,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,IAAI,QAAQ,CAAC,WAAW,EAAE;eACxF,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC;QAC/D,IAAI,CAAC,KAAK;YAAE,OAAO,IAAI,CAAC;QACxB,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,WAAwB;QAC1C,MAAM,GAAG,GAAG,GAAG,+BAA+B,CAAC,MAAM,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,EAAE,CAAA;QACjF,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,2BAAgB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAA;QACrE,OAAO,WAAW,CAAA;IACtB,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,GAAW;QAClC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAC7C,OAAO,aAAa,CAAC,KAAK,CAAC,CAAA;IAC/B,CAAC;IAED,KAAK,CAAC,iBAAiB,CAAC,QAAe;QACnC,MAAM,GAAG,GAAG,GAAG,+BAA+B,CAAC,MAAM,GAAG,QAAQ,EAAE,CAAA;QAClE,MAAM,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACnC,OAAO,IAAI,CAAA;IACf,CAAC;;AA7EL,0EA+EC;AA9EU,sCAAM,GAAG,MAAM,CAAA;AAgF1B,MAAM,aAAa,GAAG,CAAC,KAAoB,EAAuB,EAAE;IAChE,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,IAAI,OAAO,CAAC,OAAO,IAAI,CAAC,EAAE,CAAC;QACvB,OAAO,GAAG,EAAC,GAAG,OAAO,EAAE,GAAG,EAAC,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAC,EAAC,CAAC;IACvD,CAAC;IACD,IAAI,OAAO,CAAC,OAAO,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO,GAAG,EAAC,GAAG,OAAO,EAAC,CAAA;IAC1B,CAAC;IACD,OAAO,EAAC,SAAS,EAAE,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAC,CAAA;AAEnF,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.consumeBusinessData = consumeBusinessData;
|
|
4
|
+
const typescript_http_client_1 = require("typescript-http-client");
|
|
5
|
+
const Errors_1 = require("../../l1-application/definition/errors/Errors");
|
|
6
|
+
async function consumeBusinessData(businessDataReq) {
|
|
7
|
+
if (businessDataReq == null) {
|
|
8
|
+
throw new Error('Empty download URL for BusinessData.');
|
|
9
|
+
}
|
|
10
|
+
const httpClient = (0, typescript_http_client_1.newHttpClient)();
|
|
11
|
+
const httpRequest = new typescript_http_client_1.Request(businessDataReq.downloadUrl, { responseType: 'text' });
|
|
12
|
+
httpRequest.addHeader('Accept', 'text/plain');
|
|
13
|
+
httpRequest.addHeader('Authorization', 'Bearer ' + businessDataReq.bearerToken);
|
|
14
|
+
let businessDataRead;
|
|
15
|
+
try {
|
|
16
|
+
businessDataRead = await httpClient.execute(httpRequest);
|
|
17
|
+
}
|
|
18
|
+
catch (error) {
|
|
19
|
+
throw new Errors_1.IwBusinessDataIsEmptyErr('Unable to retrieve business data');
|
|
20
|
+
}
|
|
21
|
+
// pas de business data (null, vide, undefined) : erreur
|
|
22
|
+
if (!businessDataRead) {
|
|
23
|
+
throw new Errors_1.IwBusinessDataIsEmptyErr('No Business Data.');
|
|
24
|
+
}
|
|
25
|
+
return businessDataRead;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=ConsumeBusinessData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsumeBusinessData.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/network/ConsumeBusinessData.ts"],"names":[],"mappings":";;AAIA,kDAqBC;AAzBD,mEAAgE;AAEhE,0EAAyF;AAElF,KAAK,UAAU,mBAAmB,CAAC,eAAgC;IACxE,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IAED,MAAM,UAAU,GAAG,IAAA,sCAAa,GAAE,CAAC;IACnC,MAAM,WAAW,GAAG,IAAI,gCAAO,CAAC,eAAe,CAAC,WAAW,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC;IACvF,WAAW,CAAC,SAAS,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9C,WAAW,CAAC,SAAS,CAAC,eAAe,EAAE,SAAS,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;IAChF,IAAI,gBAAwB,CAAC;IAC7B,IAAI,CAAC;QACH,gBAAgB,GAAG,MAAM,UAAU,CAAC,OAAO,CAAS,WAAW,CAAC,CAAC;IACnE,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,MAAM,IAAI,iCAAwB,CAAC,kCAAkC,CAAC,CAAC;IACzE,CAAC;IAED,wDAAwD;IACxD,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,MAAM,IAAI,iCAAwB,CAAC,mBAAmB,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MFAProtocolActivationApiInterface, MFAProtocolAnonymousApiInterface } from "../../../client-api";
|
|
2
|
+
import { Provider } from "../../../l1-application/definition";
|
|
3
|
+
import { IwBlockedCredErr, IwForbiddenErr, IwInvalidCredErr } from "../../../l1-application/definition/errors/Errors";
|
|
4
|
+
import { IwCoreConnexionErr } from "../../../l1-application/core-wrapper/errors";
|
|
5
|
+
import { ActivationActivateArgs, ActivationService, ActivationValidateOtpArgs } from "../../../l1-application/definition/ActivationService";
|
|
6
|
+
export declare class ActivationServiceImpl implements ActivationService {
|
|
7
|
+
private gateways;
|
|
8
|
+
constructor(gateways: {
|
|
9
|
+
activationApiProvider: Provider<string, MFAProtocolActivationApiInterface>;
|
|
10
|
+
anonymousApiProvider: Provider<string, MFAProtocolAnonymousApiInterface>;
|
|
11
|
+
});
|
|
12
|
+
activateMe({ tntAlias, cstr, serverUrl }: ActivationActivateArgs): import("../../../l1-application/definition").FailableAsync<import("../../../client-api").MfaCodeResponse, IwCoreConnexionErr | IwForbiddenErr>;
|
|
13
|
+
addSecureToken({ tntAlias, cstr, serverUrl }: ActivationActivateArgs): import("../../../l1-application/definition").FailableAsync<import("../../../client-api").MfaCodeResponse, IwCoreConnexionErr | IwForbiddenErr>;
|
|
14
|
+
validateOtp({ secureToken, otp }: ActivationValidateOtpArgs): import("../../../l1-application/definition").FailableAsync<import("../../../client-api").MfaBoolResponse, IwCoreConnexionErr | IwForbiddenErr | IwInvalidCredErr | IwBlockedCredErr>;
|
|
15
|
+
getLongActivationCode: (serverUrl: string, shortCode: string) => import("../../../l1-application/definition").FailableAsync<import("../../../client-api").MfaCodeResponse, IwCoreConnexionErr | IwForbiddenErr>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActivationServiceImpl = void 0;
|
|
4
|
+
const client_api_1 = require("../../../client-api");
|
|
5
|
+
const Errors_1 = require("../../../l1-application/definition/errors/Errors");
|
|
6
|
+
const core_wrapper_1 = require("../../../l1-application/core-wrapper");
|
|
7
|
+
const errors_1 = require("../../../l1-application/core-wrapper/errors");
|
|
8
|
+
class ActivationServiceImpl {
|
|
9
|
+
constructor(gateways) {
|
|
10
|
+
this.gateways = gateways;
|
|
11
|
+
this.getLongActivationCode = (serverUrl, shortCode) => {
|
|
12
|
+
const apiProvider = ({ serverUrl, request }) => this.gateways.anonymousApiProvider(serverUrl).mfaGetActivationCode(request);
|
|
13
|
+
const activationApiRequest = {
|
|
14
|
+
code: shortCode
|
|
15
|
+
};
|
|
16
|
+
const getCode = (0, core_wrapper_1.apiFetcher)(serverUrl, apiProvider);
|
|
17
|
+
return getCode(activationApiRequest).mapErr(parseGetLongCodeToForbiddenError);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
activateMe({ tntAlias, cstr, serverUrl }) {
|
|
21
|
+
const activateMeRequest = {
|
|
22
|
+
tntAlias: tntAlias,
|
|
23
|
+
body: cstr
|
|
24
|
+
};
|
|
25
|
+
const apiProvider = ({ serverUrl, request }) => this.gateways.activationApiProvider(serverUrl).mfaActivateMe(request);
|
|
26
|
+
const activateUser = (0, core_wrapper_1.apiFetcher)(serverUrl, apiProvider);
|
|
27
|
+
return activateUser(activateMeRequest).mapErr(parseActivationServerError);
|
|
28
|
+
}
|
|
29
|
+
addSecureToken({ tntAlias, cstr, serverUrl }) {
|
|
30
|
+
const addSecureTokenRequest = {
|
|
31
|
+
tntAlias: tntAlias,
|
|
32
|
+
body: cstr
|
|
33
|
+
};
|
|
34
|
+
const apiProvider = ({ serverUrl, request }) => this.gateways.activationApiProvider(serverUrl).mfaAddSecureToken(request);
|
|
35
|
+
const addSecureToken = (0, core_wrapper_1.apiFetcher)(serverUrl, apiProvider);
|
|
36
|
+
return addSecureToken(addSecureTokenRequest).mapErr(parseActivationServerError);
|
|
37
|
+
}
|
|
38
|
+
validateOtp({ secureToken, otp }) {
|
|
39
|
+
const validateOtpRequest = {
|
|
40
|
+
tntAlias: secureToken.user.tntAlias,
|
|
41
|
+
usrAlias: secureToken.user.ualias,
|
|
42
|
+
tknAlias: secureToken.token.alias,
|
|
43
|
+
mfaValidateOtpRequest: {
|
|
44
|
+
otp: otp
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const apiProvider = ({ serverUrl, request }) => this.gateways.activationApiProvider(serverUrl).mfaValidateOtp(request);
|
|
48
|
+
const validateOtp = (0, core_wrapper_1.apiFetcher)(secureToken.serverUrl, apiProvider);
|
|
49
|
+
return validateOtp(validateOtpRequest).mapErr(err => (0, Errors_1.parseServerError)(err, validateOtpEerrorsMap));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.ActivationServiceImpl = ActivationServiceImpl;
|
|
53
|
+
const parseActivationServerError = (err) => {
|
|
54
|
+
if ((0, errors_1.isServerError)(err)) {
|
|
55
|
+
return new Errors_1.IwForbiddenErr(err.message);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
return err;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const validateOtpEerrorsMap = new Map([
|
|
62
|
+
[client_api_1.MfaValidateOtpErrors.CredentialIsInvalid, new Errors_1.IwInvalidCredErr("")],
|
|
63
|
+
[client_api_1.MfaValidateOtpErrors.CredentialIsBlocked, new Errors_1.IwBlockedCredErr("")],
|
|
64
|
+
[client_api_1.MfaValidateOtpErrors.UserIsUnknown, new Errors_1.IwForbiddenErr("")],
|
|
65
|
+
[client_api_1.MfaValidateOtpErrors.UserIsBlocked, new Errors_1.IwForbiddenErr("")],
|
|
66
|
+
[client_api_1.MfaValidateOtpErrors.SecureTokenIsUnknown, new Errors_1.IwForbiddenErr("")],
|
|
67
|
+
[client_api_1.MfaValidateOtpErrors.SecureTokenIsBlocked, new Errors_1.IwForbiddenErr("")],
|
|
68
|
+
]);
|
|
69
|
+
const parseGetLongCodeToForbiddenError = (err) => {
|
|
70
|
+
if ((0, errors_1.isServerError)(err)) {
|
|
71
|
+
return new Errors_1.IwForbiddenErr(err.message);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
return err;
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=ActivationServiceImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActivationServiceImpl.js","sourceRoot":"","sources":["../../../../src/l3-infrastructure/services/activation/ActivationServiceImpl.ts"],"names":[],"mappings":";;;AAAA,oDAQ6B;AAE7B,6EAAwI;AACxI,uEAAkE;AAClE,wEAA6G;AAU7G,MAAa,qBAAqB;IAC9B,YAAoB,QAGnB;QAHmB,aAAQ,GAAR,QAAQ,CAG3B;QAqCM,0BAAqB,GAAG,CAAC,SAAiB,EAAE,SAAiB,EAAE,EAAE;YACpE,MAAM,WAAW,GAAG,CAAC,EAAC,SAAS,EAAE,OAAO,EAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAA;YACzH,MAAM,oBAAoB,GAAiC;gBACvD,IAAI,EAAE,SAAS;aAClB,CAAA;YACD,MAAM,OAAO,GAAG,IAAA,yBAAU,EAAC,SAAS,EAAE,WAAW,CAAC,CAAC;YACnD,OAAO,OAAO,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,gCAAgC,CAAC,CAAA;QACjF,CAAC,CAAA;IA5CG,CAAC;IAEE,UAAU,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAwB;QAChE,MAAM,iBAAiB,GAA0B;YAC7C,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,IAAI;SACb,CAAA;QACD,MAAM,WAAW,GAAG,CAAC,EAAC,SAAS,EAAE,OAAO,EAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QACnH,MAAM,YAAY,GAAG,IAAA,yBAAU,EAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QACxD,OAAO,YAAY,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;IAC9E,CAAC;IAEM,cAAc,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAwB;QAEpE,MAAM,qBAAqB,GAA8B;YACrD,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,IAAI;SACb,CAAA;QACD,MAAM,WAAW,GAAG,CAAC,EAAC,SAAS,EAAE,OAAO,EAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAA;QACvH,MAAM,cAAc,GAAG,IAAA,yBAAU,EAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAC1D,OAAO,cAAc,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;IACpF,CAAC;IAEM,WAAW,CAAC,EAAC,WAAW,EAAE,GAAG,EAA2B;QAC3D,MAAM,kBAAkB,GAAoC;YACxD,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ;YACnC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM;YACjC,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,KAAK;YACjC,qBAAqB,EAAG;gBACpB,GAAG,EAAE,GAAG;aACX;SACJ,CAAA;QACD,MAAM,WAAW,GAAG,CAAC,EAAC,SAAS,EAAE,OAAO,EAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;QACpH,MAAM,WAAW,GAAG,IAAA,yBAAU,EAAC,WAAW,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QACnE,OAAO,WAAW,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,IAAA,yBAAgB,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC,CAAC;IACvG,CAAC;CAWJ;AAlDD,sDAkDC;AAED,MAAM,0BAA0B,GAAG,CAAC,GAAqC,EAA6B,EAAE;IACpG,IAAG,IAAA,sBAAa,EAAC,GAAG,CAAC,EAAE,CAAC;QACpB,OAAO,IAAI,uBAAc,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;SAAM,CAAC;QACJ,OAAO,GAAG,CAAC;IACf,CAAC;AACL,CAAC,CAAA;AAED,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAoD;IACrF,CAAC,iCAAoB,CAAC,mBAAmB,EAAE,IAAI,yBAAgB,CAAC,EAAE,CAAC,CAAC;IACpE,CAAC,iCAAoB,CAAC,mBAAmB,EAAE,IAAI,yBAAgB,CAAC,EAAE,CAAC,CAAC;IACpE,CAAC,iCAAoB,CAAC,aAAa,EAAE,IAAI,uBAAc,CAAC,EAAE,CAAC,CAAC;IAC5D,CAAC,iCAAoB,CAAC,aAAa,EAAE,IAAI,uBAAc,CAAC,EAAE,CAAC,CAAC;IAC5D,CAAC,iCAAoB,CAAC,oBAAoB,EAAE,IAAI,uBAAc,CAAC,EAAE,CAAC,CAAC;IACnE,CAAC,iCAAoB,CAAC,oBAAoB,EAAE,IAAI,uBAAc,CAAC,EAAE,CAAC,CAAC;CACtE,CAAC,CAAC;AAEH,MAAM,gCAAgC,GAAG,CAAC,GAAqC,EAAiC,EAAE;IAC9G,IAAG,IAAA,sBAAa,EAAC,GAAG,CAAC,EAAE,CAAC;QACpB,OAAO,IAAI,uBAAc,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;SAAM,CAAC;QACJ,OAAO,GAAG,CAAC;IACf,CAAC;AACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MfaCodeResponse, MfaGetSecretCodeResetTokenRequest } from "../../../client-api";
|
|
2
|
+
import { ShortCode } from "../../../l0-domain/base/ShortCode";
|
|
3
|
+
import { SecureToken } from "../../../l0-domain/entities";
|
|
4
|
+
import { IwInvalidCodeErr } from "../../../l1-application/definition/errors/Errors";
|
|
5
|
+
import { CoreApiProvider } from "../../../l1-application/core-wrapper";
|
|
6
|
+
import { IwCoreConnexionErr } from "../../../l1-application/core-wrapper/errors";
|
|
7
|
+
export declare const shortToLongCodeForResetCode: (functionGetLongCode: CoreApiProvider<MfaGetSecretCodeResetTokenRequest, MfaCodeResponse>) => (secureToken: SecureToken, shortCode: ShortCode) => import("../../../l1-application/definition").FailableAsync<MfaCodeResponse, IwCoreConnexionErr | IwInvalidCodeErr>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shortToLongCodeForResetCode = void 0;
|
|
4
|
+
const Errors_1 = require("../../../l1-application/definition/errors/Errors");
|
|
5
|
+
const core_wrapper_1 = require("../../../l1-application/core-wrapper");
|
|
6
|
+
const errors_1 = require("../../../l1-application/core-wrapper/errors");
|
|
7
|
+
const shortToLongCodeForResetCode = (functionGetLongCode) => (secureToken, shortCode) => {
|
|
8
|
+
const resetCodeApiRequest = {
|
|
9
|
+
tntAlias: secureToken.user.tntAlias,
|
|
10
|
+
usrAlias: secureToken.user.ualias,
|
|
11
|
+
tknAlias: secureToken.token.alias,
|
|
12
|
+
code: shortCode
|
|
13
|
+
};
|
|
14
|
+
const getCode = (0, core_wrapper_1.apiFetcher)(secureToken.serverUrl, functionGetLongCode);
|
|
15
|
+
return getCode(resetCodeApiRequest).mapErr(parseGetLongCodeToInvalidCodeError);
|
|
16
|
+
};
|
|
17
|
+
exports.shortToLongCodeForResetCode = shortToLongCodeForResetCode;
|
|
18
|
+
const parseGetLongCodeToInvalidCodeError = (err) => {
|
|
19
|
+
if ((0, errors_1.isServerError)(err)) {
|
|
20
|
+
return new Errors_1.IwInvalidCodeErr(err.message);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
return err;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=ShortToLongCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShortToLongCode.js","sourceRoot":"","sources":["../../../../src/l3-infrastructure/services/activationCode/ShortToLongCode.ts"],"names":[],"mappings":";;;AAIA,6EAAoF;AACpF,uEAAmF;AACnF,wEAA6G;AAGtG,MAAM,2BAA2B,GAAG,CAAC,mBAAwF,EAAE,EAAE,CAAC,CAAC,WAAwB,EAAE,SAAoB,EAAE,EAAE;IAExL,MAAM,mBAAmB,GAAuC;QAC5D,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ;QACnC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM;QACjC,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,KAAK;QACjC,IAAI,EAAE,SAAS;KAClB,CAAA;IAED,MAAM,OAAO,GAAG,IAAA,yBAAU,EAAC,WAAW,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC;IACvE,OAAO,OAAO,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAAC;AACnF,CAAC,CAAA;AAXY,QAAA,2BAA2B,+BAWvC;AAED,MAAM,kCAAkC,GAAG,CAAC,GAAqC,EAA0C,EAAE;IACzH,IAAG,IAAA,sBAAa,EAAC,GAAG,CAAC,EAAE,CAAC;QACpB,OAAO,IAAI,yBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;SAAM,CAAC;QACJ,OAAO,GAAG,CAAC;IACf,CAAC;AACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GeneratorService, Base64 } from "../../../generator-ts";
|
|
2
|
+
import { MFAProtocolAuthenticationApiInterface, MFAProtocolSecureTokenManagementApiInterface } from "../../../client-api";
|
|
3
|
+
import { AsyncProvider, Provider } from "../../../l1-application/definition";
|
|
4
|
+
import { AuthService } from "../../../l1-application/definition/AuthService";
|
|
5
|
+
import { DecryptAndVerifyInterface } from "../../../l1-application/security";
|
|
6
|
+
export declare class AuthServiceImpl implements AuthService {
|
|
7
|
+
private gateways;
|
|
8
|
+
constructor(gateways: AuthServiceGateways);
|
|
9
|
+
get authenticate(): import("../../../l1-application/definition").FailableAsyncFunction<import("../../../l1-application/security").AuthenticateData, import("../../../client-api").MfaBoolResponse, import("../../../l1-application/definition/AuthService").AuthenticateServiceErrors>;
|
|
10
|
+
get seal(): import("../../../l1-application/definition").FailableAsyncFunction<import("../../../l1-application/security").SealData, import("../../../client-api").MfaBoolResponse, import("../../../l1-application/definition/AuthService").SealServiceErrors>;
|
|
11
|
+
get cancelAuth(): ({ secureToken, sessionToken, authSessionId, reason }: import("../../../l1-application/definition/AuthService").CancelAuthArgs) => import("../../../l1-application/definition").FailableAsync<import("../../../client-api").MfaBoolResponse, import("../../../l1-application/core-wrapper/errors").IwCoreConnexionErr | import("../../../l1-application/definition/errors/Errors").IwInvalidAuthSessionErr>;
|
|
12
|
+
get sessionGetChallenge(): import("../../../l1-application/definition").FailableAsyncFunction<import("../../../l1-application/definition/AuthService").AuthSessionGetChallengeArgs, import("../../../l0-domain/entities").Challenge, import("../../../l1-application/definition/AuthService").AuthSessionGetChallengeErrors>;
|
|
13
|
+
}
|
|
14
|
+
export interface AuthServiceGateways {
|
|
15
|
+
authApiProvider: Provider<string, MFAProtocolAuthenticationApiInterface>;
|
|
16
|
+
managementApiProvider: Provider<string, MFAProtocolSecureTokenManagementApiInterface>;
|
|
17
|
+
generator: () => GeneratorService;
|
|
18
|
+
verifier: () => DecryptAndVerifyInterface;
|
|
19
|
+
hashProvider: () => AsyncProvider<Uint8Array, Base64>;
|
|
20
|
+
}
|