public interface OAuth20Mediator
Modifier and Type | Method and Description |
---|---|
void |
init(OAuthComponentConfiguration config)
This method is called by a factory when an instance of this object is
created.
|
void |
mediateAuthorize(AttributeList attributeList)
This method is called by the core component after basic message
validation and processing to allow any post custom processing by the component
consumer in processAuthorization method.
|
void |
mediateAuthorizeException(AttributeList attributeList,
OAuthException exception)
This method is called by the core component when protocol exception happens
to allow any post custom processing by the component consumer in processAuthorization method.
|
void |
mediateResource(AttributeList attributeList)
This method is called by the core component after basic message
validation and processing to allow any post custom processing by the component
consumer in processResourceRequest method.
|
void |
mediateResourceException(AttributeList attributeList,
OAuthException exception)
This method is called by the core component when protocol exception happens
to allow any post custom processing by the component consumer in processResourceRequest method.
|
void |
mediateToken(AttributeList attributeList)
This method is called by the core component after basic message
validation and processing to allow any post custom processing by the component
consumer in processTokenRequest method.
|
void |
mediateTokenException(AttributeList attributeList,
OAuthException exception)
This method is called by the core component when protocol exception happens
to allow any post custom processing by the component consumer in processTokenRequest method.
|
void init(OAuthComponentConfiguration config)
config
- Configuration entity for the component instancevoid mediateAuthorize(AttributeList attributeList) throws OAuth20MediatorException
attributeList
- provides the attributes related to the flowOAuth20MediatorException
void mediateToken(AttributeList attributeList) throws OAuth20MediatorException
attributeList
- provides the attributes related to the flowOAuth20MediatorException
void mediateResource(AttributeList attributeList) throws OAuth20MediatorException
attributeList
- provides the attributes related to the flowOAuth20MediatorException
void mediateAuthorizeException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException
attributeList
- provides the attributes related to the flowexception
- OAuth protocol exceptionOAuth20MediatorException
void mediateTokenException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException
attributeList
- provides the attributes related to the flowexception
- OAuth protocol exceptionOAuth20MediatorException
void mediateResourceException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException
attributeList
- provides the attributes related to the flowexception
- OAuth protocol exceptionOAuth20MediatorException