{{ __('security.api.title') }}

{{ __('security.api.description') }}
@if($plainTextToken) {{-- Token vient d'être généré --}}
{{ __('security.api.token_warning') }}
@if($this->token)
{{ __('security.api.created_at') }}: {{ $this->token->created_at->format('d/m/Y H:i') }} @if($this->token->last_used_at) — {{ __('security.api.last_used') }}: {{ $this->token->last_used_at->diffForHumans() }} @endif
@endif
@elseif($this->hasToken) {{-- Token existe mais non visible --}}
@if($this->token)
{{ __('security.api.created_at') }}: {{ $this->token->created_at->format('d/m/Y H:i') }} @if($this->token->last_used_at) — {{ __('security.api.last_used') }}: {{ $this->token->last_used_at->diffForHumans() }} @endif
@endif
@endif
@if($this->hasToken) @else @endif
{{-- Modal de confirmation de révocation --}}

{{ __('security.api.revoke_modal.title') }}

{{--
--}}

{{ __('security.api.revoke_modal.description') }}

@script @endscript