Type Alias: Authenticator()<USER>
Authenticator<
USER
>: (props
) =>boolean
|Promise
<boolean
>
Implement this function to allow access to specific users.
Type Parameters​
Parameters​
• props
• props.authController: AuthController
<USER
>
AuthController
• props.dataSourceDelegate: DataSourceDelegate
Connector to your database, e.g. your Firestore database
• props.storageSource: StorageSource
Used storage implementation
• props.user: USER
| null
Logged-in user or null
Returns​
boolean
| Promise
<boolean
>