@extends('layouts.app') @section('title', 'API Clients — ' . config('app.name')) @section('content')
Kelola API Token dan OAuth2 Client Credentials
New API Token: {{ $newToken['name'] }}
{{ $newToken['token'] }}
Salin sekarang. Token tidak ditampilkan lagi.
New OAuth2 Client: {{ $newClient['name'] }}
Client ID: {{ $newClient['client_id'] }}
Client Secret: {{ $newClient['client_secret'] }}
Salin sekarang. Secret tidak ditampilkan lagi.
| Name | Prefix | Scopes | Last Used | Action | @include('partials.list-table-row-hint', ['tag' => 'th'])|
|---|---|---|---|---|---|
| {{ $token->name }} | {{ $token->token_prefix }}... | {{ implode(', ', $token->scopes ?? []) }} | {{ $token->last_used_at?->format('Y-m-d H:i') ?? '—' }} | @include('partials.list-table-row-hint', ['tag' => 'td']) | |
| No API tokens. | |||||
| Name | Client ID | Status | Action | @include('partials.list-table-row-hint', ['tag' => 'th'])|
|---|---|---|---|---|
| {{ $client->name }} | {{ $client->id }} | {{ $client->revoked ? 'Revoked' : 'Active' }} | @unless ($client->revoked) @endunless | @include('partials.list-table-row-hint', ['tag' => 'td'])|
| No OAuth clients. | ||||