16 lines
411 B
C#
16 lines
411 B
C#
|
using Galaeth.Core.Entities;
|
||
|
|
||
|
namespace Galaeth.Core.RepositoryInterfaces;
|
||
|
|
||
|
/// <summary>
|
||
|
/// <see cref="RefreshToken"/> Repository.
|
||
|
/// </summary>
|
||
|
public interface IRefreshTokenRepository : IGenericRepository<RefreshToken, string>
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Revoke all tokens for the provided user id.
|
||
|
/// </summary>
|
||
|
/// <param name="userId">User id.</param>
|
||
|
Task RevokeAllForUser(Guid userId);
|
||
|
}
|