public class OAuthExtensionServiceComponent extends Object
| Constructor and Description |
|---|
OAuthExtensionServiceComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext) |
protected void |
addScopeValidator(org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator scopesValidator)
Add scope validator to the map.
|
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext) |
protected void |
removeScopeValidator(org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator scopesValidator)
unset scope validator.
|
protected void |
setOAuth2ValidationService(org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService tokenValidationService)
Sets OAuth2TokenValidation Service.
|
protected void |
setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
Sets Realm Service.
|
protected void |
unsetOAuth2ValidationService(org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService tokenValidationService)
Unsets OAuth2TokenValidation Service.
|
protected void |
unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
Unsets Realm Service.
|
protected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
realmService - An instance of RealmServiceprotected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
realmService - An instance of RealmServiceprotected void setOAuth2ValidationService(org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService tokenValidationService)
tokenValidationService - An instance of OAuth2TokenValidationServiceprotected void unsetOAuth2ValidationService(org.wso2.carbon.identity.oauth2.OAuth2TokenValidationService tokenValidationService)
tokenValidationService - An instance of OAuth2TokenValidationServiceprotected void addScopeValidator(org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator scopesValidator)
scopesValidator - protected void removeScopeValidator(org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator scopesValidator)
scopesValidator - Copyright © 2017 WSO2. All rights reserved.