The correct answer is D. Handle authentication in the code. However, when using Named Credentials in Salesforce, the authentication is handled by Salesforce itself, not in the Apex code.
While login flows are a powerful tool for managing the login process and enforcing certain business processes at login, they are not typically used to handle authentication for Apex callouts to external data sources via Named Credentials
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Paul421
5 months, 2 weeks agou39403918
9 months agoJLee1
1 year ago