@xuda.io/xuda-widget-plugin-firebase-auth-ui
Version:
Xuda firebaseUI Authentication widget
74 lines (73 loc) • 2.18 kB
JavaScript
export const methods = {
_default: {
name: "default",
tooltip:
"A Firebase initialization shares authentication data across Firebase services. After you initialize the Firebase plugin (usually with the Onload event in Globals), you can add and start using Firebase services. Before you can add Firebase to your project, you need to create a Firebase project and register your app with that project. When you register your app with Firebase, you'll get a Firebase configuration object that you'll use to connect your app with your Firebase project resources.",
fields: {
event_name_for_successful_callback: {
label: "Successful Callback",
type: "string",
render: "eventId",
},
field_id_to_return_result: {
label: "Field Id Callback",
type: "string",
render: "field",
},
tos_url: {
label: "Terms of Service Url",
type: "string",
},
privacy_policy_url: {
label: "Privacy Policy Url",
type: "string",
},
popup: {
label: "Popup",
type: "bool",
render: "checkbox",
},
GoogleOneTap: {
label: "One-tap login with Google",
type: "bool",
render: "checkbox",
},
GoogleAuthProvider: {
label: "SignIn with Google",
type: "bool",
render: "checkbox",
},
FacebookAuthProvider: {
label: "SignIn with Facebook",
type: "bool",
render: "checkbox",
},
TwitterAuthProvider: {
label: "SignIn with Twitter",
type: "bool",
render: "checkbox",
},
GithubAuthProvider: {
label: "SignIn with Github",
type: "bool",
render: "checkbox",
},
EmailAuthProvider: {
label: "SignIn with Email",
type: "bool",
render: "checkbox",
},
PhoneAuthProvider: {
label: "SignIn with Phone Number",
type: "bool",
render: "checkbox",
},
AnonymousAuthProvider: {
label: "Continue as Guest",
type: "bool",
render: "checkbox",
},
},
response: {},
},
};