dictyBase/modware-auth

View on GitHub
internal/repository/repository.go

Summary

Maintainability
A
0 mins
Test Coverage
package repository

import "time"

type AuthRepository interface {
    GetToken(string) (string, error)
    SetToken(string, string, time.Duration) error
    DeleteToken(string) error
    HasToken(string) (bool, error)
}