| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\OAuthIntegratorWebclient\Enums; |
| 9: | |
| 10: | |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | class ErrorCodes |
| 16: | { |
| 17: | public const ServiceNotAllowed = 1; |
| 18: | public const AccountNotAllowedToLogIn = 2; |
| 19: | public const AccountAlreadyConnected = 3; |
| 20: | public const NotConfigured = 4; |
| 21: | |
| 22: | |
| 23: | |
| 24: | |
| 25: | protected $aConsts = [ |
| 26: | 'ServiceNotAllowed' => self::ServiceNotAllowed, |
| 27: | 'AccountNotAllowedToLogIn' => self::AccountNotAllowedToLogIn, |
| 28: | 'AccountAlreadyConnected' => self::AccountAlreadyConnected, |
| 29: | 'NotConfigured' => self::NotConfigured, |
| 30: | ]; |
| 31: | } |
| 32: | |