@@ -39,7 +39,8 @@ import { ReverseWrapper, Wrapper } from './wrap';
39
39
const _assert : typeof exp . _assert = exp . _assert ;
40
40
41
41
export class Auth
42
- implements compat . FirebaseAuth , Wrapper < exp . Auth > , _FirebaseService {
42
+ implements compat . FirebaseAuth , Wrapper < exp . Auth > , _FirebaseService
43
+ {
43
44
readonly _delegate : exp . AuthImpl ;
44
45
45
46
constructor ( readonly app : FirebaseApp , provider : Provider < 'auth-exp' > ) {
@@ -107,12 +108,18 @@ export class Auth
107
108
get languageCode ( ) : string | null {
108
109
return this . _delegate . languageCode ;
109
110
}
111
+ set languageCode ( languageCode : string | null ) {
112
+ this . _delegate . languageCode = languageCode ;
113
+ }
110
114
get settings ( ) : compat . AuthSettings {
111
115
return this . _delegate . settings ;
112
116
}
113
117
get tenantId ( ) : string | null {
114
118
return this . _delegate . tenantId ;
115
119
}
120
+ set tenantId ( tid : string | null ) {
121
+ this . _delegate . tenantId = tid ;
122
+ }
116
123
useDeviceLanguage ( ) : void {
117
124
this . _delegate . useDeviceLanguage ( ) ;
118
125
}
@@ -348,7 +355,7 @@ export class Auth
348
355
return this . _delegate . _delete ( ) ;
349
356
}
350
357
private linkUnderlyingAuth ( ) : void {
351
- ( ( this . _delegate as unknown ) as ReverseWrapper < Auth > ) . wrapped = ( ) => this ;
358
+ ( this . _delegate as unknown as ReverseWrapper < Auth > ) . wrapped = ( ) => this ;
352
359
}
353
360
}
354
361
0 commit comments