0.0.1-nightly.20170107T231402Z.6c26360 • Published 7 years ago
@ramonornela/authentication v0.0.1-nightly.20170107T231402Z.6c26360
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 '@ramonornela/url-resolver';
import { AuthenticationHttpModule } from '@ramonornela/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
0.0.1-nightly.20170112T110254Z.ac27db3
7 years ago
0.0.1-nightly.20170111T082828Z.40b2a5c
7 years ago
0.0.1-nightly.20170110T225413Z.a2e0bb5
7 years ago
0.0.1-nightly.20170110T223335Z.57eaf33
7 years ago
0.0.1-nightly.20170107T231402Z.6c26360
7 years ago