| org.mule.modules.janrain.oauth.OAuthManager<C extends org.mule.modules.janrain.oauth.OAuthAdapter> |
Wrapper around org.mule.api.annotations.oauth.OAuth annotated class that will infuse it with access token management capabilities.
It can receive a org.mule.config.PoolingProfile which is a configuration object used to define the OAuth access tokens pooling parameters.| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Borrow an access token from the pool
| |||||||||||
Create a new access token using the specified verifier
and insert it into the pool
| |||||||||||
Destroy an access token
| |||||||||||
Retrieve default unauthorized connector
| |||||||||||
Return an access token to the pool
| |||||||||||
Borrow an access token from the pool
| userId | User identification used to borrow the access token |
|---|
| Exception | If the access token cannot be retrieved |
|---|
Create a new access token using the specified verifier and insert it into the pool
| verifier | OAuth verifier |
|---|
| Exception | If the access token cannot be retrieved |
|---|
Destroy an access token
| userId | User identification used to borrow the access token |
|---|---|
| connector | Authorized connector to the destroyed |
| Exception | If the access token could not be destroyed. |
|---|
Retrieve default unauthorized connector
Return an access token to the pool
| userId | User identification used to borrow the access token |
|---|---|
| connector | Authorized connector to be returned to the pool |
| Exception | If the access token cannot be returned |
|---|