@extends('layouts.admin') @section('title', 'License '.$license->license_key.' — MOVA-AUTH') @section('page_title', 'License '.$license->license_key) @section('content') @if (session('success'))
{{ session('success') }}
@endif

{{ $license->customer_name }} {{ $license->status }}

@if ($license->status === \App\Models\License::STATUS_BLOCKED)
@csrf
@else
@csrf
@endif
@csrf
License key{{ $license->license_key }}
Customer{{ $license->customer_name }} <{{ $license->customer_email }}>
Domain{{ $license->domain ?: '— (unbound)' }}
Product{{ $license->product }}
Addons @forelse (($license->addons ?? []) as $a) {{ $a }} @empty — @endforelse
Status{{ $license->status }}
Activated{{ optional($license->activated_at)->toDateTimeString() ?: '—' }}
Expires{{ optional($license->expires_at)->toDateTimeString() ?: 'never' }}
Last seen{{ optional($license->last_seen_at)->toDateTimeString() ?: '—' }} from {{ $license->last_seen_ip ?: '—' }} ({{ $license->last_seen_domain ?: '—' }})
Validations{{ $license->validation_count }}
Client secret {{ $license->client_secret }}
@csrf
The customer includes this in the key field on every API call.
Notes
{{ $license->notes ?: '—' }}
Edit
@csrf @method('DELETE')

Recent validation history (last 50)

@if ($validations->isEmpty())
No validation activity yet.
@else @foreach ($validations as $v) @endforeach
When Endpoint Domain IP Result
{{ $v->created_at->toDateTimeString() }} {{ $v->endpoint }} {{ $v->domain ?? '—' }} {{ $v->ip ?? '—' }} @if ($v->success) ok @else {{ $v->reason ?? 'fail' }} @endif
@endif
@endsection