strapi-plugin-firebase-authentication
Version:
Allows easy integration between clients utilizing Firebase for authentication and Strapi
16 lines (15 loc) • 556 B
TypeScript
import { User } from "../../../model/User";
/**
* Checks if a Firebase user has password authentication enabled
*
* @param user - Firebase user object or null
* @returns true if user has password provider, false otherwise
*/
export declare const hasPasswordProvider: (user: User | null) => boolean;
/**
* Gets tooltip text explaining why password reset is disabled
*
* @param user - Firebase user object or null
* @returns Tooltip text explaining the disabled state
*/
export declare const getPasswordResetTooltip: (user: User | null) => string;