import * as i0 from '@angular/core'; import { OnInit, InjectionToken, ModuleWithProviders } from '@angular/core'; import { SpinqueApiService } from '@spinque/angular-ui'; import * as i1 from '@angular/router'; /** * Component that catches the callback done from login.spinque.com and redirects you back to the root * of your application. */ declare class SpinqueLoginCallbackComponent implements OnInit { private router; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Configuration object with which to instantiate SpinqueAuthModule */ interface SpinqueAuthConfig { /** * The Client ID for your Application as configured in Auth0. */ client_id: string; /** * The path at which your application is hosted. Without leading slash. * The callback URL will be {DOMAIN}/{PATH}/callback. Note that his must match the * configuration of your application in Auth0, otherwise an error will be thrown. */ callback_base_path?: string; } declare const SpinqueAuthConfigValue: InjectionToken; /** * Import this module to enable authentication with Spinque. Expectes a SpinqueAuthConfig object * with config to the forRoot method. Will register a /callback route in your app. */ declare class SpinqueAuthModule { private authConfig; private api; private authenticator; constructor(authConfig: SpinqueAuthConfig, api: SpinqueApiService); static forRoot(config: SpinqueAuthConfig): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { SpinqueAuthConfigValue, SpinqueAuthModule, SpinqueLoginCallbackComponent }; export type { SpinqueAuthConfig };