public class UserAuthorization extends Authorization
| Modifier and Type | Field and Description |
|---|---|
static byte |
ID |
| Constructor and Description |
|---|
UserAuthorization(int expires,
TimeUnit expiresUnit) |
| Modifier and Type | Method and Description |
|---|---|
static UserAuthorization |
fromBuffer(ByteBuffer buffer) |
protected int |
getBufferSize() |
void |
getBytes(ByteBuffer buffer) |
byte |
getId() |
asHexToken, canCheckin, canDownload, canReadExtendedData, canWriteExtendedData, fromToken, getExpires, getUoid, getUsername, hasRightsOnProject, hasRightsOnProjectOrSubProjects, hasRightsOnProjectOrSuperProjects, hasRightsOnProjectOrSuperProjectsOrSubProjects, setUoid, setUsernamepublic static final byte ID
public UserAuthorization(int expires,
TimeUnit expiresUnit)
public static UserAuthorization fromBuffer(ByteBuffer buffer)
public byte getId()
getId in class Authorizationprotected int getBufferSize()
getBufferSize in class Authorizationpublic void getBytes(ByteBuffer buffer)
getBytes in class AuthorizationCopyright © 2019 OpenSource BIM. All rights reserved.