@if($item->type === 'auth')
@if(isset($secretData['username']))
Usuario/Nombre de Usuario
{{ $secretData['username'] }}
@endif
@if(isset($secretData['password']))
@endif
@if(isset($secretData['uri']) && is_array($secretData['uri']) && count($secretData['uri']) > 0)
URIs
@foreach($secretData['uri'] as $uri)
@endforeach
@endif
@if(isset($totpCode) && $totpCode)
Código TOTP (2FA)
{{ $totpRemainingTime }}s
{{ $totpCode }}
@if(isset($totpUri))
@endif
Este código se actualiza automáticamente cada 30 segundos.
Compatible con Google Authenticator, Microsoft Authenticator, etc.
@if(isset($totpUri))
Escanea este código QR con tu app autenticadora (Google Authenticator, Microsoft Authenticator, etc.)
O copia la URI manualmente si prefieres no usar QR
@endif
@endif
@elseif($item->type === 'card')
@if(isset($secretData['cardholder_name']))
Nombre del Titular
{{ $secretData['cardholder_name'] }}
@endif
@if(isset($secretData['card_number']))
Número de Tarjeta
{{ $secretData['card_number'] }}
@endif
@if(isset($secretData['brand']))
Marca
{{ $secretData['brand'] }}
@endif
@if(isset($secretData['exp_month']) || isset($secretData['exp_year']))
Fecha de Expiración
@if(isset($secretData['exp_month']) && isset($secretData['exp_year']))
{{ str_pad($secretData['exp_month'], 2, '0', STR_PAD_LEFT) }}/{{ $secretData['exp_year'] }}
@elseif(isset($secretData['exp_month']))
{{ str_pad($secretData['exp_month'], 2, '0', STR_PAD_LEFT) }}/--
@elseif(isset($secretData['exp_year']))
--/{{ $secretData['exp_year'] }}
@endif
@endif
@if(isset($secretData['security_code']))
@endif
@elseif($item->type === 'api_key')
@if(isset($secretData['api_key']))
@endif
@if(isset($secretData['host']))
@endif
@elseif($item->type === 'ssh_key')
@if(isset($secretData['public_key']))
Clave Pública
{{ $secretData['public_key'] }}
@endif
@if(isset($secretData['private_key']))
@endif
@if(isset($secretData['passphrase']))
@endif
@if(isset($secretData['host']))
Host
{{ $secretData['host'] }}
@endif
@elseif($item->type === 'note')
{{-- Para notas, solo se muestra el contenido en la sección de notas más abajo --}}
@if(empty($secretData['notes']))
Esta nota no tiene contenido aún.
@endif
@endif
@if(isset($secretData['notes']) && !empty($secretData['notes']))
Notas
{{ $secretData['notes'] }}
@endif