stage 2 of oauth removal, switch to sanctum pat tokens completed, docs updated

This commit is contained in:
Codex Agent
2025-11-07 07:46:53 +01:00
parent 776da57ca9
commit 67affd3317
41 changed files with 124 additions and 2148 deletions

View File

@@ -289,110 +289,6 @@ return [
'export_success' => 'Export ready. :count rows exported.',
],
'oauth' => [
'fields' => [
'name' => 'Name',
'client_id' => 'Client ID',
'client_secret' => 'Client secret',
'tenant' => 'Tenant',
'redirect_uris' => 'Redirect URIs',
'scopes' => 'Scopes',
'is_active' => 'Active',
'description' => 'Description',
'updated_at' => 'Last updated',
],
'hints' => [
'client_secret' => 'Leave blank to keep the current secret or for PKCE/public clients.',
'redirect_uris' => 'One URL per line. Must exactly match the callback on the client.',
],
'filters' => [
'is_active' => 'Status',
'any' => 'All',
'active' => 'Active',
'inactive' => 'Inactive',
],
'actions' => [
'regenerate_secret' => 'Regenerate secret',
],
'notifications' => [
'secret_regenerated_title' => 'New secret generated',
'secret_regenerated_body' => 'Store the new secret securely: :secret',
'created_title' => 'OAuth client created',
'updated_title' => 'OAuth client saved',
],
],
'refresh_tokens' => [
'menu' => 'Refresh tokens',
'single' => 'Refresh token',
'fields' => [
'tenant' => 'Tenant',
'client' => 'Client',
'status' => 'Status',
'revoked_reason' => 'Revoked reason',
'created_at' => 'Created',
'last_used_at' => 'Last used',
'expires_at' => 'Expires at',
'ip_address' => 'IP address',
'user_agent' => 'User agent',
'note' => 'Operator note',
],
'status' => [
'active' => 'Active',
'revoked' => 'Revoked',
'expired' => 'Expired',
],
'filters' => [
'status' => 'Status',
'tenant' => 'Tenant',
],
'actions' => [
'revoke' => 'Revoke token',
],
'reasons' => [
'manual' => 'Manual',
'operator' => 'Operator action',
'rotated' => 'Rotated (auto)',
'ip_mismatch' => 'IP mismatch',
'expired' => 'Expired',
'invalid_secret' => 'Invalid secret attempt',
'tenant_missing' => 'Tenant removed',
'max_active_limit' => 'Exceeded active token limit',
],
'sections' => [
'details' => 'Token details',
'security' => 'Security context',
],
'audit' => [
'heading' => 'Audit log',
'event' => 'Event',
'events' => [
'issued' => 'Issued',
'refresh_attempt' => 'Refresh attempted',
'refreshed' => 'Refresh succeeded',
'client_mismatch' => 'Client mismatch',
'invalid_secret' => 'Invalid secret',
'ip_mismatch' => 'IP mismatch',
'expired' => 'Expired',
'revoked' => 'Revoked',
'rotated' => 'Rotated',
'tenant_missing' => 'Tenant missing',
'max_active_limit' => 'Pruned (active limit)',
],
'performed_by' => 'Actor',
'ip_address' => 'IP address',
'context' => 'Context',
'performed_at' => 'Timestamp',
'empty' => [
'heading' => 'No audit entries yet',
'description' => 'Token activity will appear here once it is used.',
],
],
'notifications' => [
'revoked' => 'Refresh token revoked.',
],
],
'shell' => [
'tenant_admin_title' => 'Tenant Admin',
],