mindgaze-validators

1.0.2 • Public • Published

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

} `

Readme

Keywords

none

Package Sidebar

Install

npm i mindgaze-validators

Weekly Downloads

2

Version

1.0.2

License

ISC

Last publish

Collaborators

  • afivan