public class SystemAuthorization extends Authorization
| Modifier and Type | Field and Description |
|---|---|
static byte |
ID |
| Constructor and Description |
|---|
SystemAuthorization(int expires,
TimeUnit expiresUnit) |
| Modifier and Type | Method and Description |
|---|---|
static SystemAuthorization |
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 SystemAuthorization(int expires,
TimeUnit expiresUnit)
public static SystemAuthorization 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.