PT-AM-CPE practice question 8 of 35
Which statements are correct in relation to an OAuth2 token exchange impersonation pattern? A) The client may want to act as the subject on another service. B) The client is used by a subject to act on behalf of another subject. C) The requested token exchange involves a subject token only. D) The requested token exchange involves a subject and actor token.
Full set: 100 questionsThe OAuth 2.0 Token Exchange impersonation pattern allows a client (the "actor") to obtain a token to access a downstream service while acting on behalf of a user (the "subject"). Therefore, the client's goal is to act as the subject on another service (A). The token exchange request itself, as defined in RFC 8693, involves the client presenting a subjecttoken (representing the user) and typically an actortoken (representing the client itself) to clearly define the impersonation context (D).
B. A subject acting on behalf of another subject describes a delegation pattern, which is a different use case from impersonation.
C. The request must identify both the subject being impersonated and the actor doing the impersonating; a subjecttoken alone is insufficient.
1. Internet Engineering Task Force (IETF), RFC 8693, "OAuth 2.0 Token Exchange," Section 1, "Introduction." This section describes the impersonation use case where a service acts on behalf of a user.
2. Internet Engineering Task Force (IETF), RFC 8693, "OAuth 2.0 Token Exchange," Section 2.1, "Request." This section defines the subjecttoken and actortoken parameters used in the exchange to represent the subject and the acting party, respectively.
3. Ping Identity, PingAM Documentation, "OAuth 2.0 Guide," Chapter: "OAuth 2.0 Token Exchange," Section: "Impersonation." This section details PingAM's implementation of the impersonation grant type, aligning with RFC 8693.
Keep practicing
Take the free PT-AM-CPE practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PT-AM-CPE practice questions
- Question 1Which area of PingAM does affinity mode relate to?
- Question 2Which of the following actions can be specified in a policy by default?
- Question 3Which of the following parameters must be provided by the edge client when requesting ste…
- Question 4Which of the following code examples inserts a may_act claim to the resulting token in a …
- Question 5A user enters their credentials, but is faced with the error message "user requires profi…
- Question 6The Core Token Service (CTS) can be used for storing which of the following?
