)]}'
{"registry-token-server/src/keystone/access.go":[{"author":{"_account_id":14174,"name":"Bart Wensley","email":"bartwensley@hotmail.com","username":"bartwensley"},"change_message_id":"49ca8fd648ca32696705c83637d54a8d3e6961f5","unresolved":false,"context_lines":[{"line_number":73,"context_line":"\treturn auth.WithUser(ctx, auth.UserInfo{Name: username}), nil"},{"line_number":74,"context_line":"}"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"// AuthenticateUser checks a given user:password credential by keystone."},{"line_number":77,"context_line":"// If the check passes, nil is returned."},{"line_number":78,"context_line":"func (ac *accessController) AuthenticateUser(username string, password string) error {"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    opts :\u003d gophercloud.AuthOptions{"},{"line_number":81,"context_line":"        IdentityEndpoint: ac.endpoint,"},{"line_number":82,"context_line":"        Username: username,"},{"line_number":83,"context_line":"        Password: password,"},{"line_number":84,"context_line":"        DomainID: \"default\","},{"line_number":85,"context_line":"    }"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    if _, err :\u003d openstack.AuthenticatedClient(opts); err !\u003d nil {"},{"line_number":88,"context_line":"        context.GetLogger(context.Background()).Errorf(\"error authenticating user %q: %v\", username, err)"},{"line_number":89,"context_line":"        return auth.ErrAuthenticationFailure"},{"line_number":90,"context_line":"    }"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    return nil"},{"line_number":93,"context_line":"}"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"// challenge implements the auth.Challenge interface."},{"line_number":96,"context_line":"type challenge struct {"}],"source_content_type":"text/x-go","patch_set":2,"id":"3fa7e38b_673b659a","line":93,"range":{"start_line":76,"start_character":0,"end_line":93,"end_character":1},"updated":"2019-12-12 15:24:10.000000000","message":"Go code is supposed to be indented with tabs (as is the rest of this file). Please run \"go fmt\" on the file to fix the formatting.","commit_id":"0d0bedbc59c4aa359b5409a212f1334292dd266d"},{"author":{"_account_id":28415,"name":"Lin Shuicheng","email":"shuicheng.lin@intel.com","username":"slin14"},"change_message_id":"78c1a28a26d4abe76721427b92bd52a4be85da64","unresolved":false,"context_lines":[{"line_number":73,"context_line":"\treturn auth.WithUser(ctx, auth.UserInfo{Name: username}), nil"},{"line_number":74,"context_line":"}"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"// AuthenticateUser checks a given user:password credential by keystone."},{"line_number":77,"context_line":"// If the check passes, nil is returned."},{"line_number":78,"context_line":"func (ac *accessController) AuthenticateUser(username string, password string) error {"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    opts :\u003d gophercloud.AuthOptions{"},{"line_number":81,"context_line":"        IdentityEndpoint: ac.endpoint,"},{"line_number":82,"context_line":"        Username: username,"},{"line_number":83,"context_line":"        Password: password,"},{"line_number":84,"context_line":"        DomainID: \"default\","},{"line_number":85,"context_line":"    }"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    if _, err :\u003d openstack.AuthenticatedClient(opts); err !\u003d nil {"},{"line_number":88,"context_line":"        context.GetLogger(context.Background()).Errorf(\"error authenticating user %q: %v\", username, err)"},{"line_number":89,"context_line":"        return auth.ErrAuthenticationFailure"},{"line_number":90,"context_line":"    }"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    return nil"},{"line_number":93,"context_line":"}"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"// challenge implements the auth.Challenge interface."},{"line_number":96,"context_line":"type challenge struct {"}],"source_content_type":"text/x-go","patch_set":2,"id":"3fa7e38b_153ad0cb","line":93,"range":{"start_line":76,"start_character":0,"end_line":93,"end_character":1},"in_reply_to":"3fa7e38b_673b659a","updated":"2019-12-13 00:42:36.000000000","message":"Done. Thanks for the check.","commit_id":"0d0bedbc59c4aa359b5409a212f1334292dd266d"}]}
