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

Method Error

coderd/externalauth/externalauth.go:181–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179type InvalidTokenError string
180
181func (e InvalidTokenError) Error() string {
182 return string(e)
183}
184
185func IsInvalidTokenError(err error) bool {
186 var invalidTokenError InvalidTokenError

Callers 7

UpdateMethod · 0.45
TestUpdateFunction · 0.45
TestRefreshTokenFunction · 0.45
TestRevokeTokenFunction · 0.45
TestConvertYAMLFunction · 0.45
RefreshTokenMethod · 0.45

Calls

no outgoing calls

Tested by 5

TestUpdateFunction · 0.36
TestRefreshTokenFunction · 0.36
TestRevokeTokenFunction · 0.36
TestConvertYAMLFunction · 0.36