src/Provider/Slack.php
public function getResourceOwnerDetailsUrl(AccessToken $token)
    {
        $authorizedUser = $this->getAuthorizedUser($token);

        $params = [
            'token' => $token->getToken(),
            'user'  => $authorizedUser->getId()
        ];

        return 'https://slack.com/api/users.info?'.http_build_query($params);
    }
public function getResourceOwnerDetailsUrl(AccessToken $token)
    {
        $authorizedUser = $this->getAuthorizedUser($token);

        $params = [
            'token' => $token->getToken(),
            'user'  => $authorizedUser->getId()
        ];

        return 'https://slack.com/api/users.info?'.http_build_query($params);
    }
public function getResourceOwnerDetailsUrl ( AccessToken $ token ) { $ authorizedUser = $ this -> getAuthorizedUser ( $ token ) ; $ params = [ 'token' => $ token -> getToken ( ) , 'user' => $ authorizedUser -> getId ( ) ] ; return 'https://slack.com/api/users.info?' . http_build_query ( $ params ) ; }
Returns the URL for requesting the resource owner's details.

@param AccessToken $token

@return string
Returns the URL for requesting the resource owner s details .