Class OIDCSessionAttributeRequestProxy
java.lang.Object
org.ametys.plugins.mobileapp.site.OIDCSessionAttributeRequestProxy
- All Implemented Interfaces:
BackOfficeRequestProxy
Request proxy to forward OIDC tokens from the mobile app to the back office.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe prefix for incoming request headers from mobile app -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleBackOfficeResponse(Response response, org.apache.http.HttpResponse backOfficeResponse) Allow to modify the response, bases on the back-office response.voidprepareBackOfficeRequest(Request request, HttpUriRequest backOfficeRequest) Allow to modify the back-office request being created.
-
Field Details
-
HEADER_PREFIX
The prefix for incoming request headers from mobile app- See Also:
-
-
Constructor Details
-
OIDCSessionAttributeRequestProxy
public OIDCSessionAttributeRequestProxy()
-
-
Method Details
-
prepareBackOfficeRequest
Description copied from interface:BackOfficeRequestProxyAllow to modify the back-office request being created.- Specified by:
prepareBackOfficeRequestin interfaceBackOfficeRequestProxy- Parameters:
request- the incoming request from the client.backOfficeRequest- the back-office request being created.
-
handleBackOfficeResponse
public void handleBackOfficeResponse(Response response, org.apache.http.HttpResponse backOfficeResponse) Description copied from interface:BackOfficeRequestProxyAllow to modify the response, bases on the back-office response.- Specified by:
handleBackOfficeResponsein interfaceBackOfficeRequestProxy- Parameters:
response- the response being created.backOfficeResponse- the back-office response.
-