public function get_wsfed_link($client_id = null, array $params = [])
    {
        return sprintf(
            'https://%s/wsfed/%s?%s',
            $this->domain,
            empty($client_id) ? $this->client_id : $client_id,
            Psr7\build_query($params)
        );
    }
public function get_wsfed_link($client_id = null, array $params = [])
    {
        return sprintf(
            'https://%s/wsfed/%s?%s',
            $this->domain,
            empty($client_id) ? $this->client_id : $client_id,
            Psr7\build_query($params)
        );
    }
public function get_wsfed_link ( $ client_id = null , array $ params = [ ] ) { return sprintf ( 'https://%s/wsfed/%s?%s' , $ this -> domain , empty ( $ client_id ) ? $ this -> client_id : $ client_id , Psr7 \ build_query ( $ params ) ) ; }
Build and return a WS-Federation link

@param null|string $client_id Client ID to use, null to use the value set during class initialization.
@param array       $params    Request parameters for the WS-Fed request.
- params.client-id The client-id of your application.
- params.wtrealm   Can be used in place of client-id.
- params.whr       The name of the connection (used to skip the login page).
- params.wctx      Your application's state.
- params.wreply    The callback URL.

@return string

@link https://auth0.com/docs/protocols/ws-fed
Build and return a WS - Federation link