File tree Expand file tree Collapse file tree 4 files changed +28
-14
lines changed Expand file tree Collapse file tree 4 files changed +28
-14
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,17 @@ interface Authenticator
2222		Failure  = 3 ,
2323		NotApproved  = 4 ;
2424
25- 	/** Deprecated */ 
26- 	public  const 
27- 		IDENTITY_NOT_FOUND  = self ::IdentityNotFound,
28- 		INVALID_CREDENTIAL  = self ::InvalidCredential,
29- 		FAILURE  = self ::Failure,
30- 		NOT_APPROVED  = self ::NotApproved;
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;
3136
3237	/** 
3338	 * Performs an authentication. 
Original file line number Diff line number Diff line change @@ -25,9 +25,13 @@ interface Authorizator
2525	/** Permission type: deny */ 
2626	public  const  Deny  = false ;
2727
28- 	/** Deprecated  */ 
28+ 	/** @deprecated use Authorizator::All  */ 
2929	public  const  ALL  = self ::All;
30+ 
31+ 	/** @deprecated use Authorizator::Allow */ 
3032	public  const  ALLOW  = self ::Allow;
33+ 
34+ 	/** @deprecated use Authorizator::Deny */ 
3135	public  const  DENY  = self ::Deny;
3236
3337	/** 
Original file line number Diff line number Diff line change @@ -28,20 +28,23 @@ class User
2828{
2929	use  Nette \SmartObject;
3030
31- 	/** @deprecated */ 
32- 	public  const 
33- 		MANUAL  = UserStorage::LOGOUT_MANUAL ,
34- 		INACTIVITY  = UserStorage::LOGOUT_INACTIVITY ;
35- 
3631	/** Log-out reason */ 
3732	public  const 
3833		LogoutManual  = UserStorage::LogoutManual,
3934		LogoutInactivity  = UserStorage::LogoutInactivity;
4035
41- 	/** Deprecated  */ 
36+ 	/** @deprecated use User::LogoutManual  */ 
4237	public  const  LOGOUT_MANUAL  = self ::LogoutManual;
38+ 
39+ 	/** @deprecated use User::LogoutManual */ 
40+ 	public  const  MANUAL  = self ::LogoutManual;
41+ 
42+ 	/** @deprecated use User::LogoutInactivity */ 
4343	public  const  LOGOUT_INACTIVITY  = self ::LogoutInactivity;
4444
45+ 	/** @deprecated use User::LogoutInactivity */ 
46+ 	public  const  INACTIVITY  = self ::LogoutInactivity;
47+ 
4548	/** default role for unauthenticated user */ 
4649	public  string  $ guestRole  = 'guest ' ;
4750
Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ interface UserStorage
2020		LogoutManual  = 1 ,
2121		LogoutInactivity  = 2 ;
2222
23- 	/** Deprecated  */ 
23+ 	/** @deprecated use User::LogoutManual  */ 
2424	public  const  LOGOUT_MANUAL  = self ::LogoutManual;
25+ 
26+ 	/** @deprecated use User::LogoutInactivity */ 
2527	public  const  LOGOUT_INACTIVITY  = self ::LogoutInactivity;
2628
2729	/** 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments