Skip to content

Instantly share code, notes, and snippets.

@jakerobers
Created April 19, 2020 16:10
Show Gist options
  • Save jakerobers/842e0f9270a7d87d4ef5592340ab6c2a to your computer and use it in GitHub Desktop.
Save jakerobers/842e0f9270a7d87d4ef5592340ab6c2a to your computer and use it in GitHub Desktop.
export interface AuthService {
login(): Promise<void>;
logout(): Promise<void>;
isAuthenticated(): Promise<boolean>;
getJwtToken(): Promise<string>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment