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 without Refresh Token support */ export declare class ProvideXconAuthStandard { static forRoot(config: XconCoreAuthConfig): (Provider | EnvironmentProviders)[]; } /** * Explicit provider function for AuthService without refresh token support * @param config Auth configuration * @returns Angular Provider and EnvironmentProviders array */ export declare function provideXconAuthStandard(config: XconCoreAuthConfig): (Provider | EnvironmentProviders)[];