CrossClientSubjectTokenExchange Enum
Which subject tokens issued to another client a client may present at the token exchange grant (RFC 8693).
public enum CrossClientSubjectTokenExchangeFields
Refused 0
Only a subject token issued to the presenting client is exchanged; one issued to another client, or one whose client cannot be determined, is refused.
AddressedToClient 1
A subject token issued to another client is exchanged when its audience names one of the presenting client's ResourceLocations: the token was issued for the presenting client acting as a resource server, which delegates the call upstream, as a server behind an MCP client does.
Remarks
The match is textual and exact, as ResourceLocations describes. A refresh token is addressed to this server alone and is never exchanged by another client under this setting.
Any 2
Any subject or actor token is exchanged whichever client it was issued to, one whose client cannot be determined included: the presenting client is a broker trusted with tokens issued to others.
Remarks
Exchanging a token issued to somebody else is the confused-deputy shape: the presenting client turns authority the end user gave another client into a token of its own. An actor token is held to its own client whatever this says, except under Any.