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

Function getAuthorizationKey

site/src/api/queries/authCheck.ts:11–12  ·  view source on GitHub ↗
(req: AuthorizationRequest)

Source from the content-addressed store, hash-verified

9const AUTHORIZATION_KEY = "authorization";
10
11export const getAuthorizationKey = (req: AuthorizationRequest) =>
12 [AUTHORIZATION_KEY, req] as const;
13
14export function checkAuthorization<TResponse extends AuthorizationResponse>(
15 req: AuthorizationRequest,

Callers 9

withAuthProviderFunction · 0.90
loginFunction · 0.90
checkAuthorizationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected