5538: Merge FailHandler and FailThenSucceedHandler into one APIStub to facilitate...
[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 }