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

Function must

coderd/oauth2_test.go:925–930  ·  view source on GitHub ↗
(value T, err error)

Source from the content-addressed store, hash-verified

923}
924
925func must[T any](value T, err error) T {
926 if err != nil {
927 panic(err)
928 }
929 return value
930}
931
932// TestOAuth2ProviderResourceIndicators tests RFC 8707 Resource Indicators support
933// including resource parameter validation in authorization and token exchange flows.

Callers 2

TestOIDCSkipIssuerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected