public class Oauth2Factory
extends java.lang.Object
Oauth2Factory is responsible for creating instances of services
contained inside the com.vmware.oauth2 package and also has the subpackages reference
to access respective subpackage services.
| Modifier and Type | Method and Description |
|---|---|
ErrorsFactory |
errors()
The
com.vmware.oauth2.errors package provides the OAuth 2.0 exceptions
that can be included in the list of exceptions in the specification of OAuth 2.0
methods to indicate that the method might report those exceptions. |
static Oauth2Factory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static Oauth2Factory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory - StubFactory instance is responsible for creating stubsstubConfig - StubConfiguration instance is required to authenticate the requestOauth2Factory factory instancepublic ErrorsFactory errors()
com.vmware.oauth2.errors package provides the OAuth 2.0 exceptions
that can be included in the list of exceptions in the specification of OAuth 2.0
methods to indicate that the method might report those exceptions.public void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)