Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 685
How is OAuth framework used in REST API?
Answer options
- A. as a framework to hash the security information in the REST URL
- B. by providing the external application a token that authorizes access to the account
- C. as a framework to hide the security information in the REST URL
- D. by providing the user credentials to the external application
Correct answer: B
Explanation
The correct answer is B because OAuth allows external applications to obtain a token that gives them authorized access to a user's account without sharing sensitive credentials. Options A and C incorrectly suggest that OAuth is used for hashing or hiding security information in the URL, which is not its purpose, while option D implies direct credential sharing, contradicting OAuth's design for secure token-based access.