<?php // $file = /home/bluedoor/www/dev/wp-content/plugins/yooessentials/modules/auth/drivers/Airtable/driver-token.json

return [
  'name' => 'airtable-access-token', 
  'title' => 'Airtable Access Token', 
  'description' => 'Airtable Personal Access Token', 
  'icon' => $filter->apply('url', '~yooessentials_url/modules/auth/drivers/Airtable/icon.svg', $file), 
  'endpoints' => [
    'presave' => 'yooessentials/auth/airtable/token'
  ], 
  'fields' => [
    'name' => [
      'label' => 'Name', 
      'description' => 'Optional name to identify this token.'
    ], 
    'accessToken' => [
      'label' => 'Token', 
      'type' => 'yooessentials-password', 
      'description' => 'An Airtable Access Token created within the <a href="https://airtable.com/create/tokens" target="_blank">Airtable Dashboard</a>.', 
      'encrypt' => true
    ]
  ]
];
