lib/Imgur/Auth/OAuth2.php
public function getAuthenticationURL($responseType = 'code', $state = null)
    {
        $httpQueryParameters = [
            'client_id' => $this->clientId,
            'response_type' => $responseType,
            'state' => $state,
        ];

        $httpQueryParameters = http_build_query($httpQueryParameters);

        return self::AUTHORIZATION_ENDPOINT . '?' . $httpQueryParameters;
    }
public function getAuthenticationURL($responseType = 'code', $state = null)
    {
        $httpQueryParameters = [
            'client_id' => $this->clientId,
            'response_type' => $responseType,
            'state' => $state,
        ];

        $httpQueryParameters = http_build_query($httpQueryParameters);

        return self::AUTHORIZATION_ENDPOINT . '?' . $httpQueryParameters;
    }
public function getAuthenticationURL ( $ responseType = 'code' , $ state = null ) { $ httpQueryParameters = [ 'client_id' => $ this -> clientId , 'response_type' => $ responseType , 'state' => $ state , ] ; $ httpQueryParameters = http_build_query ( $ httpQueryParameters ) ; return self :: AUTHORIZATION_ENDPOINT . '?' . $ httpQueryParameters ; }
Generates the authentication URL to which a user should be pointed at in order to start the OAuth2 process.

@param string      $responseType
@param string|null $state

@return string
Generates the authentication URL to which a user should be pointed at in order to start the OAuth2 process .