Class TestAuthenticationManager
Hierarchy
-
TestAuthenticationManager
Methods
currentSession
- currentSession(): Promise<any>
fetch
- fetch(input: RequestInfo, options?: __type): Promise<Response>
-
Parameters
-
input: RequestInfo
-
Default value options: __type = {}
Returns Promise<Response>
login
- login(options: __type): Promise<any>
-
Parameters
Returns Promise<any>
Test class used only for unit testing, main difference is the ability to authenticate programmatically.