@csrf
@if ($showform) @else
{{ isset($record) ? $record['name'] : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record['base_url'] : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->authType->name : 'OAuth 2.0' }}
@endif
@if ($showform)

Maximum number of requests allowed

@else
{{ isset($record) ? $record['throttle_max_requests'] : '' }}
@endif
@if ($showform)

Time period in seconds

@else
{{ isset($record) ? $record['throttle_per_seconds'] : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->mediaType->name : 'Basic auth header' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->grantType->name : 'Authorization code' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->client_id : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->client_secret : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->token_id : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->token_secret : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->sendCredentials->name : 'Basic auth header' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->sendToken->name : 'Basic auth header' }}
@endif
@if ($showform) Add Headers @else @endif
@if ($showform) Add parameters @else @endif
@if ($showform) @else
{{ isset($record) ? $record->config->auth_endpoint : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->access_token_url : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->valid_domains : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->scope : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->resource_url : '' }}
@endif
@if ($showform) @else
{{ isset($record) ? $record->config->redirect_url : '' }}
@endif
Cancel @if (!$showform) Edit @else Save @endif