| 187 | } |
| 188 | |
| 189 | export class EmailProvider extends ProviderBase { |
| 190 | _builder: com.firebase.ui.auth.AuthUI.IdpConfig.EmailBuilder; |
| 191 | constructor() { |
| 192 | super(); |
| 193 | this._builder = new com.firebase.ui.auth.AuthUI.IdpConfig.EmailBuilder(); |
| 194 | } |
| 195 | |
| 196 | _actionCodeSettings: ActionCodeSettings = null; |
| 197 | |
| 198 | set actionCodeSettings(value: ActionCodeSettings) { |
| 199 | this._actionCodeSettings = value; |
| 200 | this._builder.setActionCodeSettings(value?.native); |
| 201 | } |
| 202 | |
| 203 | get actionCodeSettings(): ActionCodeSettings | null { |
| 204 | return this._actionCodeSettings; |
| 205 | } |
| 206 | |
| 207 | _requireName: boolean = true; |
| 208 | get requireName(): boolean { |
| 209 | return this._requireName; |
| 210 | } |
| 211 | |
| 212 | set requireName(isRequired: boolean) { |
| 213 | this._requireName = isRequired; |
| 214 | this._builder.setRequireName(isRequired); |
| 215 | } |
| 216 | |
| 217 | forceSameDevice() { |
| 218 | this._builder.setForceSameDevice(); |
| 219 | return this; |
| 220 | } |
| 221 | enableEmailLinkSignIn() { |
| 222 | this._builder.enableEmailLinkSignIn(); |
| 223 | return this; |
| 224 | } |
| 225 | |
| 226 | _defaultEmail: string = ''; |
| 227 | |
| 228 | get defaultEmail(): string { |
| 229 | return this._defaultEmail; |
| 230 | } |
| 231 | |
| 232 | set defaultEmail(value: string) { |
| 233 | this._defaultEmail = value; |
| 234 | this._builder.setDefaultEmail(value); |
| 235 | } |
| 236 | |
| 237 | _allowNewAccounts: boolean = true; |
| 238 | |
| 239 | set allowNewAccounts(allow: boolean) { |
| 240 | this._allowNewAccounts = allow; |
| 241 | this._builder.setAllowNewAccounts(allow); |
| 242 | } |
| 243 | |
| 244 | get allowNewAccounts(): boolean { |
| 245 | return this._allowNewAccounts; |
| 246 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…