UNPKG

angular2-devise-token-auth

Version:

Helper library for working with Devise Token Auth in your Angular 2 applications

13 lines (12 loc) 403 B
import { Headers } from '@angular/http'; import { AuthConfig } from './auth.config'; export declare class SessionController { static config: AuthConfig; constructor(); static userSignedIn(): boolean; static getUserUid(): any; static setUser(headers: Headers): void; static removeUser(): void; static renewAccess(headers: Headers): void; static getAuthHeaders(): any[]; }