OAuth2\OAuth2::createRedirectUriCallbackResponse PHP 메소드

createRedirectUriCallbackResponse() 개인적인 메소드

Handle both redirect for success or error response.
private createRedirectUriCallbackResponse ( string $redirectUri, array $params ) : Response
$redirectUri string An absolute URI to which the authorization server will redirect the user-agent to when the end-user authorization step is completed.
$params array Parameters to be pass though buildUri().
리턴 Symfony\Component\HttpFoundation\Response
    private function createRedirectUriCallbackResponse($redirectUri, $params)
    {
        return new Response('', 302, array('Location' => $this->buildUri($redirectUri, $params)));
    }