expo-auth-session
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -8,4 +8,3 @@ import * as Linking from 'expo-linking'; | ||
/** | ||
* Cancels an active `AuthSession` if there is one. No return value, but if there is an active `AuthSession` | ||
* then the Promise returned by the `AuthSession.startAsync()` that initiated it resolves to `{ type: 'dismiss' }`. | ||
* Cancels an active `AuthSession` if there is one. | ||
*/ | ||
@@ -36,4 +35,3 @@ export declare function dismiss(): void; | ||
* - **Web:** Generates a path based on the current `window.location`. For production web apps, you should hard code the URL as well. | ||
* - **Managed workflow:** Uses the `scheme` property of your `app.config.js` or `app.json`. | ||
* - **Proxy:** Uses `auth.expo.io` as the base URL for the path. This only works in Expo Go and standalone environments. | ||
* - **Managed workflow:** Uses the `scheme` property of your app config. | ||
* - **Bare workflow:** Will fallback to using the `native` option for bare workflow React Native apps. | ||
@@ -40,0 +38,0 @@ * |
@@ -12,4 +12,3 @@ import Constants, { ExecutionEnvironment } from 'expo-constants'; | ||
/** | ||
* Cancels an active `AuthSession` if there is one. No return value, but if there is an active `AuthSession` | ||
* then the Promise returned by the `AuthSession.startAsync()` that initiated it resolves to `{ type: 'dismiss' }`. | ||
* Cancels an active `AuthSession` if there is one. | ||
*/ | ||
@@ -46,4 +45,3 @@ export function dismiss() { | ||
* - **Web:** Generates a path based on the current `window.location`. For production web apps, you should hard code the URL as well. | ||
* - **Managed workflow:** Uses the `scheme` property of your `app.config.js` or `app.json`. | ||
* - **Proxy:** Uses `auth.expo.io` as the base URL for the path. This only works in Expo Go and standalone environments. | ||
* - **Managed workflow:** Uses the `scheme` property of your app config. | ||
* - **Bare workflow:** Will fallback to using the `native` option for bare workflow React Native apps. | ||
@@ -50,0 +48,0 @@ * |
@@ -31,4 +31,2 @@ import { AuthError } from './Errors'; | ||
* - If the authentication flow is returns an error, the result is `{ type: 'error', params: Object, error: string, event: Object }`. | ||
* - If you call `AuthSession.startAsync()` more than once before the first call has returned, the result is `{ type: 'locked' }`, | ||
* because only one `AuthSession` can be in progress at any time. | ||
*/ | ||
@@ -35,0 +33,0 @@ export type AuthSessionResult = { |
@@ -5,2 +5,5 @@ import { AuthRequestConfig } from '../AuthRequest.types'; | ||
export declare const discovery: DiscoveryDocument; | ||
/** | ||
* @deprecated See [Facebook authentication](/guides/facebook-authentication/). | ||
*/ | ||
export interface FacebookAuthRequestConfig extends ProviderAuthRequestConfig { | ||
@@ -7,0 +10,0 @@ /** |
import { AuthRequest, AuthRequestConfig, AuthRequestPromptOptions, AuthSessionRedirectUriOptions, AuthSessionResult, DiscoveryDocument } from '../AuthSession'; | ||
import { ProviderAuthRequestConfig } from './Provider.types'; | ||
export declare const discovery: DiscoveryDocument; | ||
/** | ||
* @deprecated See [Google authentication](/guides/google-authentication/). | ||
*/ | ||
export interface GoogleAuthRequestConfig extends ProviderAuthRequestConfig { | ||
@@ -5,0 +8,0 @@ /** |
@@ -13,2 +13,9 @@ # Changelog | ||
## 5.0.2 — 2023-06-28 | ||
### 💡 Others | ||
- Remove references to `startAsync` from js doc. ([#23150](https://github.com/expo/expo/pull/23150) by [@alanhughes](https://github.com/alanjhughes)) | ||
- Remove unnecessary test. ([#23154](https://github.com/expo/expo/pull/23154) by [@alanhughes](https://github.com/alanjhughes)) | ||
## 5.0.1 — 2023-06-24 | ||
@@ -15,0 +22,0 @@ |
{ | ||
"name": "expo-auth-session", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Expo module for browser-based authentication", | ||
@@ -51,3 +51,3 @@ "main": "build/AuthSession.js", | ||
}, | ||
"gitHead": "a4537e193188bdea5e6499cf1d799b44408ec255" | ||
"gitHead": "4a38f32842594bb0ef39228dacde53042f12a47b" | ||
} |
@@ -32,4 +32,3 @@ import Constants, { ExecutionEnvironment } from 'expo-constants'; | ||
/** | ||
* Cancels an active `AuthSession` if there is one. No return value, but if there is an active `AuthSession` | ||
* then the Promise returned by the `AuthSession.startAsync()` that initiated it resolves to `{ type: 'dismiss' }`. | ||
* Cancels an active `AuthSession` if there is one. | ||
*/ | ||
@@ -69,4 +68,3 @@ export function dismiss() { | ||
* - **Web:** Generates a path based on the current `window.location`. For production web apps, you should hard code the URL as well. | ||
* - **Managed workflow:** Uses the `scheme` property of your `app.config.js` or `app.json`. | ||
* - **Proxy:** Uses `auth.expo.io` as the base URL for the path. This only works in Expo Go and standalone environments. | ||
* - **Managed workflow:** Uses the `scheme` property of your app config. | ||
* - **Bare workflow:** Will fallback to using the `native` option for bare workflow React Native apps. | ||
@@ -73,0 +71,0 @@ * |
@@ -35,4 +35,2 @@ import { AuthError } from './Errors'; | ||
* - If the authentication flow is returns an error, the result is `{ type: 'error', params: Object, error: string, event: Object }`. | ||
* - If you call `AuthSession.startAsync()` more than once before the first call has returned, the result is `{ type: 'locked' }`, | ||
* because only one `AuthSession` can be in progress at any time. | ||
*/ | ||
@@ -39,0 +37,0 @@ export type AuthSessionResult = |
@@ -31,2 +31,5 @@ import { useMemo } from 'react'; | ||
// @needsAudit @docsMissing | ||
/** | ||
* @deprecated See [Facebook authentication](/guides/facebook-authentication/). | ||
*/ | ||
export interface FacebookAuthRequestConfig extends ProviderAuthRequestConfig { | ||
@@ -33,0 +36,0 @@ /** |
@@ -39,2 +39,5 @@ import * as Application from 'expo-application'; | ||
// @needsAudit | ||
/** | ||
* @deprecated See [Google authentication](/guides/google-authentication/). | ||
*/ | ||
export interface GoogleAuthRequestConfig extends ProviderAuthRequestConfig { | ||
@@ -41,0 +44,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5718
395079