Package org.openstack4j.api
Interface EndpointTokenProvider
-
- All Known Implementing Classes:
OSClientSession,OSClientSession.OSClientSessionV2,OSClientSession.OSClientSessionV3
public interface EndpointTokenProviderProvides Endpoint information for the current authorized scope- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEndpoint(ServiceType service)Gets the endpoint for the specified ServiceTypeStringgetTokenId()Gets the token identifier
-
-
-
Method Detail
-
getEndpoint
String getEndpoint(ServiceType service)
Gets the endpoint for the specified ServiceType- Parameters:
service- the service to obtain the endpoint for- Returns:
- the endpoint
-
getTokenId
String getTokenId()
Gets the token identifier- Returns:
- the auth token identifier
-
-