public class SimpleClient extends Object
| Constructor and Description |
|---|
SimpleClient(String issuer,
String keyId,
String audience,
URI privateKeyPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(URI resourceServerUrl)
Makes an authenticated request to get a resource.
|
public void execute(URI resourceServerUrl) throws CannotRetrieveKeyException, InvalidTokenException
resourceServerUrl - URL of the resourceCannotRetrieveKeyException - the private identified by keyId cannot be foundInvalidTokenException - some other problem when signing the tokenCopyright © 2017 Atlassian. All rights reserved.