node package manager

mindgaze-validators

@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 {

} `