File tree Expand file tree Collapse file tree 3 files changed +26
-5
lines changed Expand file tree Collapse file tree 3 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,18 @@ interface Authenticator extends IAuthenticator
2222 Failure = 3 ,
2323 NotApproved = 4 ;
2424
25+ /** @deprecated use Authenticator::IdentityNotFound */
26+ public const IDENTITY_NOT_FOUND = self ::IdentityNotFound;
27+
28+ /** @deprecated use Authenticator::InvalidCredential */
29+ public const INVALID_CREDENTIAL = self ::InvalidCredential;
30+
31+ /** @deprecated use Authenticator::Failure */
32+ public const FAILURE = self ::Failure;
33+
34+ /** @deprecated use Authenticator::NotApproved */
35+ public const NOT_APPROVED = self ::NotApproved;
36+
2537 /**
2638 * Performs an authentication.
2739 * @throws AuthenticationException
Original file line number Diff line number Diff line change @@ -25,8 +25,13 @@ interface Authorizator
2525 /** Permission type: deny */
2626 public const Deny = false ;
2727
28+ /** @deprecated use Authorizator::All */
2829 public const ALL = self ::All;
30+
31+ /** @deprecated use Authorizator::Allow */
2932 public const ALLOW = self ::Allow;
33+
34+ /** @deprecated use Authorizator::Deny */
3035 public const DENY = self ::Deny;
3136
3237 /**
Original file line number Diff line number Diff line change @@ -33,14 +33,18 @@ class User
3333 LogoutManual = 1 ,
3434 LogoutInactivity = 2 ;
3535
36- /** @deprecated */
37- public const
38- MANUAL = self ::LogoutManual,
39- INACTIVITY = self ::LogoutInactivity;
40-
36+ /** @deprecated use User::LogoutManual */
4137 public const LOGOUT_MANUAL = self ::LogoutManual;
38+
39+ /** @deprecated use User::LogoutManual */
40+ public const MANUAL = self ::LogoutManual;
41+
42+ /** @deprecated use User::LogoutInactivity */
4243 public const LOGOUT_INACTIVITY = self ::LogoutInactivity;
4344
45+ /** @deprecated use User::LogoutInactivity */
46+ public const INACTIVITY = self ::LogoutInactivity;
47+
4448 /** default role for unauthenticated user */
4549 public string $ guestRole = 'guest ' ;
4650
You can’t perform that action at this time.
0 commit comments