MCPcopy Index your code
hub / github.com/coder/coder / setScimAuth

Function setScimAuth

enterprise/coderd/scim_test.go:61–65  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

59}
60
61func setScimAuth(key []byte) func(*http.Request) {
62 return func(r *http.Request) {
63 r.Header.Set("Authorization", string(key))
64 }
65}
66
67func setScimAuthBearer(key []byte) func(*http.Request) {
68 return func(r *http.Request) {

Callers 1

TestScimFunction · 0.85

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected