public class OAuth2ServiceStubs extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
OAuth2ServiceStubs.IntrospectionServiceStub
This interface is for /introspect API stub.
|
static interface |
OAuth2ServiceStubs.RevokeServiceStub
This interface is for /revoke API stub.
|
static interface |
OAuth2ServiceStubs.TokenServiceStub
This interface is for /token API stub.
|
| Constructor and Description |
|---|
OAuth2ServiceStubs(String tokenEndpoint,
String revokeEndpoint,
String introspectEndpoint,
String kmCertAlias,
String username,
String password)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2ServiceStubs.IntrospectionServiceStub |
getIntrospectionServiceStub()
Create and return OAuth2 Introspection service stubs.
|
OAuth2ServiceStubs.RevokeServiceStub |
getRevokeServiceStub()
Create and return OAuth2 revoke service stubs.
|
OAuth2ServiceStubs.TokenServiceStub |
getTokenServiceStub()
Create and return OAuth2 token service stubs.
|
public OAuth2ServiceStubs(String tokenEndpoint, String revokeEndpoint, String introspectEndpoint, String kmCertAlias, String username, String password)
tokenEndpoint - Token endpoint URLrevokeEndpoint - Revoke endpoint URLintrospectEndpoint - Token introspection endpointkmCertAlias - Key manager certificate aliasusername - Username of Key Managerpassword - Password of Key Managerpublic OAuth2ServiceStubs.TokenServiceStub getTokenServiceStub() throws IdPClientException
IdPClientException - if error occurs while crating OAuth2 token service stubpublic OAuth2ServiceStubs.RevokeServiceStub getRevokeServiceStub() throws IdPClientException
IdPClientException - if error occurs while crating OAuth2 revoke service stubpublic OAuth2ServiceStubs.IntrospectionServiceStub getIntrospectionServiceStub() throws IdPClientException
IdPClientException - if error occurs while crating OAuth2 introspection service stubCopyright © 2017 WSO2. All rights reserved.