← Back to plugin index

Requested Resource Or Audience Condition

Description
Condition matching the resource or audience parameter. If either resource or audience matches, the condition evaluates to true.
Type name
TargetOAuth2TokenExchangeRuleCondition
Class
com.airlock.iam.oauth2.application.configuration.tokenexchange.rules.condition.TargetOAuth2TokenExchangeRuleConditionConfig
May be used by
License-Tags
OAuthTokenExchange
Properties
Requested Resource (requestedResource)
Description

Matches the "resource" parameter(s) from the token exchange request. Matches only if configured.

Notice that ".*" even matches when there is no resource parameter in the request.

Attributes
RegEx
Optional
Requested Audience (requestedAudience)
Description

Matches the "audience" parameter(s) from the token exchange request. Matches only if configured.

Notice that ".*" even matches when there is no audience parameter in the request.

Attributes
RegEx
Optional
YAML Template (with default values)

type: TargetOAuth2TokenExchangeRuleCondition
id: TargetOAuth2TokenExchangeRuleCondition-xxxxxx
displayName: 
comment: 
properties:
  requestedAudience:
  requestedResource: