Authenticator
@firecms/core / Authenticator
Type Alias: Authenticator()<USER>
Section titled “Type Alias: Authenticator()<USER>”Authenticator<
USER> = (props) =>boolean|Promise<boolean>
Defined in: types/auth.tsx:72
Implement this function to allow access to specific users.
Type Parameters
Section titled “Type Parameters”Parameters
Section titled “Parameters”authController
Section titled “authController”AuthController<USER>
AuthController
dataSourceDelegate
Section titled “dataSourceDelegate”Connector to your database, e.g. your Firestore database
storageSource
Section titled “storageSource”Used storage implementation
USER | null
Logged-in user or null
Returns
Section titled “Returns”boolean | Promise<boolean>