UNPKG

@studiohyperdrive/ngx-auth

Version:

A library of core authentication functionality used with @studiohyperdrive/types-auth.

15 lines (14 loc) 917 B
import { InjectionToken } from '@angular/core'; import { NgxAuthenticationAbstractService } from '../abstracts'; /** * A token to provide the necessary service to the directives/guard */ export declare const NgxAuthenticationServiceToken: InjectionToken<NgxAuthenticationAbstractService<import("@studiohyperdrive/types-auth").AuthenticationResponse<any, import("@studiohyperdrive/types-auth").AuthenticatedUserSession<string, string>, any>, any, any, void>>; /** * A token to provide the necessary urlHandler to the NgxAuthenticatedHttpClient */ export declare const NgxAuthenticationUrlHandlerToken: InjectionToken<() => string>; /** * A token to provide the necessary handler to the NgxAuthenticatedHttpInterceptor */ export declare const NgxAuthenticationInterceptorToken: InjectionToken<(request: import("@angular/common/http").HttpRequest<unknown>) => import("@angular/common/http").HttpRequest<unknown>>;