7167: move perms code from keepstore into keepclient go SDK.
[arvados.git] / sdk / go / auth / basic_auth_go14.go
1 // +build go1.4
2
3 package auth
4
5 import (
6         "net/http"
7 )
8
9 func BasicAuth(r *http.Request) (username, password string, ok bool) {
10         return r.BasicAuth()
11 }