nerdexam
Salesforce

PDII · Question #262

As part of their quoting and ordering process, a company needs to send PDFs to their document storage system's REST endpoint that supports OAuth 2.0. Each Salesforce user must be individually…

The correct answer is B. Named Credential with an OAuth Authentication Provider. See the full explanation below for the reasoning.

Question

As part of their quoting and ordering process, a company needs to send PDFs to their document storage system's REST endpoint that supports OAuth 2.0. Each Salesforce user must be individually authenticated with the document storage system to send the PDF. What is the optimal way for a developer to implement the authentication to the REST endpoint?

Options

  • ANamed Credential with Password Authentication
  • BNamed Credential with an OAuth Authentication Provider
  • CHierarchy Custom Setting with an OAuth token custom field
  • DHierarchy Custom Setting with a password custom field

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    78% (31)
  • C
    5% (2)
  • D
    13% (5)

Community Discussion

No community discussion yet for this question.

Full PDII Practice