@xtandard/kit/auth/none
@xtandard/kit/auth/none — noAuth(): every request is the anonymous
principal. Pair it with an authorization provider.
import { … } from "@xtandard/kit/auth/none";Functions
Section titled “Functions”| Name | Summary |
|---|---|
noAuth |
Create an AuthProvider that performs no authentication and resolves every request to the shared ANONYMOUS_PRINCIPAL. |
Variables
Section titled “Variables”| Name | Summary |
|---|---|
ANONYMOUS_PRINCIPAL |
The fixed principal returned by noAuth. |