public interface RegistrationService
| Modifier and Type | Interface and Description |
|---|---|
static class |
RegistrationService.ErrorCode |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
register(org.wso2.carbon.dynamic.client.registration.profile.RegistrationProfile profile)
This method is used to register an Oauth application.
|
javax.ws.rs.core.Response |
unregister(String applicationName,
String userId,
String consumerKey)
This method is used to remove already registered Oauth application.
|
javax.ws.rs.core.Response register(org.wso2.carbon.dynamic.client.registration.profile.RegistrationProfile profile)
profile - contains the necessary attributes that are
needed in order to register an app.javax.ws.rs.core.Response unregister(String applicationName, String userId, String consumerKey)
applicationName - name of the application.userId - name of the application owner.consumerKey - provided consumerKey for the registered application.Copyright © 2017 WSO2. All rights reserved.