Files
zitadel/console/src/app/services/interceptors/grpc-interceptor.ts
T
Max PeintnerandGitHub eeea1f1c4b feat(console): grpc web interceptors, cleanup services (#631)
* managementservice, authservice, change all refs

* refactor grpc auth

* fix references

* interceptor logic

* new interceptor

* appinitializers, environment loader, interceptors

* remove circular dep

* init authconfig in grpc service

* authconfig

* lint

* update mgmt service

* fix references

* update clientid, fix interceptor

* rm unused authconfig

* todo auth interceptor
2020-08-29 10:43:35 +02:00

7 lines
210 B
TypeScript

import { InjectionToken } from '@angular/core';
import { UnaryInterceptor } from 'grpc-web';
export const GRPC_INTERCEPTORS = new InjectionToken<Array<UnaryInterceptor<any, any>>>(
'GRPC_INTERCEPTORS',
);