Gush\ThirdParty\Bitbucket\BitbucketAdapter::authenticate PHP Method

authenticate() public method

public authenticate ( )
    public function authenticate()
    {
        $credentials = $this->configuration['authentication'];
        $this->client->authenticate($credentials, $credentials['http-auth-type']);
        $this->client->disableErrorListener(false);
        $this->authenticated = $this->client->apiUser()->get();
    }