UNPKG

@rxap/authentication

Version:

Provides authentication services, guards, and interceptors for Angular applications. It supports token-based authentication and provides features such as sign-out functionality and routing based on authentication status. This package also includes utiliti

6 lines (5 loc) 379 B
import { Provider } from '@angular/core'; import { IAuthenticationService } from './authentication.service'; import { Constructor } from '@rxap/utilities'; export declare function provideAuthentication(service: Constructor<IAuthenticationService>, ...additionalProviders: Provider[]): Provider[]; export declare function withInitialAuthenticationState(state: boolean): Provider;