public class OAuthExtensionsDataHolder extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addScopeValidator(org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator oAuth2ScopeValidator,
String prefix) |
static OAuthExtensionsDataHolder |
getInstance() |
org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService |
getoAuth2TokenValidationService() |
org.wso2.carbon.user.core.service.RealmService |
getRealmService() |
Map<String,org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator> |
getScopeValidators() |
List<String> |
getWhitelistedScopes() |
void |
removeScopeValidator() |
void |
setoAuth2TokenValidationService(org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService oAuth2TokenValidationService) |
void |
setRealmService(org.wso2.carbon.user.core.service.RealmService realmService) |
void |
setScopeValidators(Map<String,org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator> scopeValidators) |
void |
setWhitelistedScopes(List<String> whitelistedScopes) |
public static OAuthExtensionsDataHolder getInstance()
public org.wso2.carbon.user.core.service.RealmService getRealmService()
public void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
public org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService getoAuth2TokenValidationService()
public void setoAuth2TokenValidationService(org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService oAuth2TokenValidationService)
public Map<String,org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator> getScopeValidators()
public void setScopeValidators(Map<String,org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator> scopeValidators)
public void addScopeValidator(org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator oAuth2ScopeValidator,
String prefix)
public void removeScopeValidator()
Copyright © 2017 WSO2. All rights reserved.