Skip to content

Instantly share code, notes, and snippets.

@ssukhpinder
Created July 25, 2020 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssukhpinder/11fd6ad947a214a5818131439e4b92d8 to your computer and use it in GitHub Desktop.
Save ssukhpinder/11fd6ad947a214a5818131439e4b92d8 to your computer and use it in GitHub Desktop.
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class AuthGuardService {
constructor() {
}
getToken() {
//Write authentication service/logic here.
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment