@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,218 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.logging = exports.CancelReason = exports.TrustBuilderMfaLib = exports.BusinessDataFormat = void 0;
|
|
4
|
+
const Bootstrap_1 = require("./config/Bootstrap");
|
|
5
|
+
const Logging_1 = require("./config/Logging");
|
|
6
|
+
Object.defineProperty(exports, "logging", { enumerable: true, get: function () { return Logging_1.logging; } });
|
|
7
|
+
const Authentication_1 = require("../l1-application/usecases/authentication/Authentication");
|
|
8
|
+
const InAppAuthentication_1 = require("../l1-application/usecases/inAppAuthentication/InAppAuthentication");
|
|
9
|
+
const Sealing_1 = require("../l1-application/usecases/sealing/Sealing");
|
|
10
|
+
const InAppSealing_1 = require("../l1-application/usecases/inAppSealing/InAppSealing");
|
|
11
|
+
const SecretCodeChange_1 = require("../l1-application/usecases/secretCodeChange/SecretCodeChange");
|
|
12
|
+
const SecretCodeReset_1 = require("../l1-application/usecases/secretCodeReset/SecretCodeReset");
|
|
13
|
+
const SecureTokenEnrollment_1 = require("../l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment");
|
|
14
|
+
const ActivationCodeGeneration_1 = require("../l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration");
|
|
15
|
+
const errors_1 = require("../l1-application/security/errors");
|
|
16
|
+
const PendingAuthSessionsRetrieval_1 = require("../l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval");
|
|
17
|
+
const AuthSessionCancellation_1 = require("../l1-application/usecases/authSessionCancellation/AuthSessionCancellation");
|
|
18
|
+
Object.defineProperty(exports, "CancelReason", { enumerable: true, get: function () { return AuthSessionCancellation_1.CancelReason; } });
|
|
19
|
+
const PushIdRegistration_1 = require("../l1-application/usecases/pushIdRegistration/PushIdRegistration");
|
|
20
|
+
const SecureTokenFriendlyNameUpdate_1 = require("../l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate");
|
|
21
|
+
const AuthorizationRequest_1 = require("../l1-application/usecases/authorizationRequest/AuthorizationRequest");
|
|
22
|
+
const ResetCodeGeneration_1 = require("../l1-application/usecases/resetCodeGeneration/ResetCodeGeneration");
|
|
23
|
+
const SecureTokensListing_1 = require("../l1-application/usecases/secureTokensListing/SecureTokensListing");
|
|
24
|
+
const BiokeyRegistration_1 = require("../l1-application/usecases/biokeyRegistration/BiokeyRegistration");
|
|
25
|
+
const ShortOtpGeneration_1 = require("../l1-application/usecases/shortOtpGeneration/ShortOtpGeneration");
|
|
26
|
+
const OfflineOtpGeneration_1 = require("../l1-application/usecases/offlineOtpGeneration/OfflineOtpGeneration");
|
|
27
|
+
const DeleteLocalSecureToken_1 = require("../l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken");
|
|
28
|
+
const TrustBuilderInstancesList_1 = require("../TrustBuilderInstancesList");
|
|
29
|
+
const logger = Logging_1.logging.getLogger('l3-infrastructure.TrustBuilderMfaLib');
|
|
30
|
+
var BusinessDataFormat;
|
|
31
|
+
(function (BusinessDataFormat) {
|
|
32
|
+
BusinessDataFormat[BusinessDataFormat["MD"] = 0] = "MD";
|
|
33
|
+
})(BusinessDataFormat || (exports.BusinessDataFormat = BusinessDataFormat = {}));
|
|
34
|
+
class TrustBuilderMfaLib {
|
|
35
|
+
static get instance() {
|
|
36
|
+
if (!this._instance) {
|
|
37
|
+
this._instance = new TrustBuilderMfaLib();
|
|
38
|
+
}
|
|
39
|
+
return this._instance;
|
|
40
|
+
}
|
|
41
|
+
constructor() {
|
|
42
|
+
this.bootstrap = new Bootstrap_1.Bootstrap();
|
|
43
|
+
this.trustBuilderInstances = TrustBuilderInstancesList_1.trustBuilderInstancesList;
|
|
44
|
+
}
|
|
45
|
+
setInstances(trustBuilderInstances) {
|
|
46
|
+
this.trustBuilderInstances = trustBuilderInstances;
|
|
47
|
+
}
|
|
48
|
+
setAsyncStorage(storage) {
|
|
49
|
+
this.asyncStorage = storage;
|
|
50
|
+
}
|
|
51
|
+
setGenerateKeyPair(value) {
|
|
52
|
+
this.generateKeyPair = value;
|
|
53
|
+
}
|
|
54
|
+
setSignAndCrypt(value) {
|
|
55
|
+
this.signAndCrypt = value;
|
|
56
|
+
}
|
|
57
|
+
setDecryptAndVerify(value) {
|
|
58
|
+
this.decryptAndVerify = value;
|
|
59
|
+
}
|
|
60
|
+
setHashAndCrypt(value) {
|
|
61
|
+
this.hashAndCrypt = value;
|
|
62
|
+
}
|
|
63
|
+
startAuthentication(args) {
|
|
64
|
+
this.verifyHostInfo(args.host);
|
|
65
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
66
|
+
this.checkNonNullArgument(args.sessionId, 'sessionId');
|
|
67
|
+
return new Authentication_1.Authentication(this.bootstrap.gateways(), args);
|
|
68
|
+
}
|
|
69
|
+
startInAppAuthentication(args) {
|
|
70
|
+
this.verifyHostInfo(args.host);
|
|
71
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
72
|
+
this.checkNonNullArgument(args.scope, 'scope');
|
|
73
|
+
this.checkNonNullArgument(args.sessionId, 'sessionId');
|
|
74
|
+
return new InAppAuthentication_1.InAppAuthentication(this.bootstrap.gateways(), args);
|
|
75
|
+
}
|
|
76
|
+
startSealing(args) {
|
|
77
|
+
this.verifyHostInfo(args.host);
|
|
78
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
79
|
+
this.checkNonNullArgument(args.sessionId, 'sessionId');
|
|
80
|
+
return new Sealing_1.Sealing(this.bootstrap.gateways(), args);
|
|
81
|
+
}
|
|
82
|
+
startInAppSealing(args) {
|
|
83
|
+
this.verifyHostInfo(args.host);
|
|
84
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
85
|
+
this.checkNonNullArgument(args.sessionId, 'sessionId');
|
|
86
|
+
return new InAppSealing_1.InAppSealing(this.bootstrap.gateways(), args);
|
|
87
|
+
}
|
|
88
|
+
startSecretCodeChange(args) {
|
|
89
|
+
this.verifyHostInfo(args.host);
|
|
90
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
91
|
+
return new SecretCodeChange_1.SecretCodeChange(this.bootstrap.gateways(), args);
|
|
92
|
+
}
|
|
93
|
+
startSecretCodeReset(args) {
|
|
94
|
+
this.verifyHostInfo(args.host);
|
|
95
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
96
|
+
this.checkNonNullArgument(args.code, 'code');
|
|
97
|
+
return new SecretCodeReset_1.SecretCodeReset(this.bootstrap.gateways(), args);
|
|
98
|
+
}
|
|
99
|
+
startSecureTokenEnrollment(args) {
|
|
100
|
+
this.verifyHostInfo(args.host);
|
|
101
|
+
this.checkNonNullArgument(args.activationCode, 'activationCode');
|
|
102
|
+
return new SecureTokenEnrollment_1.SecureTokenEnrollment(this.bootstrap.gateways(), args);
|
|
103
|
+
}
|
|
104
|
+
startActivationCodeGeneration(args) {
|
|
105
|
+
this.verifyHostInfo(args.host);
|
|
106
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
107
|
+
return new ActivationCodeGeneration_1.ActivationCodeGeneration(this.bootstrap.gateways(), args);
|
|
108
|
+
}
|
|
109
|
+
startPendingAuthSessionsRetrieval(args) {
|
|
110
|
+
this.verifyHostInfo(args.host);
|
|
111
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
112
|
+
return new PendingAuthSessionsRetrieval_1.PendingAuthSessionsRetrieval(this.bootstrap.gateways(), args);
|
|
113
|
+
}
|
|
114
|
+
startAuthSessionCancellation(args) {
|
|
115
|
+
this.verifyHostInfo(args.host);
|
|
116
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
117
|
+
this.checkNonNullArgument(args.authSessionId, 'authSessionId');
|
|
118
|
+
this.checkNonNullArgument(args.reason, 'reason');
|
|
119
|
+
return new AuthSessionCancellation_1.AuthSessionCancellation(this.bootstrap.gateways(), args);
|
|
120
|
+
}
|
|
121
|
+
startPushIdRegistration(args) {
|
|
122
|
+
this.verifyHostInfo(args.host);
|
|
123
|
+
this.checkNonNullArgument(args.pushId, 'pushId');
|
|
124
|
+
return new PushIdRegistration_1.PushIdRegistration(this.bootstrap.gateways(), args);
|
|
125
|
+
}
|
|
126
|
+
startSecureTokenFriendlyNameUpdate(args) {
|
|
127
|
+
this.verifyHostInfo(args.host);
|
|
128
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
129
|
+
this.checkNonNullArgument(args.tknName, 'tknName');
|
|
130
|
+
return new SecureTokenFriendlyNameUpdate_1.SecureTokenFriendlyNameUpdate(this.bootstrap.gateways(), args);
|
|
131
|
+
}
|
|
132
|
+
startDeleteLocalSecureToken(args) {
|
|
133
|
+
this.verifyHostInfo(args.host);
|
|
134
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
135
|
+
return new DeleteLocalSecureToken_1.DeleteLocalSecureToken(this.bootstrap.gateways(), args);
|
|
136
|
+
}
|
|
137
|
+
startAuthorizationRequest(args) {
|
|
138
|
+
this.verifyHostInfo(args.host);
|
|
139
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
140
|
+
this.checkNonNullArgument(args.scope, 'scope');
|
|
141
|
+
return new AuthorizationRequest_1.AuthorizationRequest(this.bootstrap.gateways(), args);
|
|
142
|
+
}
|
|
143
|
+
startResetCodeGeneration(args) {
|
|
144
|
+
this.verifyHostInfo(args.host);
|
|
145
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
146
|
+
return new ResetCodeGeneration_1.ResetCodeGeneration(this.bootstrap.gateways(), args);
|
|
147
|
+
}
|
|
148
|
+
startBiokeyRegistration(args) {
|
|
149
|
+
this.verifyHostInfo(args.host);
|
|
150
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
151
|
+
this.checkNonNullArgument(args.bioPubKey, 'bioPubKey');
|
|
152
|
+
this.checkNonNullArgument(args.disclaimer, 'disclaimer');
|
|
153
|
+
return new BiokeyRegistration_1.BiokeyRegistration(this.bootstrap.gateways(), args);
|
|
154
|
+
}
|
|
155
|
+
startShortOtpGeneration(args) {
|
|
156
|
+
this.verifyHostInfo(args.host);
|
|
157
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
158
|
+
this.checkNonNullArgument(args.cnxAlias, 'cnxAlias');
|
|
159
|
+
return new ShortOtpGeneration_1.ShortOtpGeneration();
|
|
160
|
+
}
|
|
161
|
+
startOfflineOtpGeneration(args) {
|
|
162
|
+
this.verifyHostInfo(args.host);
|
|
163
|
+
this.checkNonNullArgument(args.tknAlias, 'tknAlias');
|
|
164
|
+
this.checkNonNullArgument(args.cnxAlias, 'cnxAlias');
|
|
165
|
+
return new OfflineOtpGeneration_1.OfflineOtpGeneration(this.bootstrap.gateways(), args);
|
|
166
|
+
}
|
|
167
|
+
startSecureTokensListing() {
|
|
168
|
+
this.createBootstrap();
|
|
169
|
+
return new SecureTokensListing_1.SecureTokensListing(this.bootstrap.gateways());
|
|
170
|
+
}
|
|
171
|
+
checkNonNullArgument(argumentValue, argumentName) {
|
|
172
|
+
if (!argumentValue) {
|
|
173
|
+
throw new errors_1.InvalidParameterError(argumentName + ' not provided');
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
createBootstrap() {
|
|
177
|
+
this.bootstrap = new Bootstrap_1.Bootstrap();
|
|
178
|
+
this.bootstrap.inweboInstances = this.trustBuilderInstances;
|
|
179
|
+
if (this.asyncStorage) {
|
|
180
|
+
this.bootstrap.asyncStorage = this.asyncStorage;
|
|
181
|
+
}
|
|
182
|
+
if (this.generateKeyPair) {
|
|
183
|
+
this.bootstrap.generateKeyPair = this.generateKeyPair;
|
|
184
|
+
}
|
|
185
|
+
if (this.decryptAndVerify) {
|
|
186
|
+
this.bootstrap.decryptAndVerify = this.decryptAndVerify;
|
|
187
|
+
}
|
|
188
|
+
if (this.signAndCrypt) {
|
|
189
|
+
this.bootstrap.signAndCrypt = this.signAndCrypt;
|
|
190
|
+
}
|
|
191
|
+
if (this.hashAndCrypt) {
|
|
192
|
+
this.bootstrap.hashAndCrypt = this.hashAndCrypt;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
verifyHostInfo(host) {
|
|
196
|
+
if (this.trustBuilderInstances == null) {
|
|
197
|
+
throw new Error('Library has not been initialized');
|
|
198
|
+
}
|
|
199
|
+
this.createBootstrap();
|
|
200
|
+
if (host.appInfo == null) {
|
|
201
|
+
throw new Error('Host appInfo must not be null');
|
|
202
|
+
}
|
|
203
|
+
if (host.appInfo.name == null) {
|
|
204
|
+
throw new Error('Host appInfo name must not be null');
|
|
205
|
+
}
|
|
206
|
+
if (host.appInfo.version == null) {
|
|
207
|
+
throw new Error('Host appInfo version must not be null');
|
|
208
|
+
}
|
|
209
|
+
if (host.osInfo == null) {
|
|
210
|
+
throw new Error('Host osInfo must not be null');
|
|
211
|
+
}
|
|
212
|
+
if (host.osInfo.name == null) {
|
|
213
|
+
throw new Error('Host osInfo name must not be null');
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
exports.TrustBuilderMfaLib = TrustBuilderMfaLib;
|
|
218
|
+
//# sourceMappingURL=TrustBuilderMfaLib.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrustBuilderMfaLib.js","sourceRoot":"","sources":["../../src/l3-infrastructure/TrustBuilderMfaLib.ts"],"names":[],"mappings":";;;AAWA,kDAA+C;AAC/C,8CAA2C;AAqTzC,wFArTO,iBAAO,OAqTP;AAnTT,6FAAgH;AAChH,4GAG4E;AAC5E,wEAAoF;AACpF,uFAAwG;AACxG,mGAAwH;AACxH,gGAAoH;AACpH,kHAGgF;AAChF,2HAGsF;AACtF,8DAA0E;AAC1E,uIAG8F;AAC9F,wHAIoF;AAwRlF,6FAzRA,sCAAY,OAyRA;AAvRd,yGAG0E;AAC1E,0IAGgG;AAChG,+GAG8E;AAC9E,4GAG4E;AAC5E,4GAAyG;AACzG,yGAG0E;AAC1E,yGAG0E;AAC1E,+GAG8E;AAE9E,qHAGkF;AAClF,4EAAyE;AAEzE,MAAM,MAAM,GAAG,iBAAO,CAAC,SAAS,CAAC,sCAAsC,CAAC,CAAC;AAEzE,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,uDAAE,CAAA;AACJ,CAAC,EAFW,kBAAkB,kCAAlB,kBAAkB,QAE7B;AAGD,MAAM,kBAAkB;IASf,MAAM,KAAK,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ryptInterface, SignAndCryptInterface } from '../../generator-ts';
|
|
2
|
+
import { SecureToken } from '../../l0-domain/entities';
|
|
3
|
+
import { AsyncProvider, GetAuthSecureTokenChallenge, GetSecureTokenChallenge } from '../../l1-application/definition';
|
|
4
|
+
import { AuthService } from '../../l1-application/definition/AuthService';
|
|
5
|
+
import { CredentialService } from '../../l1-application/definition/CredentialService';
|
|
6
|
+
import { ManagementService } from '../../l1-application/definition/ManagementService';
|
|
7
|
+
import { ActivationService } from '../../l1-application/definition/ActivationService';
|
|
8
|
+
import { DecryptAndVerifyInterface, GenerateKeyPair } from '../../l1-application/security';
|
|
9
|
+
import { TrustBuilderInstances } from '../../l1-application/definition/TrustBuilderInstances';
|
|
10
|
+
import { InstanceResolver } from '../../l1-application/security/InstanceResolver';
|
|
11
|
+
import { SecureTokenEntityGateway } from '../../l1-application/repository/SecureTokenEntityGateway';
|
|
12
|
+
import { AsyncStorage } from '../data/AsyncStorage';
|
|
13
|
+
import { consumeBusinessData } from '../network/ConsumeBusinessData';
|
|
14
|
+
import { SealingGateways } from '../../l1-application/usecases/sealing/Sealing';
|
|
15
|
+
import { InAppSealingGateways } from '../../l1-application/usecases/inAppSealing/InAppSealing';
|
|
16
|
+
import { AuthenticationGateways } from '../../l1-application/usecases/authentication/Authentication';
|
|
17
|
+
import { InAppAuthenticationGateways } from '../../l1-application/usecases/inAppAuthentication/InAppAuthentication';
|
|
18
|
+
import { SecretCodeChangeGateways } from '../../l1-application/usecases/secretCodeChange/SecretCodeChange';
|
|
19
|
+
import { SecretCodeResetGateways } from '../../l1-application/usecases/secretCodeReset/SecretCodeReset';
|
|
20
|
+
import { SecureTokenEnrollmentGateways } from '../../l1-application/usecases/secureTokenEnrollment/SecureTokenEnrollment';
|
|
21
|
+
import { ActivationCodeGenerationGateways } from '../../l1-application/usecases/activationCodeGeneration/ActivationCodeGeneration';
|
|
22
|
+
import { PendingAuthSessionsRetrievalGateways } from '../../l1-application/usecases/pendingAuthSessionsRetrieval/PendingAuthSessionsRetrieval';
|
|
23
|
+
import { AuthSessionCancellationGateways } from '../../l1-application/usecases/authSessionCancellation/AuthSessionCancellation';
|
|
24
|
+
import { PushIdRegistrationGateways } from '../../l1-application/usecases/pushIdRegistration/PushIdRegistration';
|
|
25
|
+
import { SecureTokenFriendlyNameUpdateGateways } from '../../l1-application/usecases/secureTokenFriendlyNameUpdate/SecureTokenFriendlyNameUpdate';
|
|
26
|
+
import { AuthorizationRequestGateways } from '../../l1-application/usecases/authorizationRequest/AuthorizationRequest';
|
|
27
|
+
import { ResetCodeGenerationGateways } from '../../l1-application/usecases/resetCodeGeneration/ResetCodeGeneration';
|
|
28
|
+
import { SecureTokensListingGateways } from '../../l1-application/usecases/secureTokensListing/SecureTokensListing';
|
|
29
|
+
import { DeleteLocalSecureTokenGateways } from '../../l1-application/usecases/deleteLocalSecureToken/DeleteLocalSecureToken';
|
|
30
|
+
interface Gateways extends AuthenticationGateways, InAppAuthenticationGateways, SealingGateways, InAppSealingGateways, SecureTokenEnrollmentGateways, SecretCodeChangeGateways, SecretCodeResetGateways, ActivationCodeGenerationGateways, PendingAuthSessionsRetrievalGateways, AuthSessionCancellationGateways, PushIdRegistrationGateways, SecureTokenFriendlyNameUpdateGateways, AuthorizationRequestGateways, ResetCodeGenerationGateways, SecureTokensListingGateways, DeleteLocalSecureTokenGateways {
|
|
31
|
+
}
|
|
32
|
+
export declare class Bootstrap implements Gateways {
|
|
33
|
+
verifier: DecryptAndVerifyInterface;
|
|
34
|
+
generator: GeneratorService;
|
|
35
|
+
private _inweboInstances;
|
|
36
|
+
gateways(): Gateways;
|
|
37
|
+
private _secureTokenEntityGateway;
|
|
38
|
+
get secureTokenEntityGateway(): SecureTokenEntityGateway;
|
|
39
|
+
hashProvider: AsyncProvider<Uint8Array, Base64>;
|
|
40
|
+
private _generateKeyPair;
|
|
41
|
+
set generateKeyPair(value: GenerateKeyPair);
|
|
42
|
+
get generateKeyPair(): GenerateKeyPair;
|
|
43
|
+
private _decryptAndVerify;
|
|
44
|
+
set decryptAndVerify(value: DecryptAndVerifyInterface);
|
|
45
|
+
get decryptAndVerify(): DecryptAndVerifyInterface;
|
|
46
|
+
private _signAndCrypt;
|
|
47
|
+
set signAndCrypt(value: SignAndCryptInterface);
|
|
48
|
+
get signAndCrypt(): SignAndCryptInterface;
|
|
49
|
+
private _hashAndCrypt;
|
|
50
|
+
set hashAndCrypt(value: HashAndCryptInterface);
|
|
51
|
+
get hashAndCrypt(): HashAndCryptInterface;
|
|
52
|
+
private _instanceResolver;
|
|
53
|
+
get instanceResolver(): InstanceResolver;
|
|
54
|
+
set inweboInstances(value: TrustBuilderInstances);
|
|
55
|
+
get inweboInstances(): TrustBuilderInstances;
|
|
56
|
+
private _asyncStorage;
|
|
57
|
+
set asyncStorage(value: AsyncStorage);
|
|
58
|
+
get asyncStorage(): AsyncStorage;
|
|
59
|
+
private _activationService;
|
|
60
|
+
get activationService(): ActivationService;
|
|
61
|
+
private _authService;
|
|
62
|
+
get authService(): AuthService;
|
|
63
|
+
private _credentialService;
|
|
64
|
+
get credentialService(): CredentialService;
|
|
65
|
+
private _managementService;
|
|
66
|
+
get managementService(): ManagementService;
|
|
67
|
+
getAuthSecureTokenChallenge: GetAuthSecureTokenChallenge;
|
|
68
|
+
getSecureTokenChallenge: GetSecureTokenChallenge;
|
|
69
|
+
getLongResetCode: (secureToken: SecureToken, shortCode: string) => import("../../l1-application/definition").FailableAsync<import("../../client-api").MfaCodeResponse, import("../../l1-application/core-wrapper/errors").IwCoreConnexionErr | import("../../l1-application/definition/errors/Errors").IwInvalidCodeErr>;
|
|
70
|
+
businessDataProvider: typeof consumeBusinessData;
|
|
71
|
+
private _coreApi;
|
|
72
|
+
private get coreApi();
|
|
73
|
+
}
|
|
74
|
+
export {};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Bootstrap = void 0;
|
|
4
|
+
const generator_ts_1 = require("../../generator-ts");
|
|
5
|
+
const InstanceResolver_1 = require("../../l1-application/security/InstanceResolver");
|
|
6
|
+
const crypto_1 = require("../crypto");
|
|
7
|
+
const CoreApi_1 = require("../coreApi/CoreApi");
|
|
8
|
+
const SecureTokenStorageEntityGateway_1 = require("../data/SecureTokenStorageEntityGateway");
|
|
9
|
+
const AsyncLocalStorage_1 = require("../data/AsyncLocalStorage");
|
|
10
|
+
const ShortToLongCode_1 = require("../services/activationCode/ShortToLongCode");
|
|
11
|
+
const GetAuthSecureTokenChallenge_1 = require("../services/secureTokenChallenge/GetAuthSecureTokenChallenge");
|
|
12
|
+
const CredentialServiceImpl_1 = require("../services/credentials/CredentialServiceImpl");
|
|
13
|
+
const ManagementServiceImpl_1 = require("../services/management/ManagementServiceImpl");
|
|
14
|
+
const AuthServiceImpl_1 = require("../services/auth/AuthServiceImpl");
|
|
15
|
+
const ActivationServiceImpl_1 = require("../services/activation/ActivationServiceImpl");
|
|
16
|
+
const GetSecureTokenChallenge_1 = require("../services/secureTokenChallenge/GetSecureTokenChallenge");
|
|
17
|
+
const ConsumeBusinessData_1 = require("../network/ConsumeBusinessData");
|
|
18
|
+
class Bootstrap {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.hashProvider = async (x) => await this.hashAndCrypt.hash(x);
|
|
21
|
+
this._generateKeyPair = crypto_1.generateTknKey;
|
|
22
|
+
this._decryptAndVerify = new crypto_1.DecryptAndVerify();
|
|
23
|
+
this._signAndCrypt = new crypto_1.SignAndCrypt();
|
|
24
|
+
this._hashAndCrypt = new crypto_1.HashAndCrypt();
|
|
25
|
+
this._asyncStorage = new AsyncLocalStorage_1.AsyncLocalStorage(localStorage);
|
|
26
|
+
this.getAuthSecureTokenChallenge = (0, GetAuthSecureTokenChallenge_1.provideGetAuthSecureTokenChallenge)({
|
|
27
|
+
secureTokenEntityGateway: () => this.secureTokenEntityGateway,
|
|
28
|
+
generator: () => new generator_ts_1.GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
29
|
+
authService: () => this.authService,
|
|
30
|
+
});
|
|
31
|
+
this.getSecureTokenChallenge = (0, GetSecureTokenChallenge_1.provideGetSecureTokenChallenge)({
|
|
32
|
+
secureTokenGateway: () => this.secureTokenEntityGateway,
|
|
33
|
+
generator: () => new generator_ts_1.GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
34
|
+
managementService: () => this.managementService,
|
|
35
|
+
});
|
|
36
|
+
this.getLongResetCode = (secureToken, shortCode) => {
|
|
37
|
+
const getResetCodeProvider = ({ serverUrl, request }) => this.coreApi.credentialApiProvider(serverUrl).mfaGetSecretCodeResetToken(request);
|
|
38
|
+
return (0, ShortToLongCode_1.shortToLongCodeForResetCode)(getResetCodeProvider)(secureToken, shortCode);
|
|
39
|
+
};
|
|
40
|
+
this.businessDataProvider = ConsumeBusinessData_1.consumeBusinessData;
|
|
41
|
+
}
|
|
42
|
+
gateways() {
|
|
43
|
+
this.generator = new generator_ts_1.GeneratorLib(this.signAndCrypt, this.hashAndCrypt);
|
|
44
|
+
this.verifier = this.decryptAndVerify;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
get secureTokenEntityGateway() {
|
|
48
|
+
return (this._secureTokenEntityGateway ?? (this._secureTokenEntityGateway = new SecureTokenStorageEntityGateway_1.SecureTokenStorageEntityGateway(this.asyncStorage)));
|
|
49
|
+
}
|
|
50
|
+
set generateKeyPair(value) {
|
|
51
|
+
this._generateKeyPair = value;
|
|
52
|
+
}
|
|
53
|
+
get generateKeyPair() {
|
|
54
|
+
return this._generateKeyPair;
|
|
55
|
+
}
|
|
56
|
+
set decryptAndVerify(value) {
|
|
57
|
+
this._decryptAndVerify = value;
|
|
58
|
+
}
|
|
59
|
+
get decryptAndVerify() {
|
|
60
|
+
return this._decryptAndVerify ?? new crypto_1.DecryptAndVerify();
|
|
61
|
+
}
|
|
62
|
+
set signAndCrypt(value) {
|
|
63
|
+
this._signAndCrypt = value;
|
|
64
|
+
}
|
|
65
|
+
get signAndCrypt() {
|
|
66
|
+
return this._signAndCrypt ?? new crypto_1.SignAndCrypt();
|
|
67
|
+
}
|
|
68
|
+
set hashAndCrypt(value) {
|
|
69
|
+
this._hashAndCrypt = value;
|
|
70
|
+
}
|
|
71
|
+
get hashAndCrypt() {
|
|
72
|
+
return this._hashAndCrypt ?? new crypto_1.HashAndCrypt();
|
|
73
|
+
}
|
|
74
|
+
get instanceResolver() {
|
|
75
|
+
return (this._instanceResolver ?? (this._instanceResolver = new InstanceResolver_1.InstanceResolver(this.inweboInstances)));
|
|
76
|
+
}
|
|
77
|
+
set inweboInstances(value) {
|
|
78
|
+
this._inweboInstances = value;
|
|
79
|
+
this._instanceResolver = undefined;
|
|
80
|
+
}
|
|
81
|
+
get inweboInstances() {
|
|
82
|
+
return this._inweboInstances;
|
|
83
|
+
}
|
|
84
|
+
set asyncStorage(value) {
|
|
85
|
+
this._asyncStorage = value;
|
|
86
|
+
this._secureTokenEntityGateway = new SecureTokenStorageEntityGateway_1.SecureTokenStorageEntityGateway(value);
|
|
87
|
+
}
|
|
88
|
+
get asyncStorage() {
|
|
89
|
+
return this._asyncStorage ?? new AsyncLocalStorage_1.AsyncLocalStorage(localStorage);
|
|
90
|
+
}
|
|
91
|
+
get activationService() {
|
|
92
|
+
return (this._activationService ?? (this._activationService = new ActivationServiceImpl_1.ActivationServiceImpl({
|
|
93
|
+
activationApiProvider: this.coreApi.activationApiProvider,
|
|
94
|
+
anonymousApiProvider: this.coreApi.anonymousApiProvider,
|
|
95
|
+
})));
|
|
96
|
+
}
|
|
97
|
+
get authService() {
|
|
98
|
+
return (this._authService ?? (this._authService = new AuthServiceImpl_1.AuthServiceImpl({
|
|
99
|
+
authApiProvider: this.coreApi.authApiProvider,
|
|
100
|
+
managementApiProvider: this.coreApi.managementApiProvider,
|
|
101
|
+
generator: () => new generator_ts_1.GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
102
|
+
verifier: () => this.decryptAndVerify,
|
|
103
|
+
hashProvider: () => this.hashProvider,
|
|
104
|
+
})));
|
|
105
|
+
}
|
|
106
|
+
get credentialService() {
|
|
107
|
+
return (this._credentialService ?? (this._credentialService = new CredentialServiceImpl_1.CredentialServiceImpl({
|
|
108
|
+
credentialApiProvider: this.coreApi.credentialApiProvider,
|
|
109
|
+
generator: () => new generator_ts_1.GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
110
|
+
})));
|
|
111
|
+
}
|
|
112
|
+
get managementService() {
|
|
113
|
+
return (this._managementService ?? (this._managementService = new ManagementServiceImpl_1.ManagementServiceImpl({
|
|
114
|
+
managementApiProvider: this.coreApi.managementApiProvider,
|
|
115
|
+
generator: () => new generator_ts_1.GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
116
|
+
verifier: this.decryptAndVerify,
|
|
117
|
+
hashProvider: () => this.hashProvider,
|
|
118
|
+
})));
|
|
119
|
+
}
|
|
120
|
+
get coreApi() {
|
|
121
|
+
return (this._coreApi ?? (this._coreApi = new CoreApi_1.CoreApi('not_initialized')));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.Bootstrap = Bootstrap;
|
|
125
|
+
//# sourceMappingURL=Bootstrap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bootstrap.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/config/Bootstrap.ts"],"names":[],"mappings":";;;AAAA,qDAM4B;AAW5B,qFAAkF;AAGlF,sCAAyF;AACzF,gDAA6C;AAC7C,6FAA0F;AAC1F,iEAA8D;AAE9D,gFAAyF;AACzF,8GAAkH;AAClH,yFAAsF;AACtF,wFAAqF;AACrF,sEAAmE;AACnE,wFAAqF;AACrF,sGAA0G;AAC1G,wEAAqE;AAqCrE,MAAa,SAAS;IAAtB;QAgBS,iBAAY,GAAsC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAE9F,qBAAgB,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,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;YACzD,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,2BAAY,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;SACxE,CAAC,EAAC,CAAC;IACN,CAAC;IAGD,IAAW,iBAAiB;QAC1B,OAAO,CAAC,IAAI,CAAC,kBAAkB,KAAvB,IAAI,CAAC,kBAAkB,GAAK,IAAI,6CAAqB,CAAC;YAC5D,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;YACzD,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,2BAAY,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;YACvE,QAAQ,EAAE,IAAI,CAAC,gBAAgB;YAC/B,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY;SACtC,CAAC,EAAC,CAAC;IACN,CAAC;IAuBD,IAAY,OAAO;QACjB,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,iBAAO,CAAC,iBAAiB,CAAC,EAAC,CAAC;IAC5D,CAAC;CACF;AArID,8BAqIC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.logging = void 0;
|
|
4
|
+
const generator_ts_1 = require("../../generator-ts");
|
|
5
|
+
Object.defineProperty(exports, "logging", { enumerable: true, get: function () { return generator_ts_1.logging; } });
|
|
6
|
+
const isProd = process.env.NODE_ENV == "production";
|
|
7
|
+
generator_ts_1.logging
|
|
8
|
+
.configure({
|
|
9
|
+
minLevels: {
|
|
10
|
+
"": isProd ? "info" : "trace",
|
|
11
|
+
generator: "debug",
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
.registerConsoleLogger();
|
|
15
|
+
//# sourceMappingURL=Logging.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logging.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/config/Logging.ts"],"names":[],"mappings":";;;AAAA,qDAA6C;AAapC,wFAbA,sBAAO,OAaA;AAXhB,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,YAAY,CAAC;AAEpD,sBAAO;KACJ,SAAS,CAAC;IACT,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;QAC7B,SAAS,EAAE,OAAO;KACnB;CACF,CAAC;KACD,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MFAProtocolActivationApiInterface, MFAProtocolCredentialsManagementApiInterface, MFAProtocolAuthenticationApiInterface, MFAProtocolSecureTokenManagementApiInterface, MFAProtocolAnonymousApiInterface } from "../../client-api";
|
|
2
|
+
import { Provider } from "../../l1-application/definition";
|
|
3
|
+
export declare class CoreApi {
|
|
4
|
+
private _serverUrlBase;
|
|
5
|
+
constructor(_serverUrlBase: string);
|
|
6
|
+
get serverUrlBase(): string;
|
|
7
|
+
set serverUrlBase(value: string);
|
|
8
|
+
private _apiConfiguration;
|
|
9
|
+
private get apiConfiguration();
|
|
10
|
+
private makeApiConfiguration;
|
|
11
|
+
activationApiProvider: Provider<string, MFAProtocolActivationApiInterface>;
|
|
12
|
+
anonymousApiProvider: Provider<string, MFAProtocolAnonymousApiInterface>;
|
|
13
|
+
authApiProvider: Provider<string, MFAProtocolAuthenticationApiInterface>;
|
|
14
|
+
credentialApiProvider: Provider<string, MFAProtocolCredentialsManagementApiInterface>;
|
|
15
|
+
managementApiProvider: Provider<string, MFAProtocolSecureTokenManagementApiInterface>;
|
|
16
|
+
private _authApi;
|
|
17
|
+
get authApi(): MFAProtocolAuthenticationApiInterface;
|
|
18
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoreApi = void 0;
|
|
4
|
+
const client_api_1 = require("../../client-api");
|
|
5
|
+
class CoreApi {
|
|
6
|
+
constructor(_serverUrlBase) {
|
|
7
|
+
this._serverUrlBase = _serverUrlBase;
|
|
8
|
+
this.activationApiProvider = (serverUrl) => new client_api_1.MFAProtocolActivationApi(this.makeApiConfiguration(serverUrl));
|
|
9
|
+
this.anonymousApiProvider = (serverUrl) => new client_api_1.MFAProtocolAnonymousApi(this.makeApiConfiguration(serverUrl));
|
|
10
|
+
this.authApiProvider = (serverUrl) => new client_api_1.MFAProtocolAuthenticationApi(this.makeApiConfiguration(serverUrl));
|
|
11
|
+
this.credentialApiProvider = (serverUrl) => new client_api_1.MFAProtocolCredentialsManagementApi(this.makeApiConfiguration(serverUrl));
|
|
12
|
+
this.managementApiProvider = (serverUrl) => new client_api_1.MFAProtocolSecureTokenManagementApi(this.makeApiConfiguration(serverUrl));
|
|
13
|
+
}
|
|
14
|
+
get serverUrlBase() { return this._serverUrlBase; }
|
|
15
|
+
set serverUrlBase(value) {
|
|
16
|
+
this._serverUrlBase = value;
|
|
17
|
+
this._apiConfiguration = undefined;
|
|
18
|
+
this._authApi = undefined;
|
|
19
|
+
}
|
|
20
|
+
get apiConfiguration() {
|
|
21
|
+
if (!this._apiConfiguration) {
|
|
22
|
+
this._apiConfiguration = this.makeApiConfiguration();
|
|
23
|
+
}
|
|
24
|
+
return this._apiConfiguration;
|
|
25
|
+
}
|
|
26
|
+
makeApiConfiguration(serverUrl = this._serverUrlBase) {
|
|
27
|
+
// Strip trailing slashes from the URL
|
|
28
|
+
let end = serverUrl.length;
|
|
29
|
+
while (end > 0 && serverUrl.codePointAt(end - 1) === 47 /* '/' */) {
|
|
30
|
+
end--;
|
|
31
|
+
}
|
|
32
|
+
return new client_api_1.Configuration({
|
|
33
|
+
basePath: serverUrl.substring(0, end)
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
get authApi() {
|
|
37
|
+
if (!this._authApi) {
|
|
38
|
+
this._authApi = new client_api_1.MFAProtocolAuthenticationApi(this.apiConfiguration);
|
|
39
|
+
}
|
|
40
|
+
return this._authApi;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.CoreApi = CoreApi;
|
|
44
|
+
//# sourceMappingURL=CoreApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreApi.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/coreApi/CoreApi.ts"],"names":[],"mappings":";;;AAAA,iDAY0B;AAG1B,MAAa,OAAO;IAEhB,YAAoB,cAAsB;QAAtB,mBAAc,GAAd,cAAc,CAAQ;QA0BnC,0BAAqB,GAAwD,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,qCAAwB,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QACvK,yBAAoB,GAAuD,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,oCAAuB,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QACpK,oBAAe,GAA4D,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,yCAA4B,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QACzK,0BAAqB,GAAmE,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,gDAAmC,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QAC7L,0BAAqB,GAAmE,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,gDAAmC,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;IA9BvJ,CAAC;IAC9C,IAAW,aAAa,KAAK,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;IAC1D,IAAW,aAAa,CAAC,KAAa;QAClC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAC5B,IAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;IAC9B,CAAC;IAGD,IAAY,gBAAgB;QACxB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC1B,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;QACzD,CAAC;QACD,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACO,oBAAoB,CAAC,YAAoB,IAAI,CAAC,cAAc;QAChE,sCAAsC;QACtC,IAAI,GAAG,GAAG,SAAS,CAAC,MAAM,CAAC;QAC3B,OAAO,GAAG,GAAG,CAAC,IAAI,SAAS,CAAC,WAAW,CAAC,GAAG,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,SAAS,EAAE,CAAC;YAChE,GAAG,EAAE,CAAC;QACV,CAAC;QACD,OAAO,IAAI,0BAAa,CAAC;YACrB,QAAQ,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC;SACxC,CAAC,CAAC;IACP,CAAC;IASD,IAAW,OAAO;QACd,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,IAAI,CAAC,QAAQ,GAAG,IAAI,yCAA4B,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC5E,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ;AAzCD,0BAyCC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildRequestInit = buildRequestInit;
|
|
4
|
+
function buildRequestInit(sessionToken) {
|
|
5
|
+
return { headers: { "Authorization": "Bearer " + sessionToken, "Content-Type": "application/json; charset=utf-8" } };
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=RequestInitBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestInitBuilder.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/coreApi/RequestInitBuilder.ts"],"names":[],"mappings":";;AAAA,4CAEC;AAFD,SAAgB,gBAAgB,CAAC,YAAoB;IACjD,OAAO,EAAC,OAAO,EAAE,EAAC,eAAe,EAAE,SAAS,GAAG,YAAY,EAAE,cAAc,EAAE,iCAAiC,EAAC,EAAC,CAAA;AACpH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Base64 } from '../../generator-ts';
|
|
2
|
+
import { DecryptAndVerifyInterface } from '../../l1-application/security/DecryptAndVerifyInterface';
|
|
3
|
+
export declare class DecryptAndVerify implements DecryptAndVerifyInterface {
|
|
4
|
+
constructor();
|
|
5
|
+
decryptAndVerify(token: string, decryptKey: object | string, sigKey: object | Base64): Promise<string>;
|
|
6
|
+
decrypt(value: string, decryptKey: object | string): Promise<Base64>;
|
|
7
|
+
verify(token: string, sigKey: object | Base64): Promise<string>;
|
|
8
|
+
private decryptAsBuffer;
|
|
9
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.DecryptAndVerify = void 0;
|
|
10
|
+
const jose_1 = require("jose");
|
|
11
|
+
const Jose_1 = require("./Jose");
|
|
12
|
+
const LoggerDecorator_1 = require("../../l1-application/logging/LoggerDecorator");
|
|
13
|
+
class DecryptAndVerify {
|
|
14
|
+
constructor() { }
|
|
15
|
+
async decryptAndVerify(token, decryptKey, sigKey) {
|
|
16
|
+
const payload = await this.decryptAsBuffer(token, decryptKey);
|
|
17
|
+
const decryptedToken = new TextDecoder().decode(payload);
|
|
18
|
+
const pubKey = await (0, Jose_1.makePublicKeyForSignatureVerification)(sigKey);
|
|
19
|
+
const { payload: verifiedPayload } = await (0, jose_1.compactVerify)(decryptedToken, pubKey);
|
|
20
|
+
return new TextDecoder().decode(verifiedPayload);
|
|
21
|
+
}
|
|
22
|
+
async decrypt(value, decryptKey) {
|
|
23
|
+
const jwk = typeof decryptKey === 'string' ? JSON.parse(decryptKey) : decryptKey;
|
|
24
|
+
const cryptoKey = await globalThis.crypto.subtle.importKey('jwk', jwk, { name: 'RSA-OAEP', hash: 'SHA-256' }, false, ['decrypt']);
|
|
25
|
+
const decrypted = await globalThis.crypto.subtle.decrypt({ name: 'RSA-OAEP' }, cryptoKey, Buffer.from(value, 'base64'));
|
|
26
|
+
return Buffer.from(decrypted).toString('base64');
|
|
27
|
+
}
|
|
28
|
+
async verify(token, sigKey) {
|
|
29
|
+
const pubKey = await (0, Jose_1.makePublicKeyForSignatureVerification)(sigKey);
|
|
30
|
+
const { payload } = await (0, jose_1.compactVerify)(token, pubKey);
|
|
31
|
+
return new TextDecoder().decode(payload);
|
|
32
|
+
}
|
|
33
|
+
async decryptAsBuffer(value, decryptKey) {
|
|
34
|
+
const jwk = typeof decryptKey === 'string' ? JSON.parse(decryptKey) : decryptKey;
|
|
35
|
+
const privKey = (await (0, jose_1.importJWK)(jwk, 'RSA-OAEP-256'));
|
|
36
|
+
const { plaintext } = await (0, jose_1.compactDecrypt)(value, privKey, {
|
|
37
|
+
keyManagementAlgorithms: ['RSA-OAEP-256'],
|
|
38
|
+
contentEncryptionAlgorithms: ['A256CBC-HS512'],
|
|
39
|
+
});
|
|
40
|
+
return plaintext;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.DecryptAndVerify = DecryptAndVerify;
|
|
44
|
+
__decorate([
|
|
45
|
+
LoggerDecorator_1.LoggerDecorator
|
|
46
|
+
], DecryptAndVerify.prototype, "verify", null);
|
|
47
|
+
//# sourceMappingURL=DecryptAndVerify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecryptAndVerify.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/DecryptAndVerify.ts"],"names":[],"mappings":";;;;;;;;;AAAA,+BAAyE;AAGzE,iCAA+D;AAC/D,kFAA+E;AAE/E,MAAa,gBAAgB;IAC3B,gBAAsB,CAAC;IAEhB,KAAK,CAAC,gBAAgB,CAAC,KAAa,EAAE,UAA2B,EAAE,MAAuB;QAC/F,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;QAC9D,MAAM,cAAc,GAAG,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,IAAA,4CAAqC,EAAC,MAAM,CAAC,CAAC;QACnE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,MAAM,IAAA,oBAAa,EAAC,cAAc,EAAE,MAAM,CAAC,CAAC;QACjF,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;IACnD,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,KAAa,EAAE,UAA2B;QAC7D,MAAM,GAAG,GAAe,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAE,UAAyB,CAAC;QAC7G,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CACxD,KAAK,EACL,GAAG,EACH,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE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ator-ts";
|
|
2
|
+
export declare class HashAndCrypt implements HashAndCryptInterface {
|
|
3
|
+
hashAndCrypt(value: Uint8Array, encPubKey: Base64): Promise<Base64>;
|
|
4
|
+
hashAsBuffer(value: Uint8Array): Promise<Uint8Array>;
|
|
5
|
+
hash(value: Uint8Array): Promise<Base64>;
|
|
6
|
+
encrypt(value: Uint8Array, encPubKey: string): Promise<Base64>;
|
|
7
|
+
}
|