MCPcopy
hub / github.com/grpc/grpc-go / testAuthInfo

Struct testAuthInfo

internal/xds/bootstrap/jwtcreds/call_creds_test.go:135–137  ·  view source on GitHub ↗

testAuthInfo implements credentials.AuthInfo for testing.

Source from the content-addressed store, hash-verified

133
134// testAuthInfo implements credentials.AuthInfo for testing.
135type testAuthInfo struct {
136 secLevel credentials.SecurityLevel
137}
138
139func (t *testAuthInfo) AuthType() string {
140 return "test"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected