{{ trans('admin/settings/general.oauth_clients') }}

@if ($authorizationError)

{{ trans('admin/users/message.insufficient_permissions') }}
{{ $authorizationError }}

@endif
@if($clients->count() === 0)

{{ trans('admin/settings/general.oauth_no_clients') }}

@endif @if ($clients->count() > 0) @foreach($clients as $client) @endforeach
{{ trans('general.id') }} {{ trans('general.name') }} {{ trans('admin/settings/general.oauth_redirect_url') }} {{ trans('admin/settings/general.oauth_secret') }} {{ trans('general.created_at') }} {{ trans('general.updated_at') }} {{ trans('general.actions') }}
{{ $client->id }} {{ $client->name }} {{ $client->redirect }} {{ $client->secret }} {{ $client->created_at ? Helper::getFormattedDateObject($client->created_at, 'datetime', false) : '' }} @if ($client->created_at != $client->updated_at) {{ $client->updated_at ? Helper::getFormattedDateObject($client->updated_at, 'datetime', false) : '' }} @endif {{ trans('general.update') }} {{ trans('general.delete') }}
@endif
@if ($authorized_tokens->count() > 0)

{{ trans('admin/settings/general.oauth_authorized_apps') }}

@foreach($authorized_tokens as $token) @endforeach
{{ trans('general.name') }} {{ trans('account/general.personal_access_token') }} {{ trans('admin/settings/general.oauth_scopes') }} {{ trans('general.created_at') }} {{ trans('account/general.expires') }}
{{ $token->client->name }} {{ $token->name }} @if(!$token->scopes) {{ trans('admin/settings/general.no_scopes') }} @endif {{ $token->created_at ? Helper::getFormattedDateObject($token->created_at, 'datetime', false) : '' }} {{ $token->expires_at ? Helper::getFormattedDateObject($token->expires_at, 'datetime', false) : '' }} {{ trans('general.delete') }}
@endif
@section('moar_scripts') @include ('partials.bootstrap-table') @endsection