MCPcopy Create free account

hub / github.com/betomoedano/expo-oauth-example / functions

Functions46 in github.com/betomoedano/expo-oauth-example

↓ 6 callersFunctionrefreshAccessToken
(tokenToUse?: string)
context/auth.tsx:170
↓ 6 callersFunctionuseAuth
()
context/auth.tsx:650
↓ 5 callersFunctionformatExpirationTime
(timestamp: number)
components/ProfileCard.tsx:21
↓ 4 callersFunctionsignOut
()
context/auth.tsx:609
↓ 4 callersFunctionuseColorScheme
()
hooks/useColorScheme.web.ts:7
↓ 3 callersFunctionhandleNativeTokens
(tokens: { accessToken: string; refreshToken: string; })
context/auth.tsx:311
↓ 2 callersFunctionuseThemeColor
( props: { light?: string; dark?: string }, colorName: keyof typeof Colors.light & keyof typeof Colors.dar
hooks/useThemeColor.ts:9
↓ 1 callersFunctioncreateTokenCache
()
utils/cache.ts:8
↓ 1 callersFunctionfetchTokenExpirations
()
components/ProfileCard.tsx:70
↓ 1 callersFunctionfetchWithAuth
(url: string, options: RequestInit)
context/auth.tsx:469
↓ 1 callersFunctionhandleAppleAuthError
(error: unknown)
utils/handleAppleError.ts:6
↓ 1 callersFunctionhandleAppleResponse
()
context/auth.tsx:344
↓ 1 callersFunctionhandleResponse
()
context/auth.tsx:390
↓ 1 callersFunctionmoveDirectories
(userInput)
scripts/reset-project.js:48
↓ 1 callersFunctionrestoreSession
()
context/auth.tsx:80
↓ 1 callersFunctionverifyAndCreateTokens
({ identityToken, rawNonce, givenName, familyName, email, }: AppleUserInfo)
utils/apple-auth.ts:22
↓ 1 callersFunctionwithAuth
( handler: (req: Request, user: AuthUser) => Promise<T> )
utils/middleware.ts:23
FunctionAuthProvider
({ children }: { children: React.ReactNode })
context/auth.tsx:56
FunctionGET
(req: Request)
app/api/public/data+api.ts:1
FunctionGET
(request: Request)
app/api/auth/callback+api.ts:3
FunctionGET
(request: Request)
app/api/auth/authorize+api.ts:8
FunctionGET
(request: Request)
app/api/auth/session+api.ts:4
FunctionGET
(request: Request)
app/api/auth/apple/authorize+api.ts:9
FunctionHomeScreen
()
app/index.tsx:7
FunctionLoginForm
()
components/LoginForm.tsx:8
FunctionNotFoundScreen
()
app/+not-found.tsx:8
FunctionPOST
(request: Request)
app/api/auth/logout+api.ts:8
FunctionPOST
(request: Request)
app/api/auth/token+api.ts:16
FunctionPOST
(request: Request)
app/api/auth/refresh+api.ts:21
FunctionPOST
(req: Request)
app/api/auth/apple/apple-native+api.ts:11
FunctionPOST
(request: Request)
app/api/auth/apple/callback+api.ts:3
FunctionPOST
(request: Request)
app/api/auth/apple/token+api.ts:16
FunctionProfileCard
()
components/ProfileCard.tsx:8
FunctionProtectedRequestCard
()
components/ProtectedRequestCard.tsx:6
FunctionRoot
({ children }: PropsWithChildren)
app/+html.tsx:8
FunctionRootLayout
()
app/_layout.tsx:18
FunctionSignInWithAppleButton
()
components/SignInWithAppleButton.ios.tsx:5
FunctionSignInWithAppleButton
()
components/SignInWithAppleButton.tsx:6
FunctionSignInWithGoogleButton
({ onPress, disabled, }: { onPress: () => void; disabled?: boolean; })
components/SignInWithGoogleButton.tsx:4
FunctionThemedText
({ style, lightColor, darkColor, type = 'default', ...rest }: ThemedTextProps)
components/ThemedText.tsx:11
FunctionThemedView
({ style, lightColor, darkColor, ...otherProps }: ThemedViewProps)
components/ThemedView.tsx:10
FunctionfetchProtectedData
()
components/ProtectedRequestCard.tsx:10
FunctionsignIn
()
context/auth.tsx:527
FunctionsignInWithApple
()
context/auth.tsx:554
FunctionsignInWithAppleWebBrowser
()
context/auth.tsx:541
FunctionupdateExpirationDisplay
()
components/ProfileCard.tsx:48