UNPKG

accounts

Version:

Tempo Accounts SDK

9 lines 399 B
import * as WebBrowser from 'expo-web-browser'; /** Opens mobile web auth requests with Expo WebBrowser. */ export const openAuthSession = async ({ authorizationUrl, callback, }) => { const result = await WebBrowser.openAuthSessionAsync(authorizationUrl, callback); if (result.type !== 'success') return undefined; return result.url; }; //# sourceMappingURL=expoWebBrowser.js.map