When using JWT for authorization, the token's ________ claims can be used to store the user's roles and permissions.
- Body
- Header
- Payload
- Signature
When using JWT (JSON Web Tokens) for authorization, the token's "Payload" claims can be used to store the user's roles and permissions. The payload is where you can include claims about the user, such as their roles and permissions, which can be checked when authorizing access to resources.
Loading...
Related Quiz
- How can API throttling be configured to adapt to varying server loads and usage patterns?
- What does CSRF stand for in the context of API vulnerabilities?
- To ensure data privacy, APIs can implement _____ to encrypt data transmitted between client and server.
- gRPC uses _____ to define services and message types, which helps in generating client and server code in various languages.
- Imagine you are designing an API for a highly dynamic application where the data requirements frequently change. Which API architectural style would be most suitable and why?