42 lines
No EOL
1.3 KiB
PHP
42 lines
No EOL
1.3 KiB
PHP
<?php
|
|
|
|
// Auth methods
|
|
|
|
return [
|
|
'email-password' => [
|
|
'name' => 'Email/Password',
|
|
'key' => 'usersAuthEmailPassword',
|
|
'icon' => '/images/users/email-password.png',
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreateSession',
|
|
'enabled' => true,
|
|
],
|
|
'anonymous' => [
|
|
'name' => 'Anonymous',
|
|
'key' => 'usersAuthAnonymous',
|
|
'icon' => '/images/users/anonymous.png',
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreateAnonymousSession',
|
|
'enabled' => true,
|
|
],
|
|
'invites' => [
|
|
'name' => 'Invites',
|
|
'key' => 'usersAuthInvites',
|
|
'icon' => '/images/users/invites.png',
|
|
'docs' => 'https://appwrite.io/docs/client/teams?sdk=web#teamsCreateMembership',
|
|
'enabled' => true,
|
|
],
|
|
'jwt' => [
|
|
'name' => 'JWT',
|
|
'key' => 'usersAuthJWT',
|
|
'icon' => '/images/users/jwt.png',
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreateJWT',
|
|
'enabled' => true,
|
|
],
|
|
'phone' => [
|
|
'name' => 'Phone',
|
|
'key' => 'usersAuthPhone',
|
|
'icon' => '/images/users/phone.png',
|
|
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreatePhoneSession',
|
|
'docs' => '',
|
|
'enabled' => false,
|
|
],
|
|
]; |