Add init link.
This commit is contained in:
@@ -25,6 +25,16 @@ public interface IAuthService
|
||||
string rawRefreshToken,
|
||||
string? ipAddress = null);
|
||||
|
||||
/// <summary>
|
||||
/// Issues a fresh access token + refresh token for an already-verified user (no password
|
||||
/// check). Stores the refresh token and returns the raw value for the caller to put in the
|
||||
/// HttpOnly cookie. Used by passwordless flows such as accepting an invitation link.
|
||||
/// </summary>
|
||||
Task<(LoginResponse Response, string RawRefreshToken)> IssueSessionAsync(
|
||||
AppUser user,
|
||||
string? ipAddress = null,
|
||||
string? deviceInfo = null);
|
||||
|
||||
/// <summary>
|
||||
/// Revokes the refresh token identified by its raw value.
|
||||
/// Silently succeeds if the token is not found.
|
||||
|
||||
Reference in New Issue
Block a user