public interface Bimsie1AuthInterface extends PublicInterface
| Modifier and Type | Method and Description |
|---|---|
SAccessMethod |
getAccessMethod() |
Boolean |
isLoggedIn()
Check whether the server considers the user (token) as logged-in
|
String |
login(String username,
String password)
Login with a username/password combination
|
String |
loginUserToken(String token)
Login with a user-token
|
void |
logout()
Logout
|
String login(String username, String password) throws ServerException, UserException
username - The username (must be a valid e-mail address)password - The passwordServerException, - UserExceptionServerExceptionUserExceptionvoid logout()
throws ServerException,
UserException
ServerException, - UserExceptionServerExceptionUserExceptionBoolean isLoggedIn() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionSAccessMethod getAccessMethod() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionString loginUserToken(String token) throws ServerException, UserException
token - ServerExceptionUserExceptionCopyright © 2016 OpenSource BIM. All rights reserved.