2022-05-24 02:54:50 +12:00
|
|
|
<?php
|
2021-02-28 23:16:27 +13:00
|
|
|
|
|
|
|
// Auth methods
|
|
|
|
|
|
|
|
return [
|
|
|
|
'email-password' => [
|
|
|
|
'name' => 'Email/Password',
|
2021-08-06 20:01:53 +12:00
|
|
|
'key' => 'emailPassword',
|
2021-05-21 02:03:47 +12:00
|
|
|
'icon' => '/images/users/email.png',
|
2022-06-15 03:41:58 +12:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web-default#accountCreateEmailSession',
|
2021-02-28 23:16:27 +13:00
|
|
|
'enabled' => true,
|
|
|
|
],
|
2021-08-31 21:22:48 +12:00
|
|
|
'magic-url' => [
|
|
|
|
'name' => 'Magic URL',
|
|
|
|
'key' => 'usersAuthMagicURL',
|
|
|
|
'icon' => '/images/users/magic-url.png',
|
2022-01-25 09:25:47 +13:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web-default#accountCreateMagicURLSession',
|
2021-08-31 21:22:48 +12:00
|
|
|
'enabled' => true,
|
|
|
|
],
|
2021-02-28 23:16:27 +13:00
|
|
|
'anonymous' => [
|
|
|
|
'name' => 'Anonymous',
|
2021-08-06 20:01:53 +12:00
|
|
|
'key' => 'anonymous',
|
2021-02-28 23:16:27 +13:00
|
|
|
'icon' => '/images/users/anonymous.png',
|
2022-01-25 09:25:47 +13:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web-default#accountCreateAnonymousSession',
|
2021-02-28 23:16:27 +13:00
|
|
|
'enabled' => true,
|
|
|
|
],
|
|
|
|
'invites' => [
|
|
|
|
'name' => 'Invites',
|
2021-08-06 20:01:53 +12:00
|
|
|
'key' => 'invites',
|
2021-02-28 23:16:27 +13:00
|
|
|
'icon' => '/images/users/invites.png',
|
2022-01-25 09:25:47 +13:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/teams?sdk=web-default#teamsCreateMembership',
|
2021-02-28 23:16:27 +13:00
|
|
|
'enabled' => true,
|
|
|
|
],
|
|
|
|
'jwt' => [
|
|
|
|
'name' => 'JWT',
|
2021-08-06 20:01:53 +12:00
|
|
|
'key' => 'JWT',
|
2021-02-28 23:16:27 +13:00
|
|
|
'icon' => '/images/users/jwt.png',
|
2022-01-25 09:25:47 +13:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web-default#accountCreateJWT',
|
2021-02-28 23:16:27 +13:00
|
|
|
'enabled' => true,
|
|
|
|
],
|
2021-03-01 00:40:42 +13:00
|
|
|
'phone' => [
|
|
|
|
'name' => 'Phone',
|
2021-08-06 20:01:53 +12:00
|
|
|
'key' => 'phone',
|
2021-03-01 00:40:42 +13:00
|
|
|
'icon' => '/images/users/phone.png',
|
2022-06-15 03:41:58 +12:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web-default#accountCreatePhoneSession',
|
|
|
|
'enabled' => true,
|
2021-03-01 00:40:42 +13:00
|
|
|
],
|
2022-05-24 02:54:50 +12:00
|
|
|
];
|