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