public static class OSClientSession.OSClientSessionV2 extends OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2> implements OSClient.OSClientV2
OSClientSession.OSClientSessionV2, OSClientSession.OSClientSessionV3
OSClient.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, useRegion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
artifact, 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, useRegion
public static OSClientSession.OSClientSessionV2 createSession(Access access)
public static OSClientSession.OSClientSessionV2 createSession(Access access, Facing perspective, CloudProvider provider, Config config)
public Access getAccess()
OSClient.OSClientV2
getAccess
in interface OSClient.OSClientV2
public String getEndpoint()
OSClient
getEndpoint
in interface OSClient<OSClient.OSClientV2>
public AuthVersion getAuthVersion()
getAuthVersion
in class OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2>
public String getEndpoint(ServiceType service)
getEndpoint
in interface EndpointTokenProvider
service
- the service to obtain the endpoint forpublic String getTokenId()
EndpointTokenProvider
getTokenId
in interface EndpointTokenProvider
public IdentityService identity()
identity
in interface OSClient.OSClientV2
public Set<ServiceType> getSupportedServices()
OSClient
getSupportedServices
in interface OSClient<OSClient.OSClientV2>
getSupportedServices
in class OSClientSession<OSClientSession.OSClientSessionV2,OSClient.OSClientV2>
Copyright © 2017. All rights reserved.