projects
/
arvados.git
/ blob
bfb430b66b98c20500147498af1e5ee6a842a2e0
[arvados.git]
/
sdk
/
go
/
auth
/
basic_auth_go14.go
1
// Copyright (C) The Arvados Authors. All rights reserved.
2
//
3
// SPDX-License-Identifier: Apache-2.0
4
5
// +build go1.4
6
7
package auth
8
9
import (
10
"net/http"
11
)
12
13
func BasicAuth(r *http.Request) (username, password string, ok bool) {
14
return r.BasicAuth()
15
}