2017-01-11 03:38:55 -08:00
|
|
|
@extends('layouts/default')
|
|
|
|
|
|
|
|
{{-- Page title --}}
|
|
|
|
@section('title')
|
2021-11-04 12:15:23 -07:00
|
|
|
{{ trans('account/general.personal_api_keys') }}
|
2017-01-11 03:38:55 -08:00
|
|
|
@parent
|
|
|
|
@stop
|
|
|
|
|
|
|
|
{{-- Page content --}}
|
|
|
|
@section('content')
|
2020-10-09 14:46:11 -07:00
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
|
|
|
@if (!config('app.lock_passwords'))
|
2023-11-14 09:01:38 -08:00
|
|
|
{{-- <passport-personal-access-tokens--}}
|
|
|
|
{{-- token-url="{{ url('oauth/personal-access-tokens') }}"--}}
|
|
|
|
{{-- scopes-url="{{ url('oauth/scopes') }}">--}}
|
|
|
|
{{-- </passport-personal-access-tokens>--}}
|
2023-11-08 14:10:09 -08:00
|
|
|
{{-- New Component --}}
|
2023-11-08 14:48:20 -08:00
|
|
|
<x-personal-access-tokens.panel :tokens="$tokens" />
|
2020-10-09 14:46:11 -07:00
|
|
|
@else
|
|
|
|
<p class="help-block">{{ trans('general.feature_disabled') }}</p>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
2021-09-24 07:21:30 -07:00
|
|
|
<div class="alert alert-warning"><i class="fas fa-exclamation-triangle faa-pulse animated"></i>
|
2021-11-04 12:15:23 -07:00
|
|
|
{{ trans('account/general.api_key_warning') }}
|
2021-11-02 02:13:22 -07:00
|
|
|
</div>
|
2020-12-09 08:14:44 -08:00
|
|
|
|
2021-11-04 12:15:23 -07:00
|
|
|
<p>{{ trans('account/general.api_base_url') }}<br>
|
2022-06-29 00:24:08 -07:00
|
|
|
<code>{{ url('/api/v1') }}{!! trans('account/general.api_base_url_endpoint') !!}</code></p>
|
2020-12-09 08:19:04 -08:00
|
|
|
|
2021-11-04 12:15:23 -07:00
|
|
|
<p>{{ trans('account/general.api_token_expiration_time') }}
|
2021-11-02 02:13:22 -07:00
|
|
|
<strong>{{ config('passport.expiration_years') }} {{ trans('general.years') }} </strong>.</p>
|
2020-12-09 08:19:04 -08:00
|
|
|
|
|
|
|
|
2022-06-29 00:24:33 -07:00
|
|
|
<p>{!! trans('account/general.api_reference') !!}</p>
|
2020-10-09 14:46:11 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-01-11 03:38:55 -08:00
|
|
|
@stop
|
2017-01-25 21:29:23 -08:00
|
|
|
|
|
|
|
@section('moar_scripts')
|
2017-09-28 19:45:15 -07:00
|
|
|
<script nonce="{{ csrf_token() }}">
|
2017-01-25 21:29:23 -08:00
|
|
|
new Vue({
|
|
|
|
el: "#app",
|
|
|
|
});
|
|
|
|
</script>
|
2017-09-28 19:45:15 -07:00
|
|
|
@endsection
|