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() |
void |
updateOAuthApp(OAuthApplicationInfo oAuthApplicationInfo) |
public void init()
throws IdPClientException
IdPClientExceptionpublic void createTable()
throws IdPClientException
IdPClientExceptionpublic void addOAuthApp(OAuthApplicationInfo oAuthApplicationInfo) throws IdPClientException
IdPClientExceptionpublic OAuthApplicationInfo getOAuthApp(String name) throws IdPClientException
IdPClientExceptionpublic void updateOAuthApp(OAuthApplicationInfo oAuthApplicationInfo) throws IdPClientException
IdPClientExceptionCopyright © 2017 WSO2. All rights reserved.