public class OAuthAppDAO extends Object
| Constructor and Description |
|---|
OAuthAppDAO(org.wso2.carbon.datasource.core.api.DataSourceService dataSourceService,
String databaseName,
List<org.wso2.carbon.database.query.manager.config.Queries> deploymentQueries,
org.wso2.carbon.secvault.SecretRepository secretRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOAuthApp(OAuthApplicationInfo oAuthApplicationInfo) |
void |
createTable() |
OAuthApplicationInfo |
getOAuthApp(String name) |
void |
init() |
boolean |
tableExists()
Method for checking whether or not the given table (which reflects the current event table instance) exists.
|
void |
updateOAuthApp(OAuthApplicationInfo oAuthApplicationInfo) |
public void init()
throws IdPClientException
IdPClientExceptionpublic void createTable()
throws IdPClientException
IdPClientExceptionpublic boolean tableExists()
public void addOAuthApp(OAuthApplicationInfo oAuthApplicationInfo) throws IdPClientException
IdPClientExceptionpublic OAuthApplicationInfo getOAuthApp(String name) throws IdPClientException
IdPClientExceptionpublic void updateOAuthApp(OAuthApplicationInfo oAuthApplicationInfo) throws IdPClientException
IdPClientExceptionCopyright © 2019 WSO2. All rights reserved.