-
-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathfirebase-auth.component.html
More file actions
28 lines (28 loc) · 1.57 KB
/
firebase-auth.component.html
File metadata and controls
28 lines (28 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<ActionBar title="firebase-auth" class="action-bar"> </ActionBar>
<StackLayout class="p-20">
<ScrollView class="h-full">
<StackLayout>
<TextField hint="Enter email" [text]="email" keyboardType="email" autocapitalizationType="none" />
<TextField hint="Enter password" [text]="password" secure="true" />
<TextField hint="Enter Phone Number" [text]="phoneNumber" />
<TextField hint="Enter Verification Code" [text]="code" />
<Button text="Get Phone Verification Code" [tap]="getVerificationCode" class="btn btn-primary"></Button>
<Button text="Create User" [tap]="createUser" class="btn btn-primary"></Button>
<Button text="Login User" [tap]="loginUser" class="btn btn-primary"></Button>
<Button text="Login User With Phone" [tap]="loginWithPhone" class="btn btn-primary"></Button>
<Button text="Link User Phone" [tap]="linkPhone" class="btn btn-primary"></Button>
<Button text="Link Google" [tap]="linkGoogle" class="btn btn-primary"></Button>
<Button text="Link user with Github" [tap]="linkGithub" class="btn btn-primary"></Button>
<Button text="Login user with Yahoo" [tap]="linkYahoo" class="btn btn-primary"></Button>
<Button text="Get Current User" [tap]="getCurrentUser" class="btn btn-primary"></Button>
<Button text="Logout User" [tap]="logOutUser" class="btn btn-primary"></Button>
<StackLayout>
<Label text="Current User"></Label>
<Label [text]="uid"></Label>
<Label [text]="displayName"></Label>
<Label [text]="displayEmail"></Label>
<Image [src]="photoURL"></Image>
</StackLayout>
</StackLayout>
</ScrollView>
</StackLayout>