Add additional constants to OAuth2ParameterNames

These additional constants are used for optional parameters in the
Access Token Request for the OAuth 2.0 Token Exchange Grant.

Issue gh-5199
This commit is contained in:
Steve Riesenberg 2024-03-15 14:32:26 -05:00
parent c611b7e33b
commit 9728f28380
No known key found for this signature in database
GPG Key ID: 3D0169B18AB8F0A9
1 changed files with 12 additions and 0 deletions

View File

@ -182,6 +182,18 @@ public final class OAuth2ParameterNames {
*/
public static final String INTERVAL = "interval";
/**
* {@code audience} - used in Token Exchange Access Token Request.
* @since 6.3
*/
public static final String AUDIENCE = "audience";
/**
* {@code resource} - used in Token Exchange Access Token Request.
* @since 6.3
*/
public static final String RESOURCE = "resource";
/**
* {@code requested_token_type} - used in Token Exchange Access Token Request.
* @since 6.3