Sanctum

Last updated

What is Sanctum?

Sanctum is a lightweight authentication system primarily designed for single-page applications (SPAs), mobile applications, and simple APIs. It provides a straightforward method for authenticating users using API tokens, allowing them to access protected routes and resources. Sanctum focuses on issuing API tokens that are scoped to specific abilities, offering a more granular control over user permissions compared to traditional session-based authentication.

Free resources to learn Sanctum

More in stage 31: Authentication

Sanctum: common questions

Can I learn Sanctum in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Sanctum in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Sanctum tutorial for beginners?

It is lesson 70 of 104 in the free Laravel roadmap, in stage 31, Authentication. If you are new to Laravel, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me