jixiu.identityserver.angular2
v0.0.19
Published
```typescript // app.module.ts import { IdentityServerClient } from 'jixiu.identityserver'; @NgModule({ providers: [ IdentityServerClient ], }) export class AppModule { }
Downloads
18
Readme
In your angular project:
// app.module.ts
import { IdentityServerClient } from 'jixiu.identityserver';
@NgModule({
providers: [ IdentityServerClient ],
})
export class AppModule { }
// demo.ts
import { Component, OnInit } from '@angular/core';
import { IdentityServerClient } from 'jixiu.identityserver';
@Component({
selector: 'demo',
})
export class DemoComponent implements OnInit {
constructor(private client:IdentityServerClient) { }
ngOnInit() {
//this.client.{apis}
}
}