From e1a31cd5494b0c3adc58aa096d547ba4cd3eb7f6 Mon Sep 17 00:00:00 2001 From: LinChen Date: Sat, 9 Jun 2018 21:24:20 +0800 Subject: [PATCH] [chen] make webAuth support social login Auth0.js support social login by using webAuth.authorize({ connection: 'twitter' }); https://auth0.com/docs/libraries/auth0js/v9 but @types/react-native-auth0 stop us to pass it in, so add "connnection" as a legal parameter --- types/react-native-auth0/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-native-auth0/index.d.ts b/types/react-native-auth0/index.d.ts index 1291baeafd..b6a4e769e8 100644 --- a/types/react-native-auth0/index.d.ts +++ b/types/react-native-auth0/index.d.ts @@ -137,6 +137,7 @@ export interface AuthorizeParams { nonce?: string; audience?: string; scope?: string; + connection?: string; } export interface ClearSessionParams {