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