extension-authorization

Official

Add role‑based access control for secure apps

Authorcaffeinelabs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Apps handling personal or restricted data need a reliable way to enforce who can see or modify resources. Without built‑in authorization, developers must roll their own checks, leading to security gaps.

Core Features & Use Cases

  • Role‑Based Access Control: Define admin, user, and guest roles and protect endpoints accordingly.
  • Mixin Integration: Include MixinAuthorization in your Motoko canister to automatically expose auth endpoints.
  • Frontend Hooks: Ready‑to‑use React hooks for fetching the current user profile and guarding UI components.

Quick Start

Enable role‑based access control by adding the MixinAuthorization mixin to your canister and using the provided React hook to protect authenticated routes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: extension-authorization
Download link: https://github.com/caffeinelabs/skills/archive/main.zip#extension-authorization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.