UNPKG

@stardyn/angular-auth

Version:

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

29 lines (28 loc) 938 B
import { ModuleConsoleService } from "@stardyn/angular-console"; import { XconCoreAuthConfig, XconPasswordHashType } from "../models/AuthConfig"; export interface AuthEndpoints { login: string; google: string; microsoft: string; logout: string; refresh: string; } export declare class AuthConfigManager { private dconsole; private config; constructor(dconsole: ModuleConsoleService); configure(config: XconCoreAuthConfig): void; getConfig(): XconCoreAuthConfig; getLoginEndpoint(): string; getGoogleLoginEndpoint(): string; getMicrosoftLoginEndpoint(): string; getLogoutEndpoint(): string; getRefreshTokenEndpoint(): string; getUserInfoEndpoint(): string; getEndpoints(): AuthEndpoints; getRedirectLoginUrl(): string; getRedirectLogoutUrl(): string; getPasswordHashType(): XconPasswordHashType; getAuthSiteKey(): string; getAuthSiteName(): string; }