@mbamobi/authentication
v3.0.0
Published
This is abstract to Authentication based in project https://github.com/zendframework/zend-authentication
Downloads
16
Readme
AuthenticationModule
This is abstract to Authentication based in project https://github.com/zendframework/zend-authentication
Using AuthenticationModule or AuthenticationHttpModule in an Ionic 2 app
import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
import { UrlResolverModule } from '@mbamobi/url-resolver';
import { AuthenticationHttpModule } from '@mbamobi/authentication';
const Routes = {
'auth': {
'url': 'http://example.com/auth'
}
};
@NgModule({
declarations: [
MyApp
],
imports: [
IonicModule.forRoot(MyApp),
UrlResolverModule.initialize(Routes),
AuthenticationHttpModule.initialize()
],
bootstrap: [IonicApp],
entryComponents: [
MyApp
]
})
export class AppModule {}
Contributing
See CONTRIBUTING.md