Home
last modified time | relevance | path

Searched refs:setSessionAsync (Results 1 – 19 of 19) sorted by relevance

/expo/packages/expo-dev-launcher/bundle/functions/
H A DrestoreUserAsync.ts1 import { setSessionAsync } from '../apiClient';
10 await setSessionAsync(session);
/expo/packages/expo-dev-launcher/bundle/screens/__tests__/
H A DUserProfileScreen.test.tsx5 import { setSessionAsync } from '../../native-modules/DevLauncherAuth';
14 const mockSetSessionAsync = setSessionAsync as jest.Mock;
75 expect(setSessionAsync).toHaveBeenCalledTimes(0);
79 expect(setSessionAsync).toHaveBeenCalledTimes(1);
80 expect(setSessionAsync).toHaveBeenCalledWith(sessionSecret);
101 expect(setSessionAsync).toHaveBeenCalledTimes(0);
104 expect(setSessionAsync).toHaveBeenCalledTimes(1);
105 expect(setSessionAsync).toHaveBeenCalledWith(fakeSessionSecret);
173 expect(setSessionAsync).toHaveBeenCalledTimes(1);
174 expect(setSessionAsync).toHaveBeenLastCalledWith(null);
/expo/packages/@expo/cli/src/api/user/__tests__/
H A DUserSettings-test.ts59 describe(UserSettings.setSessionAsync, () => {
61 await UserSettings.setSessionAsync();
66 await UserSettings.setSessionAsync(authStub);
/expo/home/kernel/
H A DKernel.ts48 export async function setSessionAsync(session: KernelSession): Promise<void> { function
49 await NativeKernel.setSessionAsync(session);
H A DMockKernel.ts57 async setSessionAsync(session: object): Promise<void> {
/expo/packages/@expo/cli/src/api/user/
H A Duser.ts71 await UserSettings.setSessionAsync({
85 await UserSettings.setSessionAsync({
97 UserSettings.setSessionAsync(undefined),
H A DUserSettings.ts40 async function setSessionAsync(sessionData?: SessionData): Promise<void> { function
77 setSessionAsync,
/expo/packages/expo-dev-launcher/bundle/
H A DapiClient.ts65 export async function setSessionAsync(session: string | null) { function
66 await DevLauncherAuth.setSessionAsync(session);
/expo/packages/expo-dev-launcher/bundle/native-modules/__mocks__/
H A DDevLauncherAuth.ts2 export const setSessionAsync = jest.fn().mockResolvedValue(null); constant
/expo/packages/expo-dev-launcher/bundle/__mocks__/
H A DapiClient.ts10 export const setSessionAsync = jest.fn().mockResolvedValue(null); constant
/expo/packages/expo-dev-launcher/bundle/native-modules/
H A DDevLauncherAuth.ts116 export async function setSessionAsync(session: string): Promise<void> { function
117 return await DevLauncherAuth.setSessionAsync(session);
/expo/packages/expo-dev-launcher/bundle/providers/
H A DUserContextProvider.tsx3 import { setSessionAsync } from '../apiClient';
45 await setSessionAsync(sessionSecret);
82 return await setSessionAsync(null);
/expo/packages/jest-expo/src/preset/
H A DinternalExpoModules.js5 setSessionAsync: { type: 'function', functionType: 'async' }, property
/expo/packages/expo-dev-launcher/android/src/debug/java/expo/modules/devlauncher/modules/
H A DDevLauncherAuth.kt23 fun setSessionAsync(session: String?, promise: Promise) { in setSessionAsync() method
/expo/home/storage/
H A DLocalStorage.ts66 await Kernel.setSessionAsync(session as any);
/expo/android/expoview/src/main/java/host/exp/exponent/modules/
H A DExponentKernelModule.kt87 fun setSessionAsync(session: ReadableMap, promise: Promise) { in setSessionAsync() method
/expo/ios/Exponent/Kernel/DevSupport/
H A DEXHomeModule.m254 RCT_REMAP_METHOD(setSessionAsync, category
255 setSessionAsync:(NSDictionary *)session
/expo/packages/expo-dev-launcher/ios/
H A Dmain.jsbundle1188setSessionAsync=function(t){return j.apply(this,arguments)},e.websiteOrigin=void 0;var n=t(r(d[1])…
1189setSessionAsync=function(n){return L.apply(this,arguments)};var t=n(r(d[1])),u=r(d[2]),s=r(d[3]),o…
1218 …tion*(){var n=yield(0,o.restoreSessionAsync)();if(n)return yield(0,t.setSessionAsync)(n),yield(0,u…
1248setSessionAsync)(n);var u=yield(0,c.getUserProfileAsync)();k()&&(S(u),D(u.accounts[0].id))}else yi…
/expo/packages/expo-dev-launcher/android/src/debug/assets/
H A Dexpo_dev_launcher_android.bundle1189setSessionAsync=function(t){return j.apply(this,arguments)},e.websiteOrigin=void 0;var n=t(r(d[1])…
1190setSessionAsync=function(n){return L.apply(this,arguments)};var t=n(r(d[1])),u=r(d[2]),s=r(d[3]),o…
1219 …tion*(){var n=yield(0,o.restoreSessionAsync)();if(n)return yield(0,t.setSessionAsync)(n),yield(0,u…
1249setSessionAsync)(n);var u=yield(0,c.getUserProfileAsync)();k()&&(S(u),D(u.accounts[0].id))}else yi…