hooks in config/services.php/.env.example, and updated wizard steps/controllers to store session payloads, attach packages, and surface localized success/error states. - Retooled payment handling for both Stripe and PayPal, adding richer status management in CheckoutController/ PayPalController, fallback flows in the wizard’s PaymentStep.tsx, and fresh feature tests for intent creation, webhooks, and the wizard CTA. - Introduced a consent-aware Matomo analytics stack: new consent context, cookie-banner UI, useAnalytics/ useCtaExperiment hooks, and MatomoTracker component, then instrumented marketing pages (Home, Packages, Checkout) with localized copy and experiment tracking. - Polished package presentation across marketing UIs by centralizing formatting in PresentsPackages, surfacing localized description tables/placeholders, tuning badges/layouts, and syncing guest/marketing translations. - Expanded docs & reference material (docs/prp/*, TODOs, public gallery overview) and added a Playwright smoke test for the hero CTA while reconciling outstanding checklist items.
40 lines
775 B
PHP
40 lines
775 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
class OAuthClient extends Model
|
|
{
|
|
protected $table = 'oauth_clients';
|
|
|
|
protected $guarded = [];
|
|
|
|
protected $fillable = [
|
|
'id',
|
|
'client_id',
|
|
'client_secret',
|
|
'tenant_id',
|
|
'redirect_uris',
|
|
'scopes',
|
|
'is_active',
|
|
];
|
|
|
|
protected $casts = [
|
|
'id' => 'string',
|
|
'tenant_id' => 'integer',
|
|
'redirect_uris' => 'array',
|
|
'scopes' => 'array',
|
|
'is_active' => 'bool',
|
|
'created_at' => 'datetime',
|
|
'updated_at' => 'datetime',
|
|
];
|
|
|
|
public function tenant(): BelongsTo
|
|
{
|
|
return $this->belongsTo(Tenant::class);
|
|
}
|
|
}
|
|
|