Skip to content

Commit f293304

Browse files
committed
Add signInWithCredential to auth-next
1 parent cb58a66 commit f293304

File tree

1 file changed

+14
-0
lines changed
  • packages-exp/auth-exp/test

1 file changed

+14
-0
lines changed

packages-exp/auth-exp/test/jwt.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,17 @@ export function makeJWT(claims: object): string {
2121
const payload = base64Encode(JSON.stringify(claims));
2222
return `algorithm.${payload}.signature`;
2323
}
24+
25+
/**
26+
* Supported sign in methods
27+
*/
28+
export enum SignInMethod {
29+
ANONYMOUS = 'anonymous',
30+
EMAIL_LINK = 'emailLink',
31+
EMAIL_PASSWORD = 'password',
32+
FACEBOOK = 'facebook.com',
33+
GITHUB = 'github.com',
34+
GOOGLE = 'google.com',
35+
PHONE = 'phone',
36+
TWITTER = 'twitter.com'
37+
}

0 commit comments

Comments
 (0)