Home
last modified time | relevance | path

Searched refs:openAuthSessionAsync (Results 1 – 25 of 28) sorted by relevance

12

/expo/packages/expo-dev-launcher/bundle/functions/__tests__/
H A DstartAuthSessionAsync.test.ts2 import { openAuthSessionAsync, getAuthSchemeAsync } from '../../native-modules/DevLauncherAuth';
5 const mockOpenAuthSessionAsync = openAuthSessionAsync as jest.Mock;
25 expect(openAuthSessionAsync).not.toHaveBeenCalled();
29 expect(openAuthSessionAsync).toHaveBeenCalled();
30 expect(openAuthSessionAsync).toHaveBeenCalledWith(
34 expect(openAuthSessionAsync).toHaveBeenCalledWith(
44 expect(openAuthSessionAsync).not.toHaveBeenCalled();
49 expect(openAuthSessionAsync).toHaveBeenCalled();
51 expect(openAuthSessionAsync).toHaveBeenCalledWith(
55 expect(openAuthSessionAsync).toHaveBeenCalledWith(
/expo/packages/expo-web-browser/src/__tests__/
H A DWebBrowser-test.native.ts42 await expect(WebBrowser.openAuthSessionAsync(pageUrl, redirectUrl)).rejects.toThrowError(
45 await expect(WebBrowser.openAuthSessionAsync(pageUrl, redirectUrl)).rejects.toThrowError(
48 await expect(WebBrowser.openAuthSessionAsync(pageUrl, redirectUrl)).rejects.toThrowError(
/expo/packages/expo-dev-launcher/bundle/functions/
H A DstartAuthSessionAsync.ts4 import { openAuthSessionAsync, getAuthSchemeAsync } from '../native-modules/DevLauncherAuth';
14 const result = await openAuthSessionAsync(authSessionURL, redirectBase);
/expo/packages/expo-dev-launcher/bundle/native-modules/
H A DDevLauncherAuth.ts99 export async function openAuthSessionAsync(url: string, returnUrl: string): Promise<any> { function
100 if (DevLauncherAuth.openAuthSessionAsync) {
102 return await DevLauncherAuth.openAuthSessionAsync(url, returnUrl);
/expo/packages/expo-web-browser/build/
H A DWebBrowser.js204 export async function openAuthSessionAsync(url, redirectUrl, options = {}) { function
206 if (!ExponentWebBrowser.openAuthSessionAsync) {
210 … return ExponentWebBrowser.openAuthSessionAsync(url, redirectUrl, _processOptions(options));
212 return ExponentWebBrowser.openAuthSessionAsync(url, redirectUrl);
H A DExpoWebBrowser.web.d.ts12openAuthSessionAsync(url: string, redirectUrl?: string, openOptions?: WebBrowserOpenOptions): Prom… constant
H A DWebBrowser.d.ts120 export declare function openAuthSessionAsync(url: string, redirectUrl?: string | null, options?: Au…
H A DWebBrowser.js.map1openAuthSessionAsync`](#webbrowseropenauthsessionasyncurl-redirecturl-browserparams).\n *\n * @par…
H A DExpoWebBrowser.web.js85 async openAuthSessionAsync(url, redirectUrl, openOptions) {
/expo/packages/expo-dev-launcher/bundle/functions/__mocks__/
H A DopenAuthSessionAsync.ts1 export const openAuthSessionAsync = jest.fn().mockResolvedValue('123'); constant
/expo/packages/expo-web-browser/src/
H A DWebBrowser.ts260 export async function openAuthSessionAsync( function
266 if (!ExponentWebBrowser.openAuthSessionAsync) {
270 return ExponentWebBrowser.openAuthSessionAsync(url, redirectUrl, _processOptions(options));
272 return ExponentWebBrowser.openAuthSessionAsync(url, redirectUrl);
H A DExpoWebBrowser.web.ts113 async openAuthSessionAsync(
/expo/apps/native-component-list/src/screens/WebBrowser/
H A DOpenAuthSessionAsyncDemo.tsx8 name: 'openAuthSessionAsync',
35 return WebBrowser.openAuthSessionAsync(url, redirectUrl, options);
/expo/packages/expo-dev-launcher/bundle/native-modules/__mocks__/
H A DDevLauncherAuth.ts1 export const openAuthSessionAsync = jest.fn().mockResolvedValue('123'); constant
/expo/packages/expo-web-browser/
H A DREADME.md10 …ing WebBrowser for authentication you will want to use WebBrowser.openAuthSessionAsync, and if you…
H A DCHANGELOG.md116 - Add `preferEphemeralSession` option to `openAuthSessionAsync` to ask for a private auth session o…
150 - Fixed `openAuthSessionAsync` erroneously stating a browser was open when it had failed to open. (…
196 - Fixed `openAuthSessionAsync` crashing when cancelled on iOS. ([#9722](https://github.com/expo/exp…
/expo/packages/expo-auth-session/build/
H A DAuthRequest.js138 result = await WebBrowser.openAuthSessionAsync(startUrl, returnUrl, options);
H A DAuthRequest.js.map1 …serAuthSessionResult;\n try {\n result = await WebBrowser.openAuthSessionAsync(startUrl, r…
/expo/packages/expo-auth-session/src/
H A DAuthRequest.ts182 result = await WebBrowser.openAuthSessionAsync(startUrl, returnUrl, options);
/expo/docs/pages/versions/unversioned/sdk/
H A Dwebbrowser.mdx14 … `WebBrowser` for authentication you will want to use `WebBrowser.openAuthSessionAsync`, and if yo…
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dwebbrowser.mdx14 … `WebBrowser` for authentication you will want to use `WebBrowser.openAuthSessionAsync`, and if yo…
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dwebbrowser.mdx14 … `WebBrowser` for authentication you will want to use `WebBrowser.openAuthSessionAsync`, and if yo…
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dwebbrowser.mdx14 … `WebBrowser` for authentication you will want to use `WebBrowser.openAuthSessionAsync`, and if yo…
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dwebbrowser.mdx14 … `WebBrowser` for authentication you will want to use `WebBrowser.openAuthSessionAsync`, and if yo…
/expo/home/screens/AccountModal/
H A DLoggedOutAccountView.tsx91 const result = await WebBrowser.openAuthSessionAsync(authSessionURL, redirectBase, {

12