summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn/bonafide/auth.go')
-rw-r--r--pkg/vpn/bonafide/auth.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/vpn/bonafide/auth.go b/pkg/vpn/bonafide/auth.go
index 62d3d8f..5a97b3f 100644
--- a/pkg/vpn/bonafide/auth.go
+++ b/pkg/vpn/bonafide/auth.go
@@ -25,6 +25,5 @@ type credentials struct {
type authentication interface {
needsCredentials() bool
- getToken(cred *credentials) ([]byte, error)
- getPemCertificate(cred *credentials) ([]byte, error)
+ getToken(user, password string) ([]byte, error)
}