Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 685

How is OAuth framework used in REST API?

Answer options

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.