login-google-tul

Management of tul services login via google.

Usage no npm install needed!

<script type="module">
  import loginGoogleTul from 'https://cdn.skypack.dev/login-google-tul';
</script>

README

Security

Management of tul services login via google.

tul logo

npm slack logo npm

Table of Contents

Installation

npm i login-google-tul --save

Usage

Html

<login-google-tul (loginEmitter)="loginEmitter($event)" [url]="environment.url + 'api/v1'"> </login-google-tul>

Emitters

Inputs

  @Input() url: string;
  @Input() title: string = 'Inicia sesiĆ³n con Google';
  @Input() style: StyleType = StyleType.STYLE1;

Outputs

   @Output() loginEmitter = new EventEmitter<ResponseEmitter>();

Models

Enums

export enum Status {
  WAITING,
  SUCCESS,
  ERROR
}

export enum StyleType {
  STYLE1,
  STYLE2
}

Interfaces

export interface ResponseEmitter {
  status: Status;
  loading: boolean;
  response?: any;
}

Release History

  • 0.0.3

    • Logic and a new style were added
  • 0.0.2

    • First style added
  • 0.0.1

    • Structure was created

Pizza Owner

Andres Felipe Chia Avila