From 7171e60c58e3ba8a49248ae82ca2b5329af74ed9 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Wed, 1 Nov 2023 14:22:31 -0400 Subject: [PATCH] add form_post response mode --- library/java/net/openid/appauth/AuthorizationRequest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/java/net/openid/appauth/AuthorizationRequest.java b/library/java/net/openid/appauth/AuthorizationRequest.java index 74829294..5ae9f42e 100644 --- a/library/java/net/openid/appauth/AuthorizationRequest.java +++ b/library/java/net/openid/appauth/AuthorizationRequest.java @@ -264,6 +264,14 @@ public static final class ResponseMode { * " */ public static final String FRAGMENT = "fragment"; + + /** + * Instructs the authorization server to send response parameters using + * the HTTP POST method. + * @see "OAuth 2.0 Multiple Response Type Encoding Practices, Section 2.1 + * " + */ + public static final String FORM_POST = "form_post"; } @VisibleForTesting