public function getAuthenticationUrl()
    {
        $params = [
            'client_id' => $this->clientId,
            'scope' => $this->scopes,
            'state' => $this->state,
            'response_type' => 'code',
            'redirect_uri' => $this->redirectUrl,
        ];

        return 'https://medium.com/m/oauth/authorize?' . http_build_query($params);
    }
public function getAuthenticationUrl()
    {
        $params = [
            'client_id' => $this->clientId,
            'scope' => $this->scopes,
            'state' => $this->state,
            'response_type' => 'code',
            'redirect_uri' => $this->redirectUrl,
        ];

        return 'https://medium.com/m/oauth/authorize?' . http_build_query($params);
    }
public function getAuthenticationUrl ( ) { $ params = [ 'client_id' => $ this -> clientId , 'scope' => $ this -> scopes , 'state' => $ this -> state , 'response_type' => 'code' , 'redirect_uri' => $ this -> redirectUrl , ] ; return 'https://medium.com/m/oauth/authorize?' . http_build_query ( $ params ) ; }
Get the url to authenticate the user to medium.

@return string
Get the url to authenticate the user to medium .