Skip to content

Commit

Permalink
Add additional constants to OAuth2ParameterNames
Browse files Browse the repository at this point in the history
These additional constants are used for optional parameters in the
Access Token Request for the OAuth 2.0 Token Exchange Grant.

Issue gh-5199
  • Loading branch information
sjohnr committed Mar 15, 2024
1 parent c611b7e commit 9728f28
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9728f28

Please sign in to comment.