@react-native-firebase/auth 17.3.1 → 17.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/lib/index.d.ts +28 -0
- package/lib/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [17.4.0](https://github.com/invertase/react-native-firebase/compare/v17.3.2...v17.4.0) (2023-03-25)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/auth
|
9
|
+
|
10
|
+
### [17.3.2](https://github.com/invertase/react-native-firebase/compare/v17.3.1...v17.3.2) (2023-03-05)
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
- **auth, types:** add `OIDCProvider` to typescript declaration ([#6936](https://github.com/invertase/react-native-firebase/issues/6936)) ([00185a3](https://github.com/invertase/react-native-firebase/commit/00185a37bc554f9bcb6feb6434d6c9c75ed51a3a))
|
15
|
+
|
6
16
|
### [17.3.1](https://github.com/invertase/react-native-firebase/compare/v17.3.0...v17.3.1) (2023-02-23)
|
7
17
|
|
8
18
|
**Note:** Version bump only for package @react-native-firebase/auth
|
package/lib/index.d.ts
CHANGED
@@ -109,6 +109,24 @@ export namespace FirebaseAuthTypes {
|
|
109
109
|
credential: (token: string | null, secret?: string) => AuthCredential;
|
110
110
|
}
|
111
111
|
|
112
|
+
/**
|
113
|
+
* Interface that represents an Open ID Connect auth provider. Implemented by other providers.
|
114
|
+
*/
|
115
|
+
export interface OIDCProvider {
|
116
|
+
/**
|
117
|
+
* The provider ID of the provider.
|
118
|
+
*/
|
119
|
+
PROVIDER_ID: string;
|
120
|
+
/**
|
121
|
+
* Creates a new `OIDCProvider`.
|
122
|
+
*
|
123
|
+
* @returns {@link auth.AuthCredential}.
|
124
|
+
* @param oidcSuffix this is the "Provider ID" value from the firebase console fx `azure_test`.
|
125
|
+
* @param token A provider token.
|
126
|
+
*/
|
127
|
+
credential: (oidcSuffix: string, idToken: string) => AuthCredential;
|
128
|
+
}
|
129
|
+
|
112
130
|
/**
|
113
131
|
* Email and password auth provider implementation.
|
114
132
|
*/
|
@@ -298,6 +316,16 @@ export namespace FirebaseAuthTypes {
|
|
298
316
|
* ```
|
299
317
|
*/
|
300
318
|
OAuthProvider: AuthProvider;
|
319
|
+
/**
|
320
|
+
* Custom Open ID connect auth provider implementation.
|
321
|
+
*
|
322
|
+
* #### Example
|
323
|
+
*
|
324
|
+
* ```js
|
325
|
+
* firebase.auth.OIDCAuthProvider;
|
326
|
+
* ```
|
327
|
+
*/
|
328
|
+
OIDCAuthProvider: OIDCProvider;
|
301
329
|
/**
|
302
330
|
* A PhoneAuthState interface.
|
303
331
|
*
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '17.
|
2
|
+
module.exports = '17.4.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/auth",
|
3
|
-
"version": "17.
|
3
|
+
"version": "17.4.0",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.",
|
6
6
|
"main": "lib/index.js",
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"plist": "^3.0.5"
|
29
29
|
},
|
30
30
|
"peerDependencies": {
|
31
|
-
"@react-native-firebase/app": "17.
|
31
|
+
"@react-native-firebase/app": "17.4.0"
|
32
32
|
},
|
33
33
|
"publishConfig": {
|
34
34
|
"access": "public"
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"devDependencies": {
|
37
37
|
"@types/plist": "^3.0.2"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "2a79509bb34278bf9919aceeb58a6ef74ab36520"
|
40
40
|
}
|