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 flowOAuth20MediatorExceptionvoid mediateToken(AttributeList attributeList) throws OAuth20MediatorException
attributeList - provides the attributes related to the flowOAuth20MediatorExceptionvoid mediateResource(AttributeList attributeList) throws OAuth20MediatorException
attributeList - provides the attributes related to the flowOAuth20MediatorExceptionvoid mediateAuthorizeException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException
attributeList - provides the attributes related to the flowexception - OAuth protocol exceptionOAuth20MediatorExceptionvoid mediateTokenException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException
attributeList - provides the attributes related to the flowexception - OAuth protocol exceptionOAuth20MediatorExceptionvoid mediateResourceException(AttributeList attributeList, OAuthException exception) throws OAuth20MediatorException
attributeList - provides the attributes related to the flowexception - OAuth protocol exceptionOAuth20MediatorException