0.0.19 • Published 1 year ago

joson.identityserver.angular v0.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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}
  }
}