All Questions
Api Design easy

Your API serves both mobile apps and third-party integrations. Which authentication method is most appropriate?

  1. A Use stateful session cookies tracked by the server.
  2. B Use OAuth 2.0 Bearer tokens for stateless authentication.
  3. C Use HTTP Basic Authentication with base64-encoded credentials.
  4. D Use IP whitelisting to restrict access to known networks.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions