blob: e335eeda703fe853658f848cbb60a6a93462fd5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
namespace Matrix\Enums;
enum AuthenticationType: string implements \JsonSerializable
{
case DUMMY = "m.login.dummy";
case EMAIL_IDENTITY = "m.login.email.identity";
case MSISDN = "m.login.msisdn";
case PASSWORD = "m.login.password";
case RECAPTCHA = "m.login.recaptcha";
case REGISTRATION_TOKEN = "m.login.registration_token";
case SSO = "m.login.sso";
public function jsonSerialize(): string
{
return $this->value;
}
}
|