Ejemplo n.º 1
0
        protected override async Task OnInitializedAsync()
        {
            HardwareVaultService = ScopedServices.GetRequiredService <IHardwareVaultService>();

            AccessProfile = await HardwareVaultService.ProfileQuery().AsNoTracking().FirstOrDefaultAsync(x => x.Id == "default");

            AccessProfile.Id   = null;
            AccessProfile.Name = null;

            InitPinExpirationValue = AccessProfile.PinExpirationConverted;
            InitPinLengthValue     = AccessProfile.PinLength;
            InitPinTryCountValue   = AccessProfile.PinTryCount;
        }