Signin(email: string, password: string): void { let data: Object = { client_id: 2, client_secret: 'vSFxVqALQHjyotPyGfhrGj3ziudUGsts2ZWiAGms', grant_type: 'password', username: email, password: password, }; this._HTTP.post( this.OAuth + 'token', data, {headers: this.Headers} ).toPromise() .then( (_response) => { console.log (_response); }); } LaravelPassportHttpMiddlewareCreateFreshApiToken::class,