Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nguyenthanhson's avatar

Document API library dedoc/scramble

I am using dedoc/scramble library to write Document API. But I am facing GET problem. For example I have this link http://127.0.0.1:8000/api/auth/google/callback?code=4%2F0AdLIrYeeHKx5YRnNmGPt9SrrXuOKVOPw9mH47TLrXMwA0SHYpGv3Tyc7h01_Eb_8syaT7A&scope=email+profile+openid+https%3A%2F%2 F www.googleapis.com% 2Fauth %2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&authuser=0&prompt=consent will make it display parameters outside the document

 /**
     * Get infomation google
     *
     * @param string $provider `google`
     * @param string $code Authorization code. Example: 4/0AdLIrYeeHKx5YRnNmGPt9SrrXuOKVOPw9mH47TLrXMwA0SHYpGv3Tyc7h01_Eb_8syaT7A
     * @param string $scope Scope of the authorization. Example: email profile openid https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
     * @param int $authuser Authenticated user ID. Example: 0
     * @param string $prompt Prompt type. Example: consent
     * @param \Illuminate\Http\Request $request HTTP request object
     * @unauthenticated
     */
    public function handleProviderCallback(Request $request, $provider = "google")
    {
}
0 likes
2 replies
colbyalbo's avatar

"outside the document" ?? you mean the URL params?

Please or to participate in this conversation.