This topic includes a list of all the WSO2 Identity Server extension points related to OAuth. All implementations using the following extension points must be configured in theĀ <IS_HOME>/repository/conf/identity/identity.xml
file under the OAuth
element.
...
Usage | Scope handlers are executed during the scope validation step when issuing an access token. Multiple scope handlers can be registered using a sample configuration given below.
| |||||
---|---|---|---|---|---|---|
Abstract Class | org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeHandler |
Extended Scope Validator
Usage | These are executed during the token validation stepwhen validating an access token. Multiple scope validators can be registered using a sample configuration given below.
| |||||
---|---|---|---|---|---|---|
Abstract Class | org.wso2.carbon.identity.oauth2.validators.OAuth2ScopeValidator |
Client Auth handler
Usage | This extension point can be used when the client credential authentication needs to be customized. By default the Identity Server validate the client id and secret. |
---|---|
Interface | org.wso2.carbon.identity.oauth2.token.handlers.clientauth.ClientAuthenticationHandler |
...
TokenPersistenceProcessor
Usage | Implementations are used to process keys and secrets just before storing them in the database, e.g., to encrypt tokens before storing them in the database. Implementations of this interface can be configured through the identity.xml file. Its recommended to configure this in initial configuration. If not already persisted data has to migrate in to new format. |
---|---|
Interface | org.wso2.carbon.identity.oauth.tokenprocessor.TokenPersistenceProcessor |
Abstract class/default implementation |
|
...