public static class OSClientSession.OSClientSessionV3 extends OSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3> implements OSClient.OSClientV3
OSClientSession.OSClientSessionV2, OSClientSession.OSClientSessionV3OSClient.OSClientV2, OSClient.OSClientV3| Modifier and Type | Method and Description |
|---|---|
static OSClientSession.OSClientSessionV3 |
createSession(Token token) |
static OSClientSession.OSClientSessionV3 |
createSession(Token token,
Facing perspective,
CloudProvider provider,
Config config) |
AuthVersion |
getAuthVersion() |
String |
getEndpoint()
Gets the current endpoint of the Identity service
|
String |
getEndpoint(ServiceType service)
Gets the endpoint for the specified ServiceType
|
Set<ServiceType> |
getSupportedServices()
Gets the supported services.
|
Token |
getToken()
Gets the token that was assigned during authorization
|
String |
getTokenId()
Gets the token identifier
|
IdentityService |
identity()
Returns the Identity Service API V3
|
blockStorage, compute, getConfig, getCurrent, getPerspective, getProvider, heat, images, networking, objectStorage, perspective, removeRegion, sahara, share, supportsBlockStorage, supportsCompute, supportsHeat, supportsIdentity, supportsImage, supportsNetwork, supportsObjectStorage, supportsShare, supportsTelemetry, telemetry, useConfig, useRegionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblockStorage, compute, heat, images, networking, objectStorage, perspective, removeRegion, sahara, share, supportsBlockStorage, supportsCompute, supportsHeat, supportsIdentity, supportsImage, supportsNetwork, supportsObjectStorage, supportsShare, supportsTelemetry, telemetry, useRegionpublic static OSClientSession.OSClientSessionV3 createSession(Token token)
public static OSClientSession.OSClientSessionV3 createSession(Token token, Facing perspective, CloudProvider provider, Config config)
public Token getToken()
OSClient.OSClientV3getToken in interface OSClient.OSClientV3public String getEndpoint()
getEndpoint in interface OSClient<OSClient.OSClientV3>public AuthVersion getAuthVersion()
getAuthVersion in class OSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3>public String getEndpoint(ServiceType service)
getEndpoint in interface EndpointTokenProviderservice - the service to obtain the endpoint forpublic String getTokenId()
getTokenId in interface EndpointTokenProviderpublic IdentityService identity()
identity in interface OSClient.OSClientV3public Set<ServiceType> getSupportedServices()
getSupportedServices in interface OSClient<OSClient.OSClientV3>getSupportedServices in class OSClientSession<OSClientSession.OSClientSessionV3,OSClient.OSClientV3>Copyright © 2016. All Rights Reserved.