OAUTH2_ACCESS_TOKEN_URL
OAUTH2_ACCESS_TOKEN_URL = 'https://bitbucket.org/site/oauth2/access_token'
__construct(\Composer\IO\IOInterface $io, \Composer\Config $config, \Composer\Util\ProcessExecutor $process = null, \Composer\Util\RemoteFilesystem $remoteFilesystem = null, integer $time = null)
Constructor.
\Composer\IO\IOInterface | $io | The IO instance |
\Composer\Config | $config | The composer configuration |
\Composer\Util\ProcessExecutor | $process | Process instance, injectable for mocking |
\Composer\Util\RemoteFilesystem | $remoteFilesystem | Remote Filesystem, injectable for mocking |
integer | $time | Timestamp, injectable for mocking |
authorizeOAuthInteractively(string $originUrl, string $message = null) : boolean
Authorizes a Bitbucket domain interactively via OAuth
string | $originUrl | The host this Bitbucket instance is located at |
string | $message | The reason this authorization is required |
true on success