Logo
Explore Help
Register Sign In
matt/opnform-host-nginx
1
0
Fork 0
You've already forked opnform-host-nginx
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
5cb07191db0b089690a2412053a0f6fc4ddb6378
opnform-host-nginx/api/app/Http/Requests/CreateTokenRequest.php

23 lines
387 B
PHP
Raw Normal View History

Zapier integration (#491) * create zapier app * install sanctum * move OAuthProviderController * make `api-external` middleware * add zapier endpoints * add tests * token management * zapier event handler * add policy * use `slug` instead of `id` * wip * check policies * change api prefix to `external` * ui tweaks * validate token abilities * open zapier URL * zapier ui tweaks * update zap * Fix linting * Added sample endpoints + minor UI changes * Run PHP code linter --------- Co-authored-by: Julien Nahum <julien@nahum.net>
2024-08-12 02:14:02 -07:00
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateTokenRequest extends FormRequest
{
public function rules()
{
return [
'name' => [
'required',
'string',
],
'abilities' => [
'nullable',
'array'
]
];
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 41ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API