src/Vimeo/Vimeo.php
public function accessToken(string $code, string $redirect_uri): array
    {
        return $this->request(self::ACCESS_TOKEN_ENDPOINT, array(
            'grant_type' => 'authorization_code',
            'code' => $code,
            'redirect_uri' => $redirect_uri
        ), "POST", false);
    }
public function accessToken(string $code, string $redirect_uri): array
    {
        return $this->request(self::ACCESS_TOKEN_ENDPOINT, array(
            'grant_type' => 'authorization_code',
            'code' => $code,
            'redirect_uri' => $redirect_uri
        ), "POST", false);
    }
public function accessToken ( string $ code , string $ redirect_uri ) : array { return $ this -> request ( self :: ACCESS_TOKEN_ENDPOINT , array ( 'grant_type' => 'authorization_code' , 'code' => $ code , 'redirect_uri' => $ redirect_uri ) , "POST" , false ) ; }
Request an access token. This is the final step of the
OAuth 2 workflow, and should be called from your redirect url.

@param string $code The authorization code that was provided to your redirect url
@param string $redirect_uri The redirect_uri that is configured on your app page, and was used in buildAuthorizationEndpoint
@return array This array contains three keys, 'status' is the status code, 'body' is an object representation of the json response body, and headers are an associated array of response headers
Request an access token . This is the final step of the OAuth 2 workflow and should be called from your redirect url .