File tree 1 file changed +3
-3
lines changed
packages/storage/src/implementation 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import { FirebaseAuthInternal } from '@firebase/auth-interop-types';
42
42
*/
43
43
export class AuthWrapper {
44
44
private app_ : FirebaseApp | null ;
45
- private authProvider : Provider < FirebaseAuthInternal > ;
45
+ private authProvider_ : Provider < FirebaseAuthInternal > ;
46
46
private bucket_ : string | null = null ;
47
47
48
48
private storageRefMaker_ : ( p1 : AuthWrapper , p2 : Location ) => Reference ;
@@ -69,7 +69,7 @@ export class AuthWrapper {
69
69
this . bucket_ = AuthWrapper . extractBucket_ ( options ) ;
70
70
}
71
71
}
72
- this . authProvider = authProvider ;
72
+ this . authProvider_ = authProvider ;
73
73
this . storageRefMaker_ = maker ;
74
74
this . requestMaker_ = requestMaker ;
75
75
this . pool_ = pool ;
@@ -89,7 +89,7 @@ export class AuthWrapper {
89
89
}
90
90
91
91
getAuthToken ( ) : Promise < string | null > {
92
- const auth = this . authProvider . getImmediate ( undefined , { optional : true } ) ;
92
+ const auth = this . authProvider_ . getImmediate ( undefined , { optional : true } ) ;
93
93
if ( auth ) {
94
94
return auth . getToken ( ) . then (
95
95
( response : FirebaseAuthTokenData | null ) : string | null => {
You can’t perform that action at this time.
0 commit comments