projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2411: Add copyright notices to everything.
[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
}