MCPcopy Create free account
hub / github.com/dailydotdev/apps / oauthPublicClientQueryOptions

Function oauthPublicClientQueryOptions

packages/shared/src/lib/oauthApps.ts:136–139  ·  view source on GitHub ↗
(clientId: string)

Source from the content-addressed store, hash-verified

134});
135
136export const oauthPublicClientQueryOptions = (clientId: string) => ({
137 queryKey: generateQueryKey(RequestKey.OAuthPublicClient, undefined, clientId),
138 queryFn: () => getOAuthPublicClient(clientId),
139});
140
141export const oauthConsentsQueryOptions = () => ({
142 queryKey: generateQueryKey(RequestKey.OAuthConsents),

Callers 1

OAuthConsentPageFunction · 0.90

Calls 2

generateQueryKeyFunction · 0.90
getOAuthPublicClientFunction · 0.85

Tested by

no test coverage detected