private function authenticateUser($token)
    {
        $this->imgur->setAccessToken($token);
        // Refresh the token if neccessary
        if($this->imgur->checkAccessTokenExpired())
        {
            $this->imgur->refreshToken();
        }
    }
private function authenticateUser($token)
    {
        $this->imgur->setAccessToken($token);
        // Refresh the token if neccessary
        if($this->imgur->checkAccessTokenExpired())
        {
            $this->imgur->refreshToken();
        }
    }
private function authenticateUser ( $ token ) { $ this -> imgur -> setAccessToken ( $ token ) ; // Refresh the token if neccessary if ( $ this -> imgur -> checkAccessTokenExpired ( ) ) { $ this -> imgur -> refreshToken ( ) ; } }
Authenticate the user with its token
@param  array $token
@return void
Authenticate the user with its token