APIGEE-API-ENGINEER practice question 11 of 25
Which describe OAuth 2.0 Refresh Tokens'? Select all that are correct
Full set: 126 questionsAn OAuth 2.0 refresh token is a credential used to obtain new access tokens. Its primary purpose, as defined in the OAuth 2.0 framework, is to allow a client application to get a new access token when the current one expires, without requiring the end-user to re-authenticate. Depending on the authorization server's policy, a refresh token may be long-lived and reusable multiple times. However, for enhanced security, a server may also implement refresh token rotation, where a new refresh token is issued each time one is used.
B. The issuance of a refresh token is optional and depends on the grant type and authorization server configuration; for example, the Implicit grant type does not include a refresh token.
C. Refresh tokens are used exclusively for obtaining new access tokens; they are not involved in the process of resetting a user's primary credentials, such as their password.
1. Internet Engineering Task Force (IETF) RFC 6749
The OAuth 2.0 Authorization Framework.
Section 1.5
"Refresh Token": "Refresh tokens are issued to the client by the authorization server and are used to obtain a new access token when the current access token becomes invalid or expires..." This directly supports option A.
Section 6
"Refreshing an Access Token": "The authorization server MAY issue a new refresh token
in which case the client MUST discard the old refresh token and replace it with the new refresh token." The use of "MAY" indicates that a new token is not always issued
implying the original can be reused if a new one is not provided. This supports option D.
Section 4.2.2
"Access Token Response" (Implicit Grant): "A refresh token SHOULD NOT be included." This directly refutes the claim in option B that a refresh token is always issued.
2. Google Cloud
Apigee Documentation
"OAuthV2 policy".
"Generating an access token" section: The documentation describes the element within the GenerateAccessToken block. This element's existence as a configurable option demonstrates that issuing a refresh token is a deliberate policy choice and not an automatic action for every access token generation
which refutes option B.
Keep practicing
Take the free APIGEE-API-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other APIGEE-API-ENGINEER practice questions
- Question 1In your last release, there were unexpected errors uncovered by users within the first 24…
- Question 2Your company runs their internal services across two datacenters in a hot-warm configurat…
- Question 3Which features are supported in the OAulhV2 policy'? Select all that are correct. Choose …
- Question 4Which is a benefit of three-legged OAuth (authonzation_code grant)'?
- Question 5Which Apigee product feature can be used to host and version your API documentation'?
- Question 6As an API Engineer your team would like to make sure you are simulating a user experience…
