public interface DynamicClientRegistrationService
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOAuthApplicationAvailable(String applicationName)
This method will check the existence of an OAuth application provided application-name.
|
OAuthApplicationInfo |
registerOAuthApplication(RegistrationProfile profile)
This method will register a new OAuth application using the data provided by
RegistrationProfile.
|
boolean |
unregisterOAuthApplication(String userName,
String applicationName,
String consumerKey)
This method will unregister a created OAuth application.
|
OAuthApplicationInfo registerOAuthApplication(RegistrationProfile profile) throws DynamicClientRegistrationException
profile - - RegistrationProfile of the OAuth application to be created.DynamicClientRegistrationExceptionboolean unregisterOAuthApplication(String userName, String applicationName, String consumerKey) throws DynamicClientRegistrationException
userName - - Username of the ownerapplicationName - - OAuth application nameconsumerKey - - ConsumerKey of the OAuth applicationDynamicClientRegistrationExceptionboolean isOAuthApplicationAvailable(String applicationName) throws DynamicClientRegistrationException
applicationName - - OAuth application nameDynamicClientRegistrationExceptionCopyright © 2016 WSO2. All rights reserved.