Interface OriginalQueryExtractor
public interface OriginalQueryExtractor
Helper class for extracting the query (or in case of Pushed Authorization Requests content of POST body) parameter
values from the original request leading to the authentication service. This could have been initialized either by
a call to the token server's authorization endpoint or directly to the authentication service in some flows.
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthenticationRequestQueryParameterValue(String queryParameterName) Gets the value of an authentication request query parameter.getAuthorizationRequestQueryParameterValue(String queryParameterName) Gets the value of an authorization request query parameter.Get the client ID (client_id) from the original request, or null if none was present.Gets the original authentication request query string.Gets the original authorization request query string.getQueryParameterValue(String queryParameterName) Gets the value of any arbitrary query parameter.The service provider ID from the request to the authentication service.
-
Method Details
-
getClientId
Get the client ID (client_id) from the original request, or null if none was present.- Returns:
- the client ID from the original request, or null if none was present
-
getServiceProviderId
The service provider ID from the request to the authentication service. Note that this could be either the name of the client or the name of the profile depending on which flow is used.- Returns:
- the service provider ID (serviceProviderId) provided in the original authentication request or null if none was found
-
getQueryParameterValue
Gets the value of any arbitrary query parameter.- Returns:
- the value of the provided query parameter, or null if no value was set for the parameter
-
getAuthorizationRequestQueryParameterValue
Gets the value of an authorization request query parameter.- Returns:
- the value of the provided query parameter, or null if no value was set for the parameter
- Since:
- 6.2.0
-
getAuthenticationRequestQueryParameterValue
Gets the value of an authentication request query parameter.- Returns:
- the value of the provided query parameter, or null if no value was set for the parameter
- Since:
- 6.2.0
-
getOriginalAuthorizationQueryString
Gets the original authorization request query string.- Returns:
- the the original authorization request query string, or null if no query was provided by the client
- Since:
- 6.2.0
-
getOriginalAuthenticationQueryString
Gets the original authentication request query string.- Returns:
- the the original authentication request query string, or null if no query was provided by the client
- Since:
- 6.2.0
-