This article discusses various web authentication methods, including HTTP Basic Authentication, HTTP Digest Authentication, session-based authentication, token-based authentication, one-time passwords, and OAuth/OpenID. It highlights the differences between authentication and authorization, provides code examples, and suggests use cases for each method.
Table of contents
ContentsAuthentication vs AuthorizationHTTP Basic AuthenticationHTTP Digest AuthenticationSession-based AuthToken-Based AuthenticationOne Time PasswordsOAuth and OpenIDConclusionSort: