(string) $connection->client_id, 'response_type' => 'code', 'redirect_uri' => $redirectUri, 'scope' => self::SCOPE, 'state' => $state, 'access_type' => 'offline', 'prompt' => 'select_account consent', ]); } protected function tokenEndpoint(MailOAuthConnection $connection): string { return 'https://oauth2.googleapis.com/token'; } protected function scope(): string { return self::SCOPE; } }