@extends('layouts.app') @section('title', 'API Client Details') @section('breadcrumb') @endsection @section('content')
@if(session('success')) @endif

{{ $apiClient->name }}

Edit Back to List
Client Information

{{ $apiClient->name }}

@if($apiClient->is_active) Active @else Inactive @endif

@if($apiClient->description)

{{ $apiClient->description }}

@endif

{{ $apiClient->rate_limit ?? 'Unlimited' }} @if($apiClient->rate_limit) requests/minute @endif

{{ $apiClient->last_used_at ? $apiClient->last_used_at->format('M d, Y H:i:s') : 'Never' }}

@if($apiClient->allowed_ips)
@foreach($apiClient->allowed_ips as $ip) {{ $ip }} @endforeach
@endif

{{ $apiClient->created_at->format('M d, Y H:i:s') }}

{{ $apiClient->updated_at->format('M d, Y H:i:s') }}

API Credentials
Keep this secret secure and never share it publicly.
Usage Statistics

{{ $apiClient->tokens()->count() }}

{{ $apiClient->tokens()->where('is_revoked', false)->count() }}

@endsection