timoth-y/kicksware-api

View on GitHub
shared/core/authService.go

Summary

Maintainability
A
0 mins
Test Coverage
package core

import (
    "crypto/rsa"
)

type AuthService interface {
    PublicKey() *rsa.PublicKey
    Authenticate() (string, error)
    AccessKey() []byte
    VerifyAccessKey(hash []byte) bool
}