Home
last modified time | relevance | path

Searched refs:promptAsync (Results 1 – 25 of 31) sorted by relevance

12

/expo/packages/@expo/cli/src/api/user/__tests__/
H A Dactions-test.ts2 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 Dotp-test.ts5 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 DAuthSessionScreen.tsx143 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 DAuthResult.tsx29 promptAsync,
36 promptAsync: (
52 promptAsync({
/expo/packages/expo-auth-session/build/
H A DAuthRequestHooks.js66 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 DAuthRequestHooks.js.map1promptAsync = useCallback(\n async ({ windowFeatures = {}, ...options }: AuthRequestPromptOptio…
H A DAuthRequest.d.ts58promptAsync(discovery: AuthDiscoveryDocument, { url, ...options }?: AuthRequestPromptOptions): Pro…
H A DAuthRequest.js110 async promptAsync(discovery, { url, ...options } = {}) { method in AuthRequest
114 return this.promptAsync(discovery, {
/expo/packages/expo-auth-session/src/
H A DAuthRequestHooks.ts90 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 DAuthRequest.ts140 async promptAsync(
147 return this.promptAsync(discovery, {
/expo/packages/@expo/cli/src/start/platforms/android/
H A DpromptAndroidDevice.ts5 import { createSelectionFilter, promptAsync } from '../../../utils/prompts';
24 const { value } = await promptAsync({
/expo/packages/@expo/cli/src/start/platforms/ios/
H A DpromptAppleDevice.ts5 import { createSelectionFilter, promptAsync } from '../../../utils/prompts';
42 const { value } = await promptAsync({
/expo/packages/@expo/cli/src/api/user/
H A Dactions.ts10 import promptAsync, { Question } from '../../utils/prompts';
50 const resolved = await promptAsync(
H A Dotp.ts8 import { promptAsync, selectAsync } from '../../utils/prompts';
36 const { otp } = await promptAsync(
/expo/packages/expo-auth-session/build/providers/
H A DFacebook.js116 const [result, promptAsync] = useAuthRequestResult(request, discovery, {
119 return [request, result, promptAsync];
H A DGoogle.js173 const [result, promptAsync] = useAuthRequestResult(request, discovery, {
227 return [request, fullResult, promptAsync];
/expo/packages/expo-auth-session/src/providers/
H A DFacebook.ts178 const [result, promptAsync] = useAuthRequestResult(request, discovery, { constant
182 return [request, result, promptAsync];
H A DGoogle.ts272 const [result, promptAsync] = useAuthRequestResult(request, discovery, { constant
330 return [request, fullResult, promptAsync];
/expo/docs/pages/guides/
H A Dauthentication.mdx518 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 Dprompts.ts106 export const promptAsync = prompt; constant
/expo/docs/pages/versions/unversioned/sdk/
H A Dauth-session.mdx126 - **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 Dauth-session.mdx126 - **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 Dauth-session.mdx78 …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 Dauth-session.mdx80 …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 Dauth-session.mdx120 - **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…

12