public class RegistrationServiceImpl extends Object implements RegistrationService
RegistrationService.ErrorCode| Constructor and Description |
|---|
RegistrationServiceImpl() |
| 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.
|
public javax.ws.rs.core.Response register(org.wso2.carbon.dynamic.client.registration.profile.RegistrationProfile profile)
RegistrationServiceregister in interface RegistrationServiceprofile - contains the necessary attributes that are
needed in order to register an app.public javax.ws.rs.core.Response unregister(String applicationName, String userId, String consumerKey)
RegistrationServiceunregister in interface RegistrationServiceapplicationName - name of the application.userId - name of the application owner.consumerKey - provided consumerKey for the registered application.Copyright © 2017 WSO2. All rights reserved.