last ...
This commit is contained in:
+11
-4
@@ -40,10 +40,17 @@ namespace xIdentityModels.Dtos
|
||||
!Device.IsNull() &&
|
||||
!Timestamp.IsNull() &&
|
||||
!Action.IsNullOrEmpty() &&
|
||||
(Action == XOpenActions.HandShake ||
|
||||
Action == XOpenActions.GetUserInfo ||
|
||||
Action == XOpenActions.GetUserInfos) &&
|
||||
!Int64.Parse(Timestamp).FromTimestamp().IsExPired();
|
||||
(
|
||||
//
|
||||
Action == XOpenActions.HandShake ||
|
||||
Action == XOpenActions.GetApiKey ||
|
||||
Action == XOpenActions.UseApiKey ||
|
||||
Action == XOpenActions.GetUserInfo ||
|
||||
Action == XOpenActions.GetUserInfos
|
||||
) &&
|
||||
!Int64.Parse(Timestamp)
|
||||
.FromTimestamp()
|
||||
.IsExPired();
|
||||
|
||||
//
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user