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

Function githubLinkedID

coderd/userauth.go:2162–2164  ·  view source on GitHub ↗

githubLinkedID returns the unique ID for a GitHub user.

(u *github.User)

Source from the content-addressed store, hash-verified

2160
2161// githubLinkedID returns the unique ID for a GitHub user.
2162func githubLinkedID(u *github.User) string {
2163 return strconv.FormatInt(u.GetID(), 10)
2164}
2165
2166// oidcLinkedID returns the uniqued ID for an OIDC user.
2167// See https://openid.net/specs/openid-connect-core-1_0.html#ClaimStability .

Callers 1

userOAuth2GithubMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected