mindgaze-observable-http
v1.0.2
Published
ObservableHttp service for Angular2 projects
Downloads
3
Readme
@Mindgaze Auth
This library helps Angular2 apps integrate with the SSO Mindgaze provides.
` import { AuthModule, AuthModuleParameters } from '@mindgaze/auth';
export const authModuleConfig = { authEndpoint: '', clientId: '', clientSecret: '', scope: '', userEndpoint: '' }
...
@NgModule({
imports: [
AuthModule.forRootFactory(authModuleConfig),
],
// Directives
declarations: [ AppComponent ],
// Providers
providers: [
],
bootstrap: [ AppComponent ]
}) export class AppModule {
} `