1.public virtual Task GetSecurityStampAsync(TUser user);
请问一下abp里面的这个是什么意思,获取什么时间戳?
https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.identity.identityuser-1.securitystamp
- Stamp是邮戳、印记,Timestamp才是时间戳
- 这和ABP关系不大,是Identity的功能,ABP只是继承和实现Identity
- 就是一个随机值,用来给凭据签名的,当修改密码的时候,修改这个随机值就可以使所有之前的凭据失效。
Task<List> GetListAsync(string sorting = null, int maxResultCount = 50, int skipCount = 0, DateTime? startTime = null, DateTime? endTime = null, string applicationName = null, string identity = null, string action = null, Guid? userId = null, string userName = null, string clientId = null, string correlationId = null, bool includeDetails = false, CancellationToken cancellationToken = default);
}
2.排序的内容 比如按照创建时间排序 creationtime desc