public class TokenserviceFactory
extends java.lang.Object
TokenserviceFactory is responsible for creating instances of services
contained inside the com.vmware.vcenter.tokenservice package and also has the subpackages reference
to access respective subpackage services.
| Modifier and Type | Method and Description |
|---|---|
static TokenserviceFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
TokenExchange |
tokenExchangeService()
Returns an instance of class
TokenExchange |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static TokenserviceFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory - StubFactory instance is responsible for creating stubsstubConfig - StubConfiguration instance is required to authenticate the requestTokenserviceFactory factory instancepublic TokenExchange tokenExchangeService()
TokenExchangepublic void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)