Interface AuthMonitor
-
- All Known Implementing Classes:
StitchAppClientImpl
,StitchAppClientImpl
public interface AuthMonitor
-
-
Method Summary
Modifier and Type Method Description String
getActiveUserId()
Get the active user id from the applications auth request client.boolean
isLoggedIn()
Get whether or not the application client is currently logged in.boolean
tryIsLoggedIn()
Get whether or not the application client is currently logged in.
-
-
-
Method Detail
-
isLoggedIn
boolean isLoggedIn() throws InterruptedException
Get whether or not the application client is currently logged in.- Returns:
- whether or not the application client is logged in
- Throws:
InterruptedException
- will throw interruptibly
-
tryIsLoggedIn
boolean tryIsLoggedIn()
Get whether or not the application client is currently logged in.- Returns:
- whether or not the application client is logged in, or false if the thread was interrupted
-
-