Authentication and Authorization
In the previous chapter, we reviewed a number of advanced API topics. In this chapter, you will learn how to add authentication (which answers questions such as “is this user who they say they are?”) and authorization (“is this user allowed to take this action?”). We will use the Azure function from Chapter 6.
In this chapter, we will cover the following topics:
- Differences between authentication and authorization
- Definitions of authentication and authorization
- A walkthrough of authentication – proving who you are
- A walkthrough of authorization – testing if you can take a specific action