public static class OSClientSession.OSClientSessionV2 extends OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2> implements OSClient.OSClientV2
OSClientSession.OSClientSessionV2, OSClientSession.OSClientSessionV3OSClient.OSClientV2, OSClient.OSClientV3| Modifier and Type | Method and Description |
|---|---|
static OSClientSession.OSClientSessionV2 |
createSession(Access access) |
static OSClientSession.OSClientSessionV2 |
createSession(Access access,
Facing perspective,
CloudProvider provider,
Config config) |
Access |
getAccess()
Returns the Identity V2 Access object assigned during authentication
|
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.
|
String |
getTokenId()
Gets the token identifier
|
IdentityService |
identity()
Returns the Identity Service API V2
|
artifact, barbican, blockStorage, compute, dns, gbp, getConfig, getCurrent, getPerspective, getProvider, heat, images, imagesV2, magnum, murano, networking, objectStorage, perspective, removeRegion, sahara, senlin, share, supportsBlockStorage, supportsCompute, supportsDNS, supportsHeat, supportsIdentity, supportsImage, supportsMurano, supportsNetwork, supportsObjectStorage, supportsShare, supportsTelemetry_aodh, supportsTelemetry, supportsTrove, tacker, telemetry, trove, useConfig, useRegionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitartifact, barbican, blockStorage, compute, dns, gbp, heat, images, imagesV2, magnum, murano, networking, objectStorage, perspective, removeRegion, sahara, senlin, share, supportsBlockStorage, supportsCompute, supportsHeat, supportsIdentity, supportsImage, supportsMurano, supportsNetwork, supportsObjectStorage, supportsShare, supportsTelemetry, tacker, telemetry, trove, useRegionpublic static OSClientSession.OSClientSessionV2 createSession(Access access)
public static OSClientSession.OSClientSessionV2 createSession(Access access, Facing perspective, CloudProvider provider, Config config)
public Access getAccess()
OSClient.OSClientV2getAccess in interface OSClient.OSClientV2public String getEndpoint()
OSClientgetEndpoint in interface OSClient<OSClient.OSClientV2>public AuthVersion getAuthVersion()
getAuthVersion in class OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2>public String getEndpoint(ServiceType service)
getEndpoint in interface EndpointTokenProviderservice - the service to obtain the endpoint forpublic String getTokenId()
EndpointTokenProvidergetTokenId in interface EndpointTokenProviderpublic IdentityService identity()
identity in interface OSClient.OSClientV2public Set<ServiceType> getSupportedServices()
OSClientgetSupportedServices in interface OSClient<OSClient.OSClientV2>getSupportedServices in class OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2>Copyright © 2017. All rights reserved.