build: fix build and add examples
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { inject, Injectable } from 'injection-js';
|
||||
import { Injectable, inject } from '@outposts/injection-js';
|
||||
import { CryptoService } from '../utils/crypto/crypto.service';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Injectable, inject } from 'injection-js';
|
||||
import { Injectable, inject } from '@outposts/injection-js';
|
||||
import { BehaviorSubject, type Observable, from } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { CryptoService } from '../utils/crypto/crypto.service';
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import { TestBed } from '@/testing';
|
||||
import {
|
||||
mockImplementationWhenArgs,
|
||||
mockImplementationWhenArgsEqual,
|
||||
} from '@/testing/spy';
|
||||
import { mockImplementationWhenArgsEqual } from '@/testing/spy';
|
||||
import { firstValueFrom, of } from 'rxjs';
|
||||
import { vi } from 'vitest';
|
||||
import type { AuthWellKnownEndpoints } from '../config/auth-well-known/auth-well-known-endpoints';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Injectable, inject } from 'injection-js';
|
||||
import { Injectable, inject } from '@outposts/injection-js';
|
||||
import { type Observable, of } from 'rxjs';
|
||||
import { map, mergeMap } from 'rxjs/operators';
|
||||
import type { OpenIdConfiguration } from '../config/openid-configuration';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Injectable, inject } from 'injection-js';
|
||||
import { Injectable, inject } from '@outposts/injection-js';
|
||||
import { base64url } from 'rfc4648';
|
||||
import { type Observable, from, of } from 'rxjs';
|
||||
import { map, mergeMap, tap } from 'rxjs/operators';
|
||||
@@ -390,7 +390,6 @@ export class TokenValidationService {
|
||||
localState: any,
|
||||
configuration: OpenIdConfiguration
|
||||
): boolean {
|
||||
console.error(state, localState, `${state}`, `${localState}`);
|
||||
if (`${state}` !== `${localState}`) {
|
||||
this.loggerService.logDebug(
|
||||
configuration,
|
||||
|
||||
Reference in New Issue
Block a user