Skip to content

@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";
Name Summary
noAuth Create an AuthProvider that performs no authentication and resolves every request to the shared ANONYMOUS_PRINCIPAL.
Name Summary
ANONYMOUS_PRINCIPAL The fixed principal returned by noAuth.