Created
July 25, 2020 11:28
-
-
Save ssukhpinder/11fd6ad947a214a5818131439e4b92d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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