Package org.forgerock.oauth2.restlet
Class OAuth2Representation
- java.lang.Object
-
- org.forgerock.oauth2.restlet.OAuth2Representation
-
public class OAuth2Representation extends Object
Handles processing user consent and error pages to Restlet representations.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Constructor Description OAuth2Representation(OAuth2RequestFactory requestFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.restlet.representation.RepresentationgetRepresentation(org.restlet.Context context, OAuth2Request request, String templateName, Map<String,Object> dataModel)Gets the appropriate representation to send to the user agent based from the specified parameters.
-
-
-
Constructor Detail
-
OAuth2Representation
@Inject public OAuth2Representation(OAuth2RequestFactory requestFactory)
-
-
Method Detail
-
getRepresentation
public org.restlet.representation.Representation getRepresentation(org.restlet.Context context, OAuth2Request request, String templateName, Map<String,Object> dataModel)Gets the appropriate representation to send to the user agent based from the specified parameters.- Parameters:
context- The Restlet context.templateName- The name of the template to display.dataModel- The data model to display on the page.- Returns:
- A representation of the page to send to the user agent.
-
-