Table of Contents

Interface IJwtTokenGenerator

Namespace
KadicAuth.Application.Auth.Abstractions
Assembly
KadicAuth.Application.dll
public interface IJwtTokenGenerator

Methods

GenerateAccessToken(AuthDataDto, Guid, Guid)

(string Token, DateTime ExpiresAtUtc) GenerateAccessToken(AuthDataDto authData, Guid sessionId, Guid jwtId)

Parameters

authData AuthDataDto
sessionId Guid
jwtId Guid

Returns

(string Token, DateTime ExpiresAtUtc)

GenerateRefreshToken()

string GenerateRefreshToken()

Returns

string