UNPKG

@stardyn/angular-auth

Version:

Angular Authentication Service - Lightweight, configurable authentication service for Angular applications with token management and role-based access control

15 lines (14 loc) 616 B
import { EnvironmentProviders, Provider } from '@angular/core'; import { XconCoreAuthConfig } from "./models/AuthConfig"; /** * Provider for AuthService with Refresh Token support */ export declare class ProvideXconAuthWithRefresh { static forRoot(config: XconCoreAuthConfig): (Provider | EnvironmentProviders)[]; } /** * Explicit provider function for AuthService with refresh token support * @param config Auth configuration * @returns Angular Provider and EnvironmentProviders array */ export declare function provideXconAuthWithRefresh(config: XconCoreAuthConfig): (Provider | EnvironmentProviders)[];