firebase-admin 9.100.0-alpha.0 → 10.0.2

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.
Files changed (188) hide show
  1. package/README.md +7 -3
  2. package/lib/app/core.d.ts +15 -22
  3. package/lib/app/core.js +1 -1
  4. package/lib/app/credential-factory.d.ts +17 -33
  5. package/lib/app/credential-factory.js +17 -33
  6. package/lib/app/credential-internal.d.ts +10 -9
  7. package/lib/app/credential-internal.js +15 -13
  8. package/lib/app/credential.d.ts +3 -9
  9. package/lib/app/credential.js +1 -1
  10. package/lib/app/firebase-app.d.ts +6 -30
  11. package/lib/app/firebase-app.js +72 -216
  12. package/lib/app/firebase-namespace.d.ts +28 -34
  13. package/lib/app/firebase-namespace.js +119 -99
  14. package/lib/app/index.d.ts +6 -1
  15. package/lib/app/index.js +1 -1
  16. package/lib/app/lifecycle.d.ts +24 -3
  17. package/lib/app/lifecycle.js +119 -25
  18. package/lib/app-check/app-check-api-client-internal.d.ts +32 -0
  19. package/lib/app-check/app-check-api-client-internal.js +197 -0
  20. package/lib/app-check/app-check-api.d.ts +95 -0
  21. package/lib/app-check/app-check-api.js +19 -0
  22. package/lib/app-check/app-check-namespace.d.ts +65 -0
  23. package/lib/app-check/app-check-namespace.js +18 -0
  24. package/lib/app-check/app-check.d.ts +49 -0
  25. package/lib/app-check/app-check.js +82 -0
  26. package/lib/app-check/index.d.ts +53 -0
  27. package/lib/app-check/index.js +63 -0
  28. package/lib/app-check/token-generator.d.ts +25 -0
  29. package/lib/app-check/token-generator.js +159 -0
  30. package/lib/app-check/token-verifier.d.ts +17 -0
  31. package/lib/app-check/token-verifier.js +151 -0
  32. package/lib/auth/action-code-settings-builder.d.ts +1 -1
  33. package/lib/auth/action-code-settings-builder.js +2 -2
  34. package/lib/auth/auth-api-request.d.ts +28 -32
  35. package/lib/auth/auth-api-request.js +167 -125
  36. package/lib/auth/auth-config.d.ts +123 -21
  37. package/lib/auth/auth-config.js +85 -34
  38. package/lib/auth/auth-namespace.d.ts +157 -4
  39. package/lib/auth/auth-namespace.js +1 -1
  40. package/lib/auth/auth.d.ts +5 -3
  41. package/lib/auth/auth.js +6 -4
  42. package/lib/auth/base-auth.d.ts +134 -116
  43. package/lib/auth/base-auth.js +213 -143
  44. package/lib/auth/identifier.d.ts +5 -5
  45. package/lib/auth/identifier.js +1 -1
  46. package/lib/auth/index.d.ts +10 -5
  47. package/lib/auth/index.js +9 -4
  48. package/lib/auth/tenant-manager.d.ts +19 -19
  49. package/lib/auth/tenant-manager.js +21 -25
  50. package/lib/auth/tenant.d.ts +14 -5
  51. package/lib/auth/tenant.js +19 -11
  52. package/lib/auth/token-generator.d.ts +7 -108
  53. package/lib/auth/token-generator.js +52 -145
  54. package/lib/auth/token-verifier.d.ts +3 -4
  55. package/lib/auth/token-verifier.js +96 -145
  56. package/lib/auth/user-import-builder.d.ts +11 -11
  57. package/lib/auth/user-import-builder.js +9 -9
  58. package/lib/auth/user-record.d.ts +23 -15
  59. package/lib/auth/user-record.js +30 -20
  60. package/lib/credential/index.d.ts +18 -35
  61. package/lib/credential/index.js +17 -33
  62. package/lib/database/database-namespace.d.ts +39 -10
  63. package/lib/database/database-namespace.js +1 -1
  64. package/lib/database/database.d.ts +16 -6
  65. package/lib/database/database.js +61 -6
  66. package/lib/database/index.d.ts +19 -18
  67. package/lib/database/index.js +21 -23
  68. package/lib/default-namespace.d.ts +7 -1
  69. package/lib/default-namespace.js +4 -4
  70. package/lib/esm/app/index.js +10 -0
  71. package/lib/esm/app-check/index.js +4 -0
  72. package/lib/esm/auth/index.js +14 -0
  73. package/lib/esm/database/index.js +6 -0
  74. package/lib/esm/firestore/index.js +24 -0
  75. package/lib/esm/installations/index.js +4 -0
  76. package/lib/esm/instance-id/index.js +4 -0
  77. package/lib/esm/machine-learning/index.js +5 -0
  78. package/lib/esm/messaging/index.js +4 -0
  79. package/lib/esm/package.json +1 -0
  80. package/lib/esm/project-management/index.js +8 -0
  81. package/lib/esm/remote-config/index.js +4 -0
  82. package/lib/esm/security-rules/index.js +6 -0
  83. package/lib/esm/storage/index.js +4 -0
  84. package/lib/firebase-namespace-api.d.ts +12 -6
  85. package/lib/firebase-namespace-api.js +5 -1
  86. package/lib/firestore/firestore-internal.d.ts +2 -2
  87. package/lib/firestore/firestore-internal.js +2 -2
  88. package/lib/firestore/firestore-namespace.d.ts +6 -1
  89. package/lib/firestore/firestore-namespace.js +2 -1
  90. package/lib/firestore/index.d.ts +36 -4
  91. package/lib/firestore/index.js +29 -1
  92. package/lib/index.d.ts +1 -1
  93. package/lib/index.js +1 -1
  94. package/lib/installations/index.d.ts +52 -0
  95. package/lib/installations/index.js +62 -0
  96. package/lib/installations/installations-namespace.d.ts +55 -0
  97. package/lib/installations/installations-namespace.js +18 -0
  98. package/lib/{instance-id/instance-id-request-internal.d.ts → installations/installations-request-handler.d.ts} +8 -8
  99. package/lib/{instance-id/instance-id-request-internal.js → installations/installations-request-handler.js} +23 -23
  100. package/lib/installations/installations.d.ts +38 -0
  101. package/lib/installations/installations.js +63 -0
  102. package/lib/instance-id/index.d.ts +20 -9
  103. package/lib/instance-id/index.js +20 -9
  104. package/lib/instance-id/instance-id-namespace.d.ts +9 -8
  105. package/lib/instance-id/instance-id-namespace.js +1 -1
  106. package/lib/instance-id/instance-id.d.ts +8 -6
  107. package/lib/instance-id/instance-id.js +20 -11
  108. package/lib/machine-learning/index.d.ts +29 -27
  109. package/lib/machine-learning/index.js +29 -27
  110. package/lib/machine-learning/machine-learning-api-client.d.ts +1 -1
  111. package/lib/machine-learning/machine-learning-api-client.js +4 -4
  112. package/lib/machine-learning/machine-learning-namespace.d.ts +33 -8
  113. package/lib/machine-learning/machine-learning-namespace.js +1 -1
  114. package/lib/machine-learning/machine-learning-utils.d.ts +1 -1
  115. package/lib/machine-learning/machine-learning-utils.js +1 -1
  116. package/lib/machine-learning/machine-learning.d.ts +19 -19
  117. package/lib/machine-learning/machine-learning.js +20 -20
  118. package/lib/messaging/batch-request-internal.d.ts +3 -3
  119. package/lib/messaging/batch-request-internal.js +9 -9
  120. package/lib/messaging/index.d.ts +11 -9
  121. package/lib/messaging/index.js +11 -9
  122. package/lib/messaging/messaging-api-request-internal.d.ts +8 -8
  123. package/lib/messaging/messaging-api-request-internal.js +8 -8
  124. package/lib/messaging/messaging-api.d.ts +79 -75
  125. package/lib/messaging/messaging-api.js +1 -1
  126. package/lib/messaging/messaging-errors-internal.d.ts +5 -5
  127. package/lib/messaging/messaging-errors-internal.js +7 -7
  128. package/lib/messaging/messaging-internal.d.ts +1 -1
  129. package/lib/messaging/messaging-internal.js +6 -31
  130. package/lib/messaging/messaging-namespace.d.ts +105 -8
  131. package/lib/messaging/messaging-namespace.js +1 -1
  132. package/lib/messaging/messaging.d.ts +70 -86
  133. package/lib/messaging/messaging.js +76 -89
  134. package/lib/project-management/android-app.d.ts +11 -12
  135. package/lib/project-management/android-app.js +13 -14
  136. package/lib/project-management/app-metadata.d.ts +1 -1
  137. package/lib/project-management/app-metadata.js +1 -1
  138. package/lib/project-management/index.d.ts +11 -9
  139. package/lib/project-management/index.js +11 -9
  140. package/lib/project-management/ios-app.d.ts +6 -7
  141. package/lib/project-management/ios-app.js +6 -7
  142. package/lib/project-management/project-management-api-request-internal.d.ts +1 -80
  143. package/lib/project-management/project-management-api-request-internal.js +14 -14
  144. package/lib/project-management/project-management-namespace.d.ts +31 -9
  145. package/lib/project-management/project-management-namespace.js +1 -1
  146. package/lib/project-management/project-management.d.ts +18 -21
  147. package/lib/project-management/project-management.js +19 -22
  148. package/lib/remote-config/index.d.ts +12 -10
  149. package/lib/remote-config/index.js +11 -9
  150. package/lib/remote-config/remote-config-api-client-internal.d.ts +1 -1
  151. package/lib/remote-config/remote-config-api-client-internal.js +2 -2
  152. package/lib/remote-config/remote-config-api.d.ts +12 -2
  153. package/lib/remote-config/remote-config-api.js +1 -1
  154. package/lib/remote-config/remote-config-namespace.d.ts +50 -9
  155. package/lib/remote-config/remote-config-namespace.js +1 -1
  156. package/lib/remote-config/remote-config.d.ts +19 -21
  157. package/lib/remote-config/remote-config.js +25 -25
  158. package/lib/security-rules/index.d.ts +12 -10
  159. package/lib/security-rules/index.js +12 -10
  160. package/lib/security-rules/security-rules-api-client-internal.d.ts +1 -1
  161. package/lib/security-rules/security-rules-api-client-internal.js +1 -1
  162. package/lib/security-rules/security-rules-internal.d.ts +1 -1
  163. package/lib/security-rules/security-rules-internal.js +1 -1
  164. package/lib/security-rules/security-rules-namespace.d.ts +43 -28
  165. package/lib/security-rules/security-rules-namespace.js +1 -1
  166. package/lib/security-rules/security-rules.d.ts +39 -42
  167. package/lib/security-rules/security-rules.js +38 -39
  168. package/lib/storage/index.d.ts +9 -7
  169. package/lib/storage/index.js +9 -7
  170. package/lib/storage/storage-namespace.d.ts +7 -6
  171. package/lib/storage/storage-namespace.js +1 -1
  172. package/lib/storage/storage.d.ts +3 -3
  173. package/lib/storage/storage.js +14 -4
  174. package/lib/utils/api-request.d.ts +24 -24
  175. package/lib/utils/api-request.js +25 -25
  176. package/lib/utils/crypto-signer.d.ts +128 -0
  177. package/lib/utils/crypto-signer.js +237 -0
  178. package/lib/utils/deep-copy.d.ts +6 -6
  179. package/lib/utils/deep-copy.js +6 -6
  180. package/lib/utils/error.d.ts +69 -36
  181. package/lib/utils/error.js +98 -43
  182. package/lib/utils/index.d.ts +30 -19
  183. package/lib/utils/index.js +47 -20
  184. package/lib/utils/jwt.d.ts +131 -0
  185. package/lib/utils/jwt.js +355 -0
  186. package/lib/utils/validator.d.ts +37 -37
  187. package/lib/utils/validator.js +37 -37
  188. package/package.json +126 -53
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v9.100.0-alpha.0 */
1
+ /*! firebase-admin v10.0.2 */
2
2
  /*!
3
3
  * Copyright 2021 Google Inc.
4
4
  *
@@ -26,12 +26,12 @@ import { DecodedIdToken as TDecodedIdToken } from './token-verifier';
26
26
  import { HashAlgorithmType as THashAlgorithmType, UserImportOptions as TUserImportOptions, UserImportRecord as TUserImportRecord, UserImportResult as TUserImportResult, UserMetadataRequest as TUserMetadataRequest, UserProviderRequest as TUserProviderRequest } from './user-import-builder';
27
27
  import { MultiFactorInfo as TMultiFactorInfo, MultiFactorSettings as TMultiFactorSettings, PhoneMultiFactorInfo as TPhoneMultiFactorInfo, UserInfo as TUserInfo, UserMetadata as TUserMetadata, UserRecord as TUserRecord } from './user-record';
28
28
  /**
29
- * Gets the {@link auth.Auth `Auth`} service for the default app or a
29
+ * Gets the {@link firebase-admin.auth#Auth} service for the default app or a
30
30
  * given app.
31
31
  *
32
32
  * `admin.auth()` can be called with no arguments to access the default app's
33
- * {@link auth.Auth `Auth`} service or as `admin.auth(app)` to access the
34
- * {@link auth.Auth `Auth`} service associated with a specific app.
33
+ * {@link firebase-admin.auth#Auth} service or as `admin.auth(app)` to access the
34
+ * {@link firebase-admin.auth#Auth} service associated with a specific app.
35
35
  *
36
36
  * @example
37
37
  * ```javascript
@@ -48,55 +48,208 @@ import { MultiFactorInfo as TMultiFactorInfo, MultiFactorSettings as TMultiFacto
48
48
  */
49
49
  export declare function auth(app?: App): auth.Auth;
50
50
  export declare namespace auth {
51
+ /**
52
+ * Type alias to {@link firebase-admin.auth#ActionCodeSettings}.
53
+ */
51
54
  type ActionCodeSettings = TActionCodeSettings;
55
+ /**
56
+ * Type alias to {@link firebase-admin.auth#Auth}.
57
+ */
52
58
  type Auth = TAuth;
59
+ /**
60
+ * Type alias to {@link firebase-admin.auth#AuthFactorType}.
61
+ */
53
62
  type AuthFactorType = TAuthFactorType;
63
+ /**
64
+ * Type alias to {@link firebase-admin.auth#AuthProviderConfig}.
65
+ */
54
66
  type AuthProviderConfig = TAuthProviderConfig;
67
+ /**
68
+ * Type alias to {@link firebase-admin.auth#AuthProviderConfigFilter}.
69
+ */
55
70
  type AuthProviderConfigFilter = TAuthProviderConfigFilter;
71
+ /**
72
+ * Type alias to {@link firebase-admin.auth#BaseAuth}.
73
+ */
56
74
  type BaseAuth = TBaseAuth;
75
+ /**
76
+ * Type alias to {@link firebase-admin.auth#CreateMultiFactorInfoRequest}.
77
+ */
57
78
  type CreateMultiFactorInfoRequest = TCreateMultiFactorInfoRequest;
79
+ /**
80
+ * Type alias to {@link firebase-admin.auth#CreatePhoneMultiFactorInfoRequest}.
81
+ */
58
82
  type CreatePhoneMultiFactorInfoRequest = TCreatePhoneMultiFactorInfoRequest;
83
+ /**
84
+ * Type alias to {@link firebase-admin.auth#CreateRequest}.
85
+ */
59
86
  type CreateRequest = TCreateRequest;
87
+ /**
88
+ * Type alias to {@link firebase-admin.auth#CreateTenantRequest}.
89
+ */
60
90
  type CreateTenantRequest = TCreateTenantRequest;
91
+ /**
92
+ * Type alias to {@link firebase-admin.auth#DecodedIdToken}.
93
+ */
61
94
  type DecodedIdToken = TDecodedIdToken;
95
+ /**
96
+ * Type alias to {@link firebase-admin.auth#DeleteUsersResult}.
97
+ */
62
98
  type DeleteUsersResult = TDeleteUsersResult;
99
+ /**
100
+ * Type alias to {@link firebase-admin.auth#EmailIdentifier}.
101
+ */
63
102
  type EmailIdentifier = TEmailIdentifier;
103
+ /**
104
+ * Type alias to {@link firebase-admin.auth#EmailSignInProviderConfig}.
105
+ */
64
106
  type EmailSignInProviderConfig = TEmailSignInProviderConfig;
107
+ /**
108
+ * Type alias to {@link firebase-admin.auth#GetUsersResult}.
109
+ */
65
110
  type GetUsersResult = TGetUsersResult;
111
+ /**
112
+ * Type alias to {@link firebase-admin.auth#HashAlgorithmType}.
113
+ */
66
114
  type HashAlgorithmType = THashAlgorithmType;
115
+ /**
116
+ * Type alias to {@link firebase-admin.auth#ListProviderConfigResults}.
117
+ */
67
118
  type ListProviderConfigResults = TListProviderConfigResults;
119
+ /**
120
+ * Type alias to {@link firebase-admin.auth#ListTenantsResult}.
121
+ */
68
122
  type ListTenantsResult = TListTenantsResult;
123
+ /**
124
+ * Type alias to {@link firebase-admin.auth#ListUsersResult}.
125
+ */
69
126
  type ListUsersResult = TListUsersResult;
127
+ /**
128
+ * Type alias to {@link firebase-admin.auth#MultiFactorCreateSettings}.
129
+ */
70
130
  type MultiFactorCreateSettings = TMultiFactorCreateSettings;
131
+ /**
132
+ * Type alias to {@link firebase-admin.auth#MultiFactorConfig}.
133
+ */
71
134
  type MultiFactorConfig = TMultiFactorConfig;
135
+ /**
136
+ * Type alias to {@link firebase-admin.auth#MultiFactorConfigState}.
137
+ */
72
138
  type MultiFactorConfigState = TMultiFactorConfigState;
139
+ /**
140
+ * Type alias to {@link firebase-admin.auth#MultiFactorInfo}.
141
+ */
73
142
  type MultiFactorInfo = TMultiFactorInfo;
143
+ /**
144
+ * Type alias to {@link firebase-admin.auth#MultiFactorUpdateSettings}.
145
+ */
74
146
  type MultiFactorUpdateSettings = TMultiFactorUpdateSettings;
147
+ /**
148
+ * Type alias to {@link firebase-admin.auth#MultiFactorSettings}.
149
+ */
75
150
  type MultiFactorSettings = TMultiFactorSettings;
151
+ /**
152
+ * Type alias to {@link firebase-admin.auth#OIDCAuthProviderConfig}.
153
+ */
76
154
  type OIDCAuthProviderConfig = TOIDCAuthProviderConfig;
155
+ /**
156
+ * Type alias to {@link firebase-admin.auth#OIDCUpdateAuthProviderRequest}.
157
+ */
77
158
  type OIDCUpdateAuthProviderRequest = TOIDCUpdateAuthProviderRequest;
159
+ /**
160
+ * Type alias to {@link firebase-admin.auth#PhoneIdentifier}.
161
+ */
78
162
  type PhoneIdentifier = TPhoneIdentifier;
163
+ /**
164
+ * Type alias to {@link firebase-admin.auth#PhoneMultiFactorInfo}.
165
+ */
79
166
  type PhoneMultiFactorInfo = TPhoneMultiFactorInfo;
167
+ /**
168
+ * Type alias to {@link firebase-admin.auth#ProviderIdentifier}.
169
+ */
80
170
  type ProviderIdentifier = TProviderIdentifier;
171
+ /**
172
+ * Type alias to {@link firebase-admin.auth#SAMLAuthProviderConfig}.
173
+ */
81
174
  type SAMLAuthProviderConfig = TSAMLAuthProviderConfig;
175
+ /**
176
+ * Type alias to {@link firebase-admin.auth#SAMLUpdateAuthProviderRequest}.
177
+ */
82
178
  type SAMLUpdateAuthProviderRequest = TSAMLUpdateAuthProviderRequest;
179
+ /**
180
+ * Type alias to {@link firebase-admin.auth#SessionCookieOptions}.
181
+ */
83
182
  type SessionCookieOptions = TSessionCookieOptions;
183
+ /**
184
+ * Type alias to {@link firebase-admin.auth#Tenant}.
185
+ */
84
186
  type Tenant = TTenant;
187
+ /**
188
+ * Type alias to {@link firebase-admin.auth#TenantAwareAuth}.
189
+ */
85
190
  type TenantAwareAuth = TTenantAwareAuth;
191
+ /**
192
+ * Type alias to {@link firebase-admin.auth#TenantManager}.
193
+ */
86
194
  type TenantManager = TTenantManager;
195
+ /**
196
+ * Type alias to {@link firebase-admin.auth#UidIdentifier}.
197
+ */
87
198
  type UidIdentifier = TUidIdentifier;
199
+ /**
200
+ * Type alias to {@link firebase-admin.auth#UpdateAuthProviderRequest}.
201
+ */
88
202
  type UpdateAuthProviderRequest = TUpdateAuthProviderRequest;
203
+ /**
204
+ * Type alias to {@link firebase-admin.auth#UpdateMultiFactorInfoRequest}.
205
+ */
89
206
  type UpdateMultiFactorInfoRequest = TUpdateMultiFactorInfoRequest;
207
+ /**
208
+ * Type alias to {@link firebase-admin.auth#UpdatePhoneMultiFactorInfoRequest}.
209
+ */
90
210
  type UpdatePhoneMultiFactorInfoRequest = TUpdatePhoneMultiFactorInfoRequest;
211
+ /**
212
+ * Type alias to {@link firebase-admin.auth#UpdateRequest}.
213
+ */
91
214
  type UpdateRequest = TUpdateRequest;
215
+ /**
216
+ * Type alias to {@link firebase-admin.auth#UpdateTenantRequest}.
217
+ */
92
218
  type UpdateTenantRequest = TUpdateTenantRequest;
219
+ /**
220
+ * Type alias to {@link firebase-admin.auth#UserIdentifier}.
221
+ */
93
222
  type UserIdentifier = TUserIdentifier;
223
+ /**
224
+ * Type alias to {@link firebase-admin.auth#UserImportOptions}.
225
+ */
94
226
  type UserImportOptions = TUserImportOptions;
227
+ /**
228
+ * Type alias to {@link firebase-admin.auth#UserImportRecord}.
229
+ */
95
230
  type UserImportRecord = TUserImportRecord;
231
+ /**
232
+ * Type alias to {@link firebase-admin.auth#UserImportResult}.
233
+ */
96
234
  type UserImportResult = TUserImportResult;
235
+ /**
236
+ * Type alias to {@link firebase-admin.auth#UserInfo}.
237
+ */
97
238
  type UserInfo = TUserInfo;
239
+ /**
240
+ * Type alias to {@link firebase-admin.auth#UserMetadata}.
241
+ */
98
242
  type UserMetadata = TUserMetadata;
243
+ /**
244
+ * Type alias to {@link firebase-admin.auth#UserMetadataRequest}.
245
+ */
99
246
  type UserMetadataRequest = TUserMetadataRequest;
247
+ /**
248
+ * Type alias to {@link firebase-admin.auth#UserProviderRequest}.
249
+ */
100
250
  type UserProviderRequest = TUserProviderRequest;
251
+ /**
252
+ * Type alias to {@link firebase-admin.auth#UserRecord}.
253
+ */
101
254
  type UserRecord = TUserRecord;
102
255
  }
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v9.100.0-alpha.0 */
1
+ /*! firebase-admin v10.0.2 */
2
2
  "use strict";
3
3
  /*!
4
4
  * Copyright 2021 Google Inc.
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v9.100.0-alpha.0 */
1
+ /*! firebase-admin v10.0.2 */
2
2
  /*!
3
3
  * @license
4
4
  * Copyright 2017 Google Inc.
@@ -28,11 +28,13 @@ export declare class Auth extends BaseAuth {
28
28
  /**
29
29
  * Returns the app associated with this Auth instance.
30
30
  *
31
- * @return The app associated with this Auth instance.
31
+ * @returns The app associated with this Auth instance.
32
32
  */
33
33
  get app(): App;
34
34
  /**
35
- * @return The tenant manager instance associated with the current project.
35
+ * Returns the tenant manager instance associated with the current project.
36
+ *
37
+ * @returns The tenant manager instance associated with the current project.
36
38
  */
37
39
  tenantManager(): TenantManager;
38
40
  }
package/lib/auth/auth.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! firebase-admin v9.100.0-alpha.0 */
1
+ /*! firebase-admin v10.0.2 */
2
2
  "use strict";
3
3
  /*!
4
4
  * @license
@@ -41,7 +41,7 @@ var base_auth_1 = require("./base-auth");
41
41
  var Auth = /** @class */ (function (_super) {
42
42
  __extends(Auth, _super);
43
43
  /**
44
- * @param app The app for this Auth service.
44
+ * @param app - The app for this Auth service.
45
45
  * @constructor
46
46
  * @internal
47
47
  */
@@ -55,7 +55,7 @@ var Auth = /** @class */ (function (_super) {
55
55
  /**
56
56
  * Returns the app associated with this Auth instance.
57
57
  *
58
- * @return The app associated with this Auth instance.
58
+ * @returns The app associated with this Auth instance.
59
59
  */
60
60
  get: function () {
61
61
  return this.app_;
@@ -64,7 +64,9 @@ var Auth = /** @class */ (function (_super) {
64
64
  configurable: true
65
65
  });
66
66
  /**
67
- * @return The tenant manager instance associated with the current project.
67
+ * Returns the tenant manager instance associated with the current project.
68
+ *
69
+ * @returns The tenant manager instance associated with the current project.
68
70
  */
69
71
  Auth.prototype.tenantManager = function () {
70
72
  return this.tenantManager_;