node_modules/@okta/okta-angular/fesm2015/okta-angular.js
/**
     * Checks if there is an access token OR an id token
     * A custom method may be provided on config to override this logic
     * @return {?}
     */
Checks if there is an access token OR an id token
A custom method may be provided on config to override this logic
@return {?}
Checks if there is an access token OR an id token A custom method may be provided on config to override this logic @return { ? }
isAuthenticated() {
        return __awaiter(this, void 0, void 0, function* () {
            if (this.config.isAuthenticated) {
                return (this.config.isAuthenticated)();
            }
            const accessToken = yield this.getAccessToken();
            const idToken = yield this.getIdToken();
            return !!(accessToken || idToken);
        });
    }
isAuthenticated ( ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { if ( this . config . isAuthenticated ) { return ( this . config . isAuthenticated ) ( ) ; } const accessToken = yield this . getAccessToken ( ) ; const idToken = yield this . getIdToken ( ) ; return ! ! ( accessToken || idToken ) ; } ) ; }
Checks if there is an access token OR an id token
 A custom method may be provided on config to override this logic
 @return {?}
Checks if there is an access token OR an id token A custom method may be provided on config to override this logic @return { ? }
// Support a user-provided method to check authentication /** @type {?} */ /** @type {?} */