2022-05-23 14:54:50 +00:00
|
|
|
<?php
|
2021-02-28 10:16:27 +00:00
|
|
|
|
|
|
|
|
// Auth methods
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
'email-password' => [
|
|
|
|
|
'name' => 'Email/Password',
|
2021-08-06 08:01:53 +00:00
|
|
|
'key' => 'emailPassword',
|
2021-05-20 14:03:47 +00:00
|
|
|
'icon' => '/images/users/email.png',
|
2024-01-12 17:39:44 +00:00
|
|
|
'docs' => 'https://appwrite.io/docs/references/cloud/client-web/account#accountCreateEmailPasswordSession',
|
2021-02-28 10:16:27 +00:00
|
|
|
'enabled' => true,
|
|
|
|
|
],
|
2021-08-31 09:22:48 +00:00
|
|
|
'magic-url' => [
|
|
|
|
|
'name' => 'Magic URL',
|
|
|
|
|
'key' => 'usersAuthMagicURL',
|
|
|
|
|
'icon' => '/images/users/magic-url.png',
|
2024-01-12 17:39:44 +00:00
|
|
|
'docs' => 'https://appwrite.io/docs/references/cloud/client-web/account#accountCreateMagicURLToken',
|
2021-08-31 09:22:48 +00:00
|
|
|
'enabled' => true,
|
|
|
|
|
],
|
2024-01-22 14:30:11 +00:00
|
|
|
'email-otp' => [
|
2024-01-19 13:42:26 +00:00
|
|
|
'name' => 'Email (OTP)',
|
2024-01-22 14:30:11 +00:00
|
|
|
'key' => 'emailOtp',
|
2024-01-19 13:42:26 +00:00
|
|
|
'icon' => '/images/users/email.png',
|
|
|
|
|
'docs' => 'https://appwrite.io/docs/references/cloud/client-web/account#accountCreateEmailToken',
|
|
|
|
|
'enabled' => true,
|
|
|
|
|
],
|
2021-02-28 10:16:27 +00:00
|
|
|
'anonymous' => [
|
|
|
|
|
'name' => 'Anonymous',
|
2021-08-06 08:01:53 +00:00
|
|
|
'key' => 'anonymous',
|
2021-02-28 10:16:27 +00:00
|
|
|
'icon' => '/images/users/anonymous.png',
|
2024-01-12 17:39:44 +00:00
|
|
|
'docs' => 'https://appwrite.io/docs/references/cloud/client-web/account#accountCreateAnonymousSession',
|
2021-02-28 10:16:27 +00:00
|
|
|
'enabled' => true,
|
|
|
|
|
],
|
|
|
|
|
'invites' => [
|
|
|
|
|
'name' => 'Invites',
|
2021-08-06 08:01:53 +00:00
|
|
|
'key' => 'invites',
|
2021-02-28 10:16:27 +00:00
|
|
|
'icon' => '/images/users/invites.png',
|
2022-01-24 20:25:47 +00:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/teams?sdk=web-default#teamsCreateMembership',
|
2021-02-28 10:16:27 +00:00
|
|
|
'enabled' => true,
|
|
|
|
|
],
|
|
|
|
|
'jwt' => [
|
|
|
|
|
'name' => 'JWT',
|
2021-08-06 08:01:53 +00:00
|
|
|
'key' => 'JWT',
|
2021-02-28 10:16:27 +00:00
|
|
|
'icon' => '/images/users/jwt.png',
|
2022-01-24 20:25:47 +00:00
|
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web-default#accountCreateJWT',
|
2021-02-28 10:16:27 +00:00
|
|
|
'enabled' => true,
|
|
|
|
|
],
|
2021-02-28 11:40:42 +00:00
|
|
|
'phone' => [
|
|
|
|
|
'name' => 'Phone',
|
2021-08-06 08:01:53 +00:00
|
|
|
'key' => 'phone',
|
2021-02-28 11:40:42 +00:00
|
|
|
'icon' => '/images/users/phone.png',
|
2024-01-12 17:39:44 +00:00
|
|
|
'docs' => 'https://appwrite.io/docs/references/cloud/client-web/account#accountCreatePhoneToken',
|
2022-06-14 15:41:58 +00:00
|
|
|
'enabled' => true,
|
2021-02-28 11:40:42 +00:00
|
|
|
],
|
2022-05-23 14:54:50 +00:00
|
|
|
];
|