File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export abstract class SdkBase {
8484 this . _callbackManager = new CallbackManager (
8585 this ,
8686 this . _product . name ,
87- ( ) => this . getIdentityForCallback ( ) ,
87+ ( ) => this . getIdentity ( ) ,
8888 this . _logger
8989 ) ;
9090 }
@@ -170,11 +170,6 @@ export abstract class SdkBase {
170170 return identity ;
171171 }
172172
173- private getIdentityForCallback ( ) : Identity | null {
174- const identity = this . _identity ?? this . getIdentityNoInit ( ) ;
175- return isValidIdentity ( identity ) && ! this . temporarilyUnavailable ( identity ) ? identity : null ;
176- }
177-
178173 // When the SDK has been initialized, this function should return the token
179174 // from the most recent refresh request, if there is a request, wait for the
180175 // new token. Otherwise, returns a promise which will be resolved after init.
You can’t perform that action at this time.
0 commit comments