lib/Imgur/Client.php
public function getAuthenticationClient()
    {
        if (null === $this->authenticationClient) {
            $this->authenticationClient = new Auth\OAuth2(
                $this->getHttpClient(),
                $this->getOption('client_id'),
                $this->getOption('client_secret')
            );
        }

        return $this->authenticationClient;
    }
public function getAuthenticationClient()
    {
        if (null === $this->authenticationClient) {
            $this->authenticationClient = new Auth\OAuth2(
                $this->getHttpClient(),
                $this->getOption('client_id'),
                $this->getOption('client_secret')
            );
        }

        return $this->authenticationClient;
    }
public function getAuthenticationClient ( ) { if ( null === $ this -> authenticationClient ) { $ this -> authenticationClient = new Auth \ OAuth2 ( $ this -> getHttpClient ( ) , $ this -> getOption ( 'client_id' ) , $ this -> getOption ( 'client_secret' ) ) ; } return $ this -> authenticationClient ; }
Retrieves the Auth object and also instantiates it if not already present.

@return Auth\AuthInterface
Retrieves the Auth object and also instantiates it if not already present .