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

Method MismatchedTotal

coderd/authlink/authlink.go:27–33  ·  view source on GitHub ↗

MismatchedTotal returns the total number of links with a non-matching issuer.

()

Source from the content-addressed store, hash-verified

25
26// MismatchedTotal returns the total number of links with a non-matching issuer.
27func (a OIDCLinkAnalysis) MismatchedTotal() int {
28 total := 0
29 for _, count := range a.MismatchedCounts {
30 total += count
31 }
32 return total
33}
34
35// AnalyzeOIDCLinks queries OIDC user links grouped by issuer prefix and
36// categorizes them relative to expectedIssuer.

Callers 4

PrintAnalysisFunction · 0.80
TestAnalyzeOIDCLinksFunction · 0.80
oidcAuthLinksFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestAnalyzeOIDCLinksFunction · 0.64