LSA API Debug Tool

{{-- ─── Response (top) ─────────────────────────────────────────────────────── --}} @if($error)

Response

ERROR: {{ $error }}

@endif @if($status !== null)

Response — HTTP {{ $status }} @if($status >= 200 && $status < 300) [OK] @else [FAIL] @endif

{{ $response }}
@endif {{-- ─── Token Info ─────────────────────────────────────────────────────────── --}}

Token Info

@if($token)
Status @if($token->isExpired()) EXPIRED @elseif($token->isExpiringSoon()) EXPIRING SOON @else VALID @endif
Access Token{{ $token->access_token }}
Refresh Token{{ $token->refresh_token }}
Token Type{{ $token->token_type }}
Expires At{{ $token->expires_at }}
Scope{{ $token->scope }}
DB Record ID{{ $token->id }}
Created At{{ $token->created_at }}
Updated At{{ $token->updated_at }}
@else

No token found. Authenticate now

@endif {{-- ─── Config ─────────────────────────────────────────────────────────────── --}}

Config

account_id{{ config('google-lsa.account_id') }}
manager_id{{ config('google-lsa.manager_id') }}
client_id{{ config('google-lsa.client_id') }}
redirect_uri{{ config('google-lsa.redirect_uri') }}
report_days{{ config('google-lsa.default_report_days') }}
{{-- ─── Request Builder ─────────────────────────────────────────────────────── --}}

API Request

@csrf
Method
URL
Query Params
Extra Headers
Request Body