Set defaults first
Issue #54
closed
Thanks for the great well structured library.
In the docs i know the authorization is done like this,
$bitbucket = new Bitbucket\API\Repositories();
$bitbucket->getClient()->addListener( // i have to add this for every API i use.
new \Bitbucket\API\Http\Listener\OAuth2Listener(
array('access_token' => $token->getToken())
)
);
Is there any way to authorize a Client first, and use the rest of the APIs directly ?
Comments (2)
-
-
- changed status to closed
Closing as no further information was requested
- Log in to comment
I'm not sure I understood correctly what you are asking, but single point of entry does answer your question ?