File

src/lib/register.service.ts

Index

Methods

Constructor

constructor()

Methods

Public register
register(email: string, password: string)
Parameters :
Name Type Optional
email string No
password string No
Returns : Promise<boolean>
import { Injectable } from '@angular/core';

@Injectable({ providedIn: 'root' })
/* ignore coverage */
export class RegisterService {

  constructor() {
    console.warn('The default RegisterService implementation should only be used in a development environment!');
  }

  public register(email: string, password: string): Promise<boolean> {
    return Promise.resolve(true);
  }

}

results matching ""

    No results matching ""