node_modules/@okta/okta-angular/fesm2015/okta-angular.js
/**
     * Parses the tokens from the callback URL.
     * @return {?}
     */
Parses the tokens from the callback URL.
Parses the tokens from the callback URL .
handleAuthentication() {
        return __awaiter(this, void 0, void 0, function* () {
            const res = yield this.oktaAuth.token.parseFromUrl();
            const tokens = res.tokens;
            if (tokens.accessToken) {
                this.oktaAuth.tokenManager.add('accessToken', ( (tokens.accessToken)));
            }
            if (tokens.idToken) {
                this.oktaAuth.tokenManager.add('idToken', ( (tokens.idToken)));
            }
            if (yield this.isAuthenticated()) {
                this.emitAuthenticationState(true);
            }
        });
    }
handleAuthentication ( ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { const res = yield this . oktaAuth . token . parseFromUrl ( ) ; const tokens = res . tokens ; if ( tokens . accessToken ) { this . oktaAuth . tokenManager . add ( 'accessToken' , ( ( tokens . accessToken ) ) ) ; } if ( tokens . idToken ) { this . oktaAuth . tokenManager . add ( 'idToken' , ( ( tokens . idToken ) ) ) ; } if ( yield this . isAuthenticated ( ) ) { this . emitAuthenticationState ( true ) ; } } ) ; }
Parses the tokens from the callback URL.
Parses the tokens from the callback URL .
/** @type {?} */ /** @type {?} */ /** @type {?} */ /** @type {?} */