@extends('adminlte::page') @section('title', config('app.name') . ' | Key Administration') @section('content_header')

{{__('messages.adm')}} / API Key Administration

@stop @section('js') @stop @section('content')
@csrf

You can use the key discriminator to identify it's API calls in the logs.

@if (session()->has('finalKey'))

This is your API key: {{ session('finalKey') }}

Please copy it now as it'll only appear once.

@endif

Here, you can view and manage all API keys created by users in the app. You can't, however, use this page to access someone else's account.

@if(!$keys->isEmpty()) @foreach($keys as $key) @endforeach
Name Discriminator Owner Status Last Used Last Modified Actions
{{ $key->name }} {{ $key->discriminator }} {{ $key->user->name }} {{ ($key->status == 'disabled') ? 'Revoked' : 'Active' }} {{ ($key->last_used == null) ? 'No recent activity' : $key->last_used }} {{ $key->updated_at }} @if ($key->status == 'active')
@csrf @method('PATCH')
@else @endif
@csrf @method('DELETE')
@else

No API keys have been registered yet.

@endif
@stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop