From c236dfcfdd60ea700e5f50ed2568398cd161dd4c Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Mon, 27 Jan 2020 20:44:34 -0600 Subject: [feat] add sip authentication initial merge of the sip authentication mechanism --- pkg/vpn/bonafide/auth.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pkg/vpn/bonafide/auth.go (limited to 'pkg/vpn/bonafide/auth.go') diff --git a/pkg/vpn/bonafide/auth.go b/pkg/vpn/bonafide/auth.go new file mode 100644 index 0000000..b6b3eec --- /dev/null +++ b/pkg/vpn/bonafide/auth.go @@ -0,0 +1,21 @@ +// Copyright (C) 2018 LEAP +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +package bonafide + +type Credentials struct { + User string + Password string +} -- cgit v1.2.3