src/Keboola/Writer/GoodData/Client.php
public function getSsoLink($writerId, $pid, $email)
    {
        $result = $this->getCommand('GetSSOLink', [
            'writerId' => $writerId,
            'pid' => $pid,
            'email' => $email
        ])->execute();
        if (!isset($result['ssoLink'])) {
            throw new ClientException('Getting SSO link failed. ' . (isset($result['error']) ? $result['error'] : ''));
        }
        return $result['ssoLink'];
    }
public function getSsoLink($writerId, $pid, $email)
    {
        $result = $this->getCommand('GetSSOLink', [
            'writerId' => $writerId,
            'pid' => $pid,
            'email' => $email
        ])->execute();
        if (!isset($result['ssoLink'])) {
            throw new ClientException('Getting SSO link failed. ' . (isset($result['error']) ? $result['error'] : ''));
        }
        return $result['ssoLink'];
    }
public function getSsoLink ( $ writerId , $ pid , $ email ) { $ result = $ this -> getCommand ( 'GetSSOLink' , [ 'writerId' => $ writerId , 'pid' => $ pid , 'email' => $ email ] ) -> execute ( ) ; if ( ! isset ( $ result [ 'ssoLink' ] ) ) { throw new ClientException ( 'Getting SSO link failed. ' . ( isset ( $ result [ 'error' ] ) ? $ result [ 'error' ] : '' ) ) ; } return $ result [ 'ssoLink' ] ; }
Generate SSO link for configured project and user
@param $writerId
@param $pid
@param $email
@throws ClientException
@return string
Generate SSO link for configured project and user