public interface OpenStackTokenProvider
| Modifier and Type | Method and Description |
|---|---|
void |
expireToken()
Forces the token to be expired, and therefore not usable any longer.
|
String |
getToken() |
String getToken() throws OpenStackConnectException, OpenStackResponseException
OpenStackConnectException - If the connection to the provider cannot be established. This exception indicates that the provider
is not reachable, or that some failure occurred attempting to open the connection to the provider.OpenStackResponseException - If the provider responds with some form of error regarding the request, such as unauthorized. This is
an indication that there is a problem with the request itself, not the connection. @see
com.woorea.openstack
.base.client.OpenStackClientConnector#request(com.woorea.openstack.base.client.OpenStackRequest)void expireToken()
Copyright © 2012–2016. All rights reserved.