Interface AuthMonitor
-
- All Known Implementing Classes:
StitchAppClientImpl,StitchAppClientImpl
public interface AuthMonitor
-
-
Method Summary
Modifier and Type Method Description StringgetActiveUserId()Get the active user id from the applications auth request client.booleanisLoggedIn()Get whether or not the application client is currently logged in.booleantryIsLoggedIn()Get whether or not the application client is currently logged in.
-
-
-
Method Detail
-
isLoggedIn
boolean isLoggedIn() throws InterruptedExceptionGet 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
-
-