@inwebo-trustbuilder/mfa-lib 6.0.0-develop.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +149 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { GeneratorLib, } from '../../generator-ts';
|
|
2
|
+
import { InstanceResolver } from '../../l1-application/security/InstanceResolver';
|
|
3
|
+
import { SignAndCrypt, HashAndCrypt, DecryptAndVerify, generateTknKey } from '../crypto';
|
|
4
|
+
import { CoreApi } from '../coreApi/CoreApi';
|
|
5
|
+
import { SecureTokenStorageEntityGateway } from '../data/SecureTokenStorageEntityGateway';
|
|
6
|
+
import { AsyncLocalStorage } from '../data/AsyncLocalStorage';
|
|
7
|
+
import { shortToLongCodeForResetCode } from '../services/activationCode/ShortToLongCode';
|
|
8
|
+
import { provideGetAuthSecureTokenChallenge } from '../services/secureTokenChallenge/GetAuthSecureTokenChallenge';
|
|
9
|
+
import { CredentialServiceImpl } from '../services/credentials/CredentialServiceImpl';
|
|
10
|
+
import { ManagementServiceImpl } from '../services/management/ManagementServiceImpl';
|
|
11
|
+
import { AuthServiceImpl } from '../services/auth/AuthServiceImpl';
|
|
12
|
+
import { ActivationServiceImpl } from '../services/activation/ActivationServiceImpl';
|
|
13
|
+
import { provideGetSecureTokenChallenge } from '../services/secureTokenChallenge/GetSecureTokenChallenge';
|
|
14
|
+
import { consumeBusinessData } from '../network/ConsumeBusinessData';
|
|
15
|
+
export class Bootstrap {
|
|
16
|
+
constructor() {
|
|
17
|
+
this.hashProvider = async (x) => await this.hashAndCrypt.hash(x);
|
|
18
|
+
this._generateKeyPair = generateTknKey;
|
|
19
|
+
this._decryptAndVerify = new DecryptAndVerify();
|
|
20
|
+
this._signAndCrypt = new SignAndCrypt();
|
|
21
|
+
this._hashAndCrypt = new HashAndCrypt();
|
|
22
|
+
this._asyncStorage = new AsyncLocalStorage(localStorage);
|
|
23
|
+
this.getAuthSecureTokenChallenge = provideGetAuthSecureTokenChallenge({
|
|
24
|
+
secureTokenEntityGateway: () => this.secureTokenEntityGateway,
|
|
25
|
+
generator: () => new GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
26
|
+
authService: () => this.authService,
|
|
27
|
+
});
|
|
28
|
+
this.getSecureTokenChallenge = provideGetSecureTokenChallenge({
|
|
29
|
+
secureTokenGateway: () => this.secureTokenEntityGateway,
|
|
30
|
+
generator: () => new GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
31
|
+
managementService: () => this.managementService,
|
|
32
|
+
});
|
|
33
|
+
this.getLongResetCode = (secureToken, shortCode) => {
|
|
34
|
+
const getResetCodeProvider = ({ serverUrl, request }) => this.coreApi.credentialApiProvider(serverUrl).mfaGetSecretCodeResetToken(request);
|
|
35
|
+
return shortToLongCodeForResetCode(getResetCodeProvider)(secureToken, shortCode);
|
|
36
|
+
};
|
|
37
|
+
this.businessDataProvider = consumeBusinessData;
|
|
38
|
+
}
|
|
39
|
+
gateways() {
|
|
40
|
+
this.generator = new GeneratorLib(this.signAndCrypt, this.hashAndCrypt);
|
|
41
|
+
this.verifier = this.decryptAndVerify;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
get secureTokenEntityGateway() {
|
|
45
|
+
return (this._secureTokenEntityGateway ?? (this._secureTokenEntityGateway = new SecureTokenStorageEntityGateway(this.asyncStorage)));
|
|
46
|
+
}
|
|
47
|
+
set generateKeyPair(value) {
|
|
48
|
+
this._generateKeyPair = value;
|
|
49
|
+
}
|
|
50
|
+
get generateKeyPair() {
|
|
51
|
+
return this._generateKeyPair;
|
|
52
|
+
}
|
|
53
|
+
set decryptAndVerify(value) {
|
|
54
|
+
this._decryptAndVerify = value;
|
|
55
|
+
}
|
|
56
|
+
get decryptAndVerify() {
|
|
57
|
+
return this._decryptAndVerify ?? new DecryptAndVerify();
|
|
58
|
+
}
|
|
59
|
+
set signAndCrypt(value) {
|
|
60
|
+
this._signAndCrypt = value;
|
|
61
|
+
}
|
|
62
|
+
get signAndCrypt() {
|
|
63
|
+
return this._signAndCrypt ?? new SignAndCrypt();
|
|
64
|
+
}
|
|
65
|
+
set hashAndCrypt(value) {
|
|
66
|
+
this._hashAndCrypt = value;
|
|
67
|
+
}
|
|
68
|
+
get hashAndCrypt() {
|
|
69
|
+
return this._hashAndCrypt ?? new HashAndCrypt();
|
|
70
|
+
}
|
|
71
|
+
get instanceResolver() {
|
|
72
|
+
return (this._instanceResolver ?? (this._instanceResolver = new InstanceResolver(this.inweboInstances)));
|
|
73
|
+
}
|
|
74
|
+
set inweboInstances(value) {
|
|
75
|
+
this._inweboInstances = value;
|
|
76
|
+
this._instanceResolver = undefined;
|
|
77
|
+
}
|
|
78
|
+
get inweboInstances() {
|
|
79
|
+
return this._inweboInstances;
|
|
80
|
+
}
|
|
81
|
+
set asyncStorage(value) {
|
|
82
|
+
this._asyncStorage = value;
|
|
83
|
+
this._secureTokenEntityGateway = new SecureTokenStorageEntityGateway(value);
|
|
84
|
+
}
|
|
85
|
+
get asyncStorage() {
|
|
86
|
+
return this._asyncStorage ?? new AsyncLocalStorage(localStorage);
|
|
87
|
+
}
|
|
88
|
+
get activationService() {
|
|
89
|
+
return (this._activationService ?? (this._activationService = new ActivationServiceImpl({
|
|
90
|
+
activationApiProvider: this.coreApi.activationApiProvider,
|
|
91
|
+
anonymousApiProvider: this.coreApi.anonymousApiProvider,
|
|
92
|
+
})));
|
|
93
|
+
}
|
|
94
|
+
get authService() {
|
|
95
|
+
return (this._authService ?? (this._authService = new AuthServiceImpl({
|
|
96
|
+
authApiProvider: this.coreApi.authApiProvider,
|
|
97
|
+
managementApiProvider: this.coreApi.managementApiProvider,
|
|
98
|
+
generator: () => new GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
99
|
+
verifier: () => this.decryptAndVerify,
|
|
100
|
+
hashProvider: () => this.hashProvider,
|
|
101
|
+
})));
|
|
102
|
+
}
|
|
103
|
+
get credentialService() {
|
|
104
|
+
return (this._credentialService ?? (this._credentialService = new CredentialServiceImpl({
|
|
105
|
+
credentialApiProvider: this.coreApi.credentialApiProvider,
|
|
106
|
+
generator: () => new GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
107
|
+
})));
|
|
108
|
+
}
|
|
109
|
+
get managementService() {
|
|
110
|
+
return (this._managementService ?? (this._managementService = new ManagementServiceImpl({
|
|
111
|
+
managementApiProvider: this.coreApi.managementApiProvider,
|
|
112
|
+
generator: () => new GeneratorLib(this.signAndCrypt, this.hashAndCrypt),
|
|
113
|
+
verifier: this.decryptAndVerify,
|
|
114
|
+
hashProvider: () => this.hashProvider,
|
|
115
|
+
})));
|
|
116
|
+
}
|
|
117
|
+
get coreApi() {
|
|
118
|
+
return (this._coreApi ?? (this._coreApi = new CoreApi('not_initialized')));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=Bootstrap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bootstrap.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/config/Bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,GAIb,MAAM,oBAAoB,CAAC;AAW5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAGlF,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACzF,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,kCAAkC,EAAE,MAAM,8DAA8D,CAAC;AAClH,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAC1G,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAqCrE,MAAM,OAAO,SAAS;IAAtB;QAgBS,iBAAY,GAAsC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAE9F,qBAAgB,GAAoB,cAAc,CAAC;QAQnD,sBAAiB,GAA8B,IAAI,gBAAgB,EAAE,CAAC;QAQtE,kBAAa,GAA0B,IAAI,YAAY,EAAE,CAAC;QAQ1D,kBAAa,GAA0B,IAAI,YAAY,EAAE,CAAC;QAqB1D,kBAAa,GAAiB,IAAI,iBAAiB,CAAC,YAAY,CAAC,CAAC;QA8CnE,gCAA2B,GAAgC,kCAAkC,CAAC;YACnG,wBAAwB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,wBAAwB;YAC7D,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,YAAY,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;YACvE,WAAW,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW;SACpC,CAAC,CAAC;QAEI,4BAAuB,GAA4B,8BAA8B,CAAC;YACvF,kBAAkB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,wBAAwB;YACvD,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,YAAY,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;YACvE,iBAAiB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB;SAChD,CAAC,CAAC;QAEI,qBAAgB,GAAG,CAAC,WAAwB,EAAE,SAAiB,EAAE,EAAE;YACxE,MAAM,oBAAoB,GAAG,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,CACtD,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC;YACpF,OAAO,2BAA2B,CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QACnF,CAAC,CAAC;QAEK,yBAAoB,GAAG,mBAAmB,CAAC;IAMpD,CAAC;IAhIQ,QAAQ;QACb,IAAI,CAAC,SAAS,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;QACxE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACtC,OAAO,IAAI,CAAC;IACd,CAAC;IAGD,IAAW,wBAAwB;QACjC,OAAO,CAAC,IAAI,CAAC,yBAAyB,KAA9B,IAAI,CAAC,yBAAyB,GAAK,IAAI,+BAA+B,CAAC,IAAI,CAAC,YAAY,CAAC,EAAC,CAAC;IACrG,CAAC;IAKD,IAAW,eAAe,CAAC,KAAsB;QAC/C,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;IAChC,CAAC;IACD,IAAW,eAAe;QACxB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAGD,IAAW,gBAAgB,CAAC,KAAgC;QAC1D,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;IACjC,CAAC;IACD,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,iBAAiB,IAAI,IAAI,gBAAgB,EAAE,CAAC;IAC1D,CAAC;IAGD,IAAW,YAAY,CAAC,KAA4B;QAClD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC7B,CAAC;IACD,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,aAAa,IAAI,IAAI,YAAY,EAAE,CAAC;IAClD,CAAC;IAGD,IAAW,YAAY,CAAC,KAA4B;QAClD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;IAC7B,CAAC;IACD,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,aAAa,IAAI,IAAI,YAAY,EAAE,CAAC;IAClD,CAAC;IAGD,IAAW,gBAAgB;QACzB,OAAO,CAAC,IAAI,CAAC,iBAAiB,KAAtB,IAAI,CAAC,iBAAiB,GAAK,IAAI,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,EAAC,CAAC;IACjF,CAAC;IAED,IAAW,eAAe,CAAC,KAA4B;QACrD,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC;IACrC,CAAC;IACD,IAAW,eAAe;QACxB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAGD,IAAW,YAAY,CAAC,KAAmB;QACzC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,yBAAyB,GAAG,IAAI,+BAA+B,CAAC,KAAK,CAAC,CAAC;IAC9E,CAAC;IACD,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,aAAa,IAAI,IAAI,iBAAiB,CAAC,YAAY,CAAC,CAAC;IACnE,CAAC;IAGD,IAAW,iBAAiB;QAC1B,OAAO,CAAC,IAAI,CAAC,kBAAkB,KAAvB,IAAI,CAAC,kBAAkB,GAAK,IAAI,qBAAqB,CAAC;YAC5D,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;YACzD,oBAAoB,EAAE,IAAI,CAAC,OAAO,CAAC,oBAAoB;SACxD,CAAC,EAAC,CAAC;IACN,CAAC;IAGD,IAAW,WAAW;QACpB,OAAO,CAAC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,IAAI,eAAe,CAAC;YAChD,eAAe,EAAE,IAAI,CAAC,OAAO,CAAC,eAAe;YAC7C,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;YACzD,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,YAAY,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;YACvE,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB;YACrC,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY;SACtC,CAAC,EAAC,CAAC;IACN,CAAC;IAGD,IAAW,iBAAiB;QAC1B,OAAO,CAAC,IAAI,CAAC,kBAAkB,KAAvB,IAAI,CAAC,kBAAkB,GAAK,IAAI,qBAAqB,CAAC;YAC5D,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;YACzD,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,YAAY,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,qBAAqB,CAAC;YAC5D,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;YACzD,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,YAAY,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,OAAO,CAAC,iBAAiB,CAAC,EAAC,CAAC;IAC5D,CAAC;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { logging } from "../../generator-ts";
|
|
2
|
+
const isProd = process.env.NODE_ENV == "production";
|
|
3
|
+
logging
|
|
4
|
+
.configure({
|
|
5
|
+
minLevels: {
|
|
6
|
+
"": isProd ? "info" : "trace",
|
|
7
|
+
generator: "debug",
|
|
8
|
+
},
|
|
9
|
+
})
|
|
10
|
+
.registerConsoleLogger();
|
|
11
|
+
export { logging };
|
|
12
|
+
//# sourceMappingURL=Logging.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logging.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/config/Logging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,YAAY,CAAC;AAEpD,OAAO;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;AAE3B,OAAO,EAAE,OAAO,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,40 @@
|
|
|
1
|
+
import { MFAProtocolActivationApi, Configuration, MFAProtocolCredentialsManagementApi, MFAProtocolAuthenticationApi, MFAProtocolSecureTokenManagementApi, MFAProtocolAnonymousApi } from "../../client-api";
|
|
2
|
+
export class CoreApi {
|
|
3
|
+
constructor(_serverUrlBase) {
|
|
4
|
+
this._serverUrlBase = _serverUrlBase;
|
|
5
|
+
this.activationApiProvider = (serverUrl) => new MFAProtocolActivationApi(this.makeApiConfiguration(serverUrl));
|
|
6
|
+
this.anonymousApiProvider = (serverUrl) => new MFAProtocolAnonymousApi(this.makeApiConfiguration(serverUrl));
|
|
7
|
+
this.authApiProvider = (serverUrl) => new MFAProtocolAuthenticationApi(this.makeApiConfiguration(serverUrl));
|
|
8
|
+
this.credentialApiProvider = (serverUrl) => new MFAProtocolCredentialsManagementApi(this.makeApiConfiguration(serverUrl));
|
|
9
|
+
this.managementApiProvider = (serverUrl) => new MFAProtocolSecureTokenManagementApi(this.makeApiConfiguration(serverUrl));
|
|
10
|
+
}
|
|
11
|
+
get serverUrlBase() { return this._serverUrlBase; }
|
|
12
|
+
set serverUrlBase(value) {
|
|
13
|
+
this._serverUrlBase = value;
|
|
14
|
+
this._apiConfiguration = undefined;
|
|
15
|
+
this._authApi = undefined;
|
|
16
|
+
}
|
|
17
|
+
get apiConfiguration() {
|
|
18
|
+
if (!this._apiConfiguration) {
|
|
19
|
+
this._apiConfiguration = this.makeApiConfiguration();
|
|
20
|
+
}
|
|
21
|
+
return this._apiConfiguration;
|
|
22
|
+
}
|
|
23
|
+
makeApiConfiguration(serverUrl = this._serverUrlBase) {
|
|
24
|
+
// Strip trailing slashes from the URL
|
|
25
|
+
let end = serverUrl.length;
|
|
26
|
+
while (end > 0 && serverUrl.codePointAt(end - 1) === 47 /* '/' */) {
|
|
27
|
+
end--;
|
|
28
|
+
}
|
|
29
|
+
return new Configuration({
|
|
30
|
+
basePath: serverUrl.substring(0, end)
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
get authApi() {
|
|
34
|
+
if (!this._authApi) {
|
|
35
|
+
this._authApi = new MFAProtocolAuthenticationApi(this.apiConfiguration);
|
|
36
|
+
}
|
|
37
|
+
return this._authApi;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=CoreApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CoreApi.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/coreApi/CoreApi.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,wBAAwB,EAExB,aAAa,EACb,mCAAmC,EAEnC,4BAA4B,EAE5B,mCAAmC,EAGnC,uBAAuB,EAC1B,MAAM,kBAAkB,CAAC;AAG1B,MAAM,OAAO,OAAO;IAEhB,YAAoB,cAAsB;QAAtB,mBAAc,GAAd,cAAc,CAAQ;QA0BnC,0BAAqB,GAAwD,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,wBAAwB,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QACvK,yBAAoB,GAAuD,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,uBAAuB,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QACpK,oBAAe,GAA4D,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,4BAA4B,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QACzK,0BAAqB,GAAmE,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,mCAAmC,CAAC,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;QAC7L,0BAAqB,GAAmE,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,mCAAmC,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,aAAa,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,4BAA4B,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC5E,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestInitBuilder.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/coreApi/RequestInitBuilder.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,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,43 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { compactDecrypt, compactVerify, importJWK } from 'jose';
|
|
8
|
+
import { makePublicKeyForSignatureVerification } from './Jose';
|
|
9
|
+
import { LoggerDecorator } from '../../l1-application/logging/LoggerDecorator';
|
|
10
|
+
export class DecryptAndVerify {
|
|
11
|
+
constructor() { }
|
|
12
|
+
async decryptAndVerify(token, decryptKey, sigKey) {
|
|
13
|
+
const payload = await this.decryptAsBuffer(token, decryptKey);
|
|
14
|
+
const decryptedToken = new TextDecoder().decode(payload);
|
|
15
|
+
const pubKey = await makePublicKeyForSignatureVerification(sigKey);
|
|
16
|
+
const { payload: verifiedPayload } = await compactVerify(decryptedToken, pubKey);
|
|
17
|
+
return new TextDecoder().decode(verifiedPayload);
|
|
18
|
+
}
|
|
19
|
+
async decrypt(value, decryptKey) {
|
|
20
|
+
const jwk = typeof decryptKey === 'string' ? JSON.parse(decryptKey) : decryptKey;
|
|
21
|
+
const cryptoKey = await globalThis.crypto.subtle.importKey('jwk', jwk, { name: 'RSA-OAEP', hash: 'SHA-256' }, false, ['decrypt']);
|
|
22
|
+
const decrypted = await globalThis.crypto.subtle.decrypt({ name: 'RSA-OAEP' }, cryptoKey, Buffer.from(value, 'base64'));
|
|
23
|
+
return Buffer.from(decrypted).toString('base64');
|
|
24
|
+
}
|
|
25
|
+
async verify(token, sigKey) {
|
|
26
|
+
const pubKey = await makePublicKeyForSignatureVerification(sigKey);
|
|
27
|
+
const { payload } = await compactVerify(token, pubKey);
|
|
28
|
+
return new TextDecoder().decode(payload);
|
|
29
|
+
}
|
|
30
|
+
async decryptAsBuffer(value, decryptKey) {
|
|
31
|
+
const jwk = typeof decryptKey === 'string' ? JSON.parse(decryptKey) : decryptKey;
|
|
32
|
+
const privKey = (await importJWK(jwk, 'RSA-OAEP-256'));
|
|
33
|
+
const { plaintext } = await compactDecrypt(value, privKey, {
|
|
34
|
+
keyManagementAlgorithms: ['RSA-OAEP-256'],
|
|
35
|
+
contentEncryptionAlgorithms: ['A256CBC-HS512'],
|
|
36
|
+
});
|
|
37
|
+
return plaintext;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
__decorate([
|
|
41
|
+
LoggerDecorator
|
|
42
|
+
], DecryptAndVerify.prototype, "verify", null);
|
|
43
|
+
//# sourceMappingURL=DecryptAndVerify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DecryptAndVerify.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/DecryptAndVerify.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAW,MAAM,MAAM,CAAC;AAGzE,OAAO,EAAE,qCAAqC,EAAE,MAAM,QAAQ,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAE/E,MAAM,OAAO,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,qCAAqC,CAAC,MAAM,CAAC,CAAC;QACnE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,MAAM,aAAa,CAAC,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,EACrC,KAAK,EACL,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CACtD,EAAE,IAAI,EAAE,UAAU,EAAE,EACpB,SAAS,EACT,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAC7B,CAAC;QACF,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACnD,CAAC;IAGY,AAAN,KAAK,CAAC,MAAM,CAAC,KAAa,EAAE,MAAuB;QACxD,MAAM,MAAM,GAAG,MAAM,qCAAqC,CAAC,MAAM,CAAC,CAAC;QACnE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QACvD,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3C,CAAC;IAEO,KAAK,CAAC,eAAe,CAAC,KAAa,EAAE,UAA2B;QACtE,MAAM,GAAG,GAAG,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;QACjF,MAAM,OAAO,GAAG,CAAC,MAAM,SAAS,CAAC,GAAG,EAAE,cAAc,CAAC,CAAY,CAAC;QAClE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE;YACzD,uBAAuB,EAAE,CAAC,cAAc,CAAC;YACzC,2BAA2B,EAAE,CAAC,eAAe,CAAC;SAC/C,CAAC,CAAC;QACH,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAfc;IADZ,eAAe;8CAKf"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Base64, HashAndCryptInterface } from "../../generator-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
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export class HashAndCrypt {
|
|
2
|
+
async hashAndCrypt(value, encPubKey) {
|
|
3
|
+
const hashed = await this.hashAsBuffer(value);
|
|
4
|
+
return await this.encrypt(hashed, encPubKey);
|
|
5
|
+
}
|
|
6
|
+
async hashAsBuffer(value) {
|
|
7
|
+
const result = await globalThis.crypto.subtle.digest("SHA-256", new Uint8Array(value));
|
|
8
|
+
return new Uint8Array(result);
|
|
9
|
+
}
|
|
10
|
+
async hash(value) {
|
|
11
|
+
const hashed = await this.hashAsBuffer(value);
|
|
12
|
+
return Buffer.from(hashed).toString("base64");
|
|
13
|
+
}
|
|
14
|
+
async encrypt(value, encPubKey) {
|
|
15
|
+
const der = Buffer.from(encPubKey, "base64");
|
|
16
|
+
const cryptoKey = await globalThis.crypto.subtle.importKey("spki", new Uint8Array(der), { name: "RSA-OAEP", hash: "SHA-256" }, false, ["encrypt"]);
|
|
17
|
+
const encrypted = await globalThis.crypto.subtle.encrypt({ name: "RSA-OAEP" }, cryptoKey, new Uint8Array(value));
|
|
18
|
+
return Buffer.from(encrypted).toString("base64");
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=HashAndCrypt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HashAndCrypt.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/HashAndCrypt.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,YAAY;IACvB,KAAK,CAAC,YAAY,CAAC,KAAiB,EAAE,SAAiB;QACrD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC9C,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAiB;QAClC,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;QACvF,OAAO,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,KAAiB;QAC1B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC9C,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAChD,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,KAAiB,EAAE,SAAiB;QAChD,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAC7C,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CACxD,MAAM,EACN,IAAI,UAAU,CAAC,GAAG,CAAC,EACnB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,EACrC,KAAK,EACL,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CACtD,EAAE,IAAI,EAAE,UAAU,EAAE,EACpB,SAAS,EACT,IAAI,UAAU,CAAC,KAAK,CAAC,CACtB,CAAC;QACF,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACnD,CAAC;CACF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { KeyLike } from 'jose';
|
|
2
|
+
export declare function makePrivateKey(privateKey: object | string, alg?: string): Promise<KeyLike>;
|
|
3
|
+
export declare const makePublicKeyForEncryption: (pubKey: string) => Promise<KeyLike>;
|
|
4
|
+
export declare const makePublicKeyForSignatureVerification: (pubKey: any) => Promise<KeyLike>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { importJWK, importSPKI, importPKCS8 } from 'jose';
|
|
2
|
+
function spkiBase64ToPem(base64) {
|
|
3
|
+
const formatted = base64.match(/.{1,64}/g)?.join('\n') || base64;
|
|
4
|
+
return `-----BEGIN PUBLIC KEY-----\n${formatted}\n-----END PUBLIC KEY-----`;
|
|
5
|
+
}
|
|
6
|
+
export function makePrivateKey(privateKey, alg = 'PS256') {
|
|
7
|
+
if (typeof privateKey === 'string') {
|
|
8
|
+
return importPKCS8(privateKey, alg);
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
return importJWK(privateKey, alg);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export const makePublicKeyForEncryption = async (pubKey) => {
|
|
15
|
+
const pem = spkiBase64ToPem(pubKey);
|
|
16
|
+
return importSPKI(pem, 'RSA-OAEP-256');
|
|
17
|
+
};
|
|
18
|
+
export const makePublicKeyForSignatureVerification = async (pubKey) => {
|
|
19
|
+
if ('string' == typeof pubKey) {
|
|
20
|
+
const pem = spkiBase64ToPem(pubKey);
|
|
21
|
+
return importSPKI(pem, 'PS256');
|
|
22
|
+
}
|
|
23
|
+
return pubKey;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Jose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Jose.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/Jose.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAgB,MAAM,MAAM,CAAC;AAExE,SAAS,eAAe,CAAC,MAAc;IACrC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC;IACjE,OAAO,+BAA+B,SAAS,4BAA4B,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,UAA2B,EAAE,GAAG,GAAG,OAAO;IACvE,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;QACnC,OAAO,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,SAAS,CAAC,UAAiB,EAAE,GAAG,CAAqB,CAAC;IAC/D,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAG,KAAK,EAAE,MAAc,EAAoB,EAAE;IACnF,MAAM,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IACpC,OAAO,UAAU,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAAG,KAAK,EAAE,MAAM,EAAoB,EAAE;IACtF,IAAI,QAAQ,IAAI,OAAO,MAAM,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACpC,OAAO,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { generateKeyPair, exportJWK, exportSPKI } from 'jose';
|
|
2
|
+
function pemContent(pem, bIsPrivate = false) {
|
|
3
|
+
// fetch the part of the PEM string between header and footer
|
|
4
|
+
const pemHeader = bIsPrivate ? '-----BEGIN RSA PRIVATE KEY-----' : '-----BEGIN PUBLIC KEY-----';
|
|
5
|
+
const pemFooter = bIsPrivate ? '-----END RSA PRIVATE KEY-----' : '-----END PUBLIC KEY-----';
|
|
6
|
+
return pem.substring(pemHeader.length, pem.length - pemFooter.length);
|
|
7
|
+
}
|
|
8
|
+
export const generateTknKey = async (keyops) => {
|
|
9
|
+
const { publicKey, privateKey } = await generateKeyPair('PS256', {
|
|
10
|
+
modulusLength: 3072,
|
|
11
|
+
extractable: true,
|
|
12
|
+
});
|
|
13
|
+
const spkiPem = await exportSPKI(publicKey);
|
|
14
|
+
const pemKey = spkiPem.replace(/\r?\n|\r/g, '');
|
|
15
|
+
const pub = pemContent(pemKey);
|
|
16
|
+
const priv = (await exportJWK(privateKey));
|
|
17
|
+
delete priv.alg;
|
|
18
|
+
priv.key_ops = keyops;
|
|
19
|
+
const publicFormat = 'SPKI';
|
|
20
|
+
return { priv: priv, pub: pub, pubFormat: publicFormat };
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=KeyGenerator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyGenerator.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/KeyGenerator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE9D,SAAS,UAAU,CAAC,GAAW,EAAE,aAAsB,KAAK;IAC1D,6DAA6D;IAC7D,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,4BAA4B,CAAC;IAChG,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,0BAA0B,CAAC;IAC5F,OAAO,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;AACxE,CAAC;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EAAE,MAAgB,EAAE,EAAE;IACvD,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,MAAM,eAAe,CAAC,OAAO,EAAE;QAC/D,aAAa,EAAE,IAAI;QACnB,WAAW,EAAE,IAAI;KAClB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,SAAS,CAAC,CAAC;IAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;IAChD,MAAM,GAAG,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAE/B,MAAM,IAAI,GAAG,CAAC,MAAM,SAAS,CAAC,UAAU,CAAC,CAExC,CAAC;IACF,OAAO,IAAI,CAAC,GAAG,CAAC;IAChB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACtB,MAAM,YAAY,GAAG,MAAuB,CAAC;IAE7C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;AAC3D,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Base64, PrivateKey, SignAndCryptInterface } from '../../generator-ts';
|
|
2
|
+
export declare class SignAndCrypt implements SignAndCryptInterface {
|
|
3
|
+
sign(header: object, payload: object, sigKey: object | string): Promise<string>;
|
|
4
|
+
signAndCrypt(header: object, payload: object, sigKey: PrivateKey, pubKey: Base64): Promise<string>;
|
|
5
|
+
}
|
|
6
|
+
export default SignAndCrypt;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CompactSign, CompactEncrypt } from 'jose';
|
|
2
|
+
import { makePrivateKey, makePublicKeyForEncryption } from './Jose';
|
|
3
|
+
export class SignAndCrypt {
|
|
4
|
+
async sign(header, payload, sigKey) {
|
|
5
|
+
const key = await makePrivateKey(sigKey);
|
|
6
|
+
const sPayload = JSON.stringify(payload);
|
|
7
|
+
const token = await new CompactSign(new TextEncoder().encode(sPayload))
|
|
8
|
+
.setProtectedHeader({ ...header, alg: 'PS256' })
|
|
9
|
+
.sign(key);
|
|
10
|
+
return token;
|
|
11
|
+
}
|
|
12
|
+
async signAndCrypt(header, payload, sigKey, pubKey) {
|
|
13
|
+
const cryptKey = await makePublicKeyForEncryption(pubKey);
|
|
14
|
+
const token = await this.sign(header, payload, sigKey);
|
|
15
|
+
return await new CompactEncrypt(new TextEncoder().encode(token))
|
|
16
|
+
.setProtectedHeader({
|
|
17
|
+
...header,
|
|
18
|
+
alg: 'RSA-OAEP-256',
|
|
19
|
+
enc: 'A256CBC-HS512',
|
|
20
|
+
})
|
|
21
|
+
.encrypt(cryptKey);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export default SignAndCrypt;
|
|
25
|
+
//# sourceMappingURL=SignAndCrypt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignAndCrypt.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/SignAndCrypt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC;AAIpE,MAAM,OAAO,YAAY;IACvB,KAAK,CAAC,IAAI,CAAC,MAAc,EAAE,OAAe,EAAE,MAAuB;QACjE,MAAM,GAAG,GAAG,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;QAEzC,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACzC,MAAM,KAAK,GAAG,MAAM,IAAI,WAAW,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;aACpE,kBAAkB,CAAC,EAAE,GAAI,MAAuB,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;aACjE,IAAI,CAAC,GAAG,CAAC,CAAC;QACb,OAAO,KAAK,CAAC;IACf,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,MAAc,EAAE,OAAe,EAAE,MAAkB,EAAE,MAAc;QACpF,MAAM,QAAQ,GAAG,MAAM,0BAA0B,CAAC,MAAM,CAAC,CAAC;QAC1D,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAEvD,OAAO,MAAM,IAAI,cAAc,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;aAC7D,kBAAkB,CAAC;YAClB,GAAI,MAAuB;YAC3B,GAAG,EAAE,cAAc;YACnB,GAAG,EAAE,eAAe;SACrB,CAAC;aACD,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvB,CAAC;CACF;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/crypto/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AsyncStorage } from './AsyncStorage';
|
|
2
|
+
export declare class AsyncLocalStorage implements AsyncStorage {
|
|
3
|
+
private readonly storage?;
|
|
4
|
+
constructor(storage?: Storage);
|
|
5
|
+
getItem(key: string): Promise<string | null>;
|
|
6
|
+
removeItem(key: string): Promise<void>;
|
|
7
|
+
setItem(key: string, value: string): Promise<void>;
|
|
8
|
+
getAllKeys(): Promise<string[]>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export class AsyncLocalStorage {
|
|
2
|
+
constructor(storage) {
|
|
3
|
+
this.storage = storage;
|
|
4
|
+
}
|
|
5
|
+
async getItem(key) {
|
|
6
|
+
if (!this.storage)
|
|
7
|
+
return null;
|
|
8
|
+
return this.storage.getItem(key);
|
|
9
|
+
}
|
|
10
|
+
async removeItem(key) {
|
|
11
|
+
if (!this.storage)
|
|
12
|
+
return;
|
|
13
|
+
return this.storage.removeItem(key);
|
|
14
|
+
}
|
|
15
|
+
async setItem(key, value) {
|
|
16
|
+
if (!this.storage)
|
|
17
|
+
return;
|
|
18
|
+
return this.storage.setItem(key, value);
|
|
19
|
+
}
|
|
20
|
+
async getAllKeys() {
|
|
21
|
+
if (!this.storage)
|
|
22
|
+
return [];
|
|
23
|
+
return Object.keys(this.storage);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=AsyncLocalStorage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsyncLocalStorage.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/data/AsyncLocalStorage.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,iBAAiB;IAC5B,YAA6B,OAAiB;QAAjB,YAAO,GAAP,OAAO,CAAU;IAAG,CAAC;IAClD,KAAK,CAAC,OAAO,CAAC,GAAW;QACvB,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,IAAI,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,GAAW;QAC1B,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IACtC,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,GAAW,EAAE,KAAa;QACtC,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC1C,CAAC;IACD,KAAK,CAAC,UAAU;QACd,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsyncStorage.js","sourceRoot":"","sources":["../../../src/l3-infrastructure/data/AsyncStorage.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SecureToken } from "../../l0-domain/entities";
|
|
2
|
+
import { FailableAsync } from "../../l1-application/definition";
|
|
3
|
+
import { CreateSecureTokenPayload, LocalSecureTokenNotFoundErr, SecureTokenEntityGateway } from "../../l1-application/repository/SecureTokenEntityGateway";
|
|
4
|
+
import { AsyncStorage } from "./AsyncStorage";
|
|
5
|
+
export declare class SecureTokenStorageEntityGateway implements SecureTokenEntityGateway {
|
|
6
|
+
private storage;
|
|
7
|
+
static Prefix: string;
|
|
8
|
+
constructor(storage: AsyncStorage);
|
|
9
|
+
createSecureToken(payload: CreateSecureTokenPayload): Promise<SecureToken>;
|
|
10
|
+
getExistingSecureToken(payload: CreateSecureTokenPayload): Promise<SecureToken>;
|
|
11
|
+
getAll(): Promise<SecureToken[]>;
|
|
12
|
+
getSecureToken(tknAlias: string): FailableAsync<{
|
|
13
|
+
user: {
|
|
14
|
+
tntAlias: string;
|
|
15
|
+
tntName: string;
|
|
16
|
+
login: string;
|
|
17
|
+
ualias: string;
|
|
18
|
+
};
|
|
19
|
+
token: {
|
|
20
|
+
alias: string;
|
|
21
|
+
k0: string;
|
|
22
|
+
k1: string;
|
|
23
|
+
tntSignPubKey: string;
|
|
24
|
+
tntEncPubKey: string;
|
|
25
|
+
tknSignPubKey: string;
|
|
26
|
+
tknSignPrivKey: string | {
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
tknEncPubKey: string;
|
|
30
|
+
tknEncPrivKey: string | {
|
|
31
|
+
[key: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
34
|
+
scrib: string;
|
|
35
|
+
parameters: {
|
|
36
|
+
bioAuthorized: boolean;
|
|
37
|
+
bioAvailable: boolean;
|
|
38
|
+
email: string;
|
|
39
|
+
selfUnlockCodeEnabled: boolean;
|
|
40
|
+
resetCodeDistributionMode: import("../../l0-domain/base").ResetCodeDistributionMode;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
serverUrl: string;
|
|
44
|
+
}, LocalSecureTokenNotFoundErr>;
|
|
45
|
+
private getPromisedSecureToken;
|
|
46
|
+
private getSecureTokenByTntAliasAndUserAlias;
|
|
47
|
+
saveSecureToken(secureToken: SecureToken): Promise<SecureToken>;
|
|
48
|
+
convertToSecureToken(key: string): Promise<SecureToken | null>;
|
|
49
|
+
deleteSecureToken(tknAlias: string): Promise<boolean>;
|
|
50
|
+
}
|