implemented auth repository and service in dart (JWT)
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ type InMemoryAuthRepository struct {
|
||||
mu sync.RWMutex
|
||||
}
|
||||
|
||||
func NewInMemoryAuthRepository(secretKey string) repository.AuthRepository {
|
||||
func NewInMemoryAuthRepositoryImpl(secretKey string) repository.AuthRepository {
|
||||
return &InMemoryAuthRepository{
|
||||
secretKey: secretKey,
|
||||
sessionCache: make(map[string]string),
|
||||
Reference in New Issue
Block a user