| /expo/packages/@expo/cli/src/api/user/__tests__/ |
| H A D | actions-test.ts | 2 import { promptAsync } from '../../../utils/prompts'; 20 asMock(promptAsync).mockClear(); 21 asMock(promptAsync).mockImplementation(() => { 31 asMock(promptAsync) 73 asMock(promptAsync).mockImplementation(() => { 82 asMock(promptAsync).mockImplementationOnce(async () => ({ 93 asMock(promptAsync) 105 asMock(promptAsync);
|
| H A D | otp-test.ts | 5 import { promptAsync, selectAsync } from '../../../utils/prompts'; 15 asMock(promptAsync).mockImplementation(() => { 27 asMock(promptAsync) 53 asMock(promptAsync) 76 asMock(promptAsync) 112 asMock(promptAsync) 136 asMock(promptAsync) 167 expect(promptAsync).toHaveBeenCalledTimes(2); // first OTP, second OTP 171 asMock(promptAsync) 210 expect(promptAsync).toHaveBeenCalledTimes(2); // first OTP, second OTP [all …]
|
| /expo/apps/native-component-list/src/screens/AuthSession/ |
| H A D | AuthSessionScreen.tsx | 143 return <AuthSection request={request} title="google" result={result} promptAsync={promptAsync} />; 172 promptAsync={promptAsync} 216 // promptAsync={promptAsync} 234 return <AuthSection title="okta" request={request} result={result} promptAsync={promptAsync} />; 314 promptAsync={() => 315 promptAsync({ 362 promptAsync={() => 363 promptAsync({ 451 <AuthSection title="facebook" request={request} result={result} promptAsync={promptAsync} /> 502 <AuthSection title="spotify" request={request} result={result} promptAsync={promptAsync} /> [all …]
|
| H A D | AuthResult.tsx | 29 promptAsync, 36 promptAsync: ( 52 promptAsync({
|
| /expo/packages/expo-auth-session/build/ |
| H A D | AuthRequestHooks.js | 66 const promptAsync = useCallback(async ({ windowFeatures = {}, ...options } = {}) => { 78 const result = await request?.promptAsync(discovery, inputOptions); 82 return [result, promptAsync]; 112 const [result, promptAsync] = useAuthRequestResult(request, discovery); 113 return [request, result, promptAsync];
|
| H A D | AuthRequestHooks.js.map | 1 …promptAsync = useCallback(\n async ({ windowFeatures = {}, ...options }: AuthRequestPromptOptio…
|
| H A D | AuthRequest.d.ts | 58 …promptAsync(discovery: AuthDiscoveryDocument, { url, ...options }?: AuthRequestPromptOptions): Pro…
|
| H A D | AuthRequest.js | 110 async promptAsync(discovery, { url, ...options } = {}) { method in AuthRequest 114 return this.promptAsync(discovery, {
|
| /expo/packages/expo-auth-session/src/ |
| H A D | AuthRequestHooks.ts | 90 const promptAsync = useCallback( constant 103 const result = await request?.promptAsync(discovery, inputOptions); 110 return [result, promptAsync]; 148 const [result, promptAsync] = useAuthRequestResult(request, discovery); constant 149 return [request, result, promptAsync];
|
| H A D | AuthRequest.ts | 140 async promptAsync( 147 return this.promptAsync(discovery, {
|
| /expo/packages/@expo/cli/src/start/platforms/android/ |
| H A D | promptAndroidDevice.ts | 5 import { createSelectionFilter, promptAsync } from '../../../utils/prompts'; 24 const { value } = await promptAsync({
|
| /expo/packages/@expo/cli/src/start/platforms/ios/ |
| H A D | promptAppleDevice.ts | 5 import { createSelectionFilter, promptAsync } from '../../../utils/prompts'; 42 const { value } = await promptAsync({
|
| /expo/packages/@expo/cli/src/api/user/ |
| H A D | actions.ts | 10 import promptAsync, { Question } from '../../utils/prompts'; 50 const resolved = await promptAsync(
|
| H A D | otp.ts | 8 import { promptAsync, selectAsync } from '../../utils/prompts'; 36 const { otp } = await promptAsync(
|
| /expo/packages/expo-auth-session/build/providers/ |
| H A D | Facebook.js | 116 const [result, promptAsync] = useAuthRequestResult(request, discovery, { 119 return [request, result, promptAsync];
|
| H A D | Google.js | 173 const [result, promptAsync] = useAuthRequestResult(request, discovery, { 227 return [request, fullResult, promptAsync];
|
| /expo/packages/expo-auth-session/src/providers/ |
| H A D | Facebook.ts | 178 const [result, promptAsync] = useAuthRequestResult(request, discovery, { constant 182 return [request, result, promptAsync];
|
| H A D | Google.ts | 272 const [result, promptAsync] = useAuthRequestResult(request, discovery, { constant 330 return [request, fullResult, promptAsync];
|
| /expo/docs/pages/guides/ |
| H A D | authentication.mdx | 518 promptAsync(); 792 promptAsync(); 1014 promptAsync(); 1097 promptAsync(); 1248 promptAsync(); 1332 promptAsync(); 1393 promptAsync(); 1608 promptAsync(); 1672 promptAsync(); 1755 promptAsync(); [all …]
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | prompts.ts | 106 export const promptAsync = prompt; constant
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | auth-session.mdx | 126 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 127 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a… 161 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 162 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a…
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | auth-session.mdx | 126 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 127 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a… 161 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 162 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a…
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | auth-session.mdx | 78 …hen `startAsync` is called, or when `useProxy: true` is passed to the `promptAsync()` method of an… 125 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 126 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a… 159 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 160 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a…
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | auth-session.mdx | 80 …hen `startAsync` is called, or when `useProxy: true` is passed to the `promptAsync()` method of an… 127 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 128 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a… 161 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 162 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a…
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | auth-session.mdx | 120 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 121 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a… 154 - **response (`AuthSessionResult | null`)** - This is `null` until `promptAsync` has been invoked. … 155 - **promptAsync (`function`)** - When invoked, a web browser will open up and prompt the user for a…
|