When securing your ASP.NET Core Web APIs, which authentication approach uses a compact, URL-safe means of representing claims to be transferred between two parties?
- OAuth 2.0
- JSON Web Tokens (JWT)
- SAML (Security Assertion Markup Language)
- OpenID Connect
JSON Web Tokens (JWT) is an authentication approach commonly used in ASP.NET Core Web APIs. JWTs are compact and URL-safe, making them efficient for transferring claims between parties. They provide a secure way to represent user identities and access permissions.
Loading...
Related Quiz
- You notice that despite having a "Details" action method in your "Products" controller, navigating to "/Products/Details/5" results in a 404 error. What could be a probable cause?
- You've just installed Visual Studio for ASP.NET Core development. Which tool should you ensure is also installed to help with command-line tasks for your projects?
- In your ASP.NET Core application, you notice that some middleware is not executing as expected. Considering the middleware pipeline, what could be the potential reason?
- In the MVC design pattern, which component is primarily responsible for handling user input and interactions?
- You're reviewing a colleague's code and notice that they've added the same namespace to multiple Razor views. How can you suggest an optimization to this approach?