
public class JsonWebToken extends Object implements com.orientechnologies.orient.core.metadata.security.jwt.OJsonWebToken, com.orientechnologies.orient.core.metadata.security.OToken
| Modifier and Type | Field and Description |
|---|---|
com.orientechnologies.orient.core.metadata.security.jwt.OJwtHeader |
header |
com.orientechnologies.orient.core.metadata.security.jwt.OJwtPayload |
payload |
| Constructor and Description |
|---|
JsonWebToken() |
JsonWebToken(com.orientechnologies.orient.core.metadata.security.jwt.OJwtHeader header,
com.orientechnologies.orient.core.metadata.security.jwt.OJwtPayload payload) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatabase() |
String |
getDatabaseType() |
long |
getExpiry() |
com.orientechnologies.orient.core.metadata.security.jwt.OJwtHeader |
getHeader() |
boolean |
getIsValid() |
boolean |
getIsVerified() |
com.orientechnologies.orient.core.metadata.security.jwt.OJwtPayload |
getPayload() |
com.orientechnologies.orient.core.metadata.security.OUser |
getUser(ODatabaseDocumentInternal db) |
com.orientechnologies.orient.core.id.ORID |
getUserId() |
String |
getUserName() |
boolean |
isNowValid() |
void |
setExpiry(long expiry) |
void |
setIsValid(boolean valid) |
void |
setIsVerified(boolean verified) |
public final com.orientechnologies.orient.core.metadata.security.jwt.OJwtHeader header
public final com.orientechnologies.orient.core.metadata.security.jwt.OJwtPayload payload
public JsonWebToken()
public JsonWebToken(com.orientechnologies.orient.core.metadata.security.jwt.OJwtHeader header,
com.orientechnologies.orient.core.metadata.security.jwt.OJwtPayload payload)
public com.orientechnologies.orient.core.metadata.security.jwt.OJwtHeader getHeader()
getHeader in interface com.orientechnologies.orient.core.metadata.security.jwt.OJsonWebTokenpublic com.orientechnologies.orient.core.metadata.security.jwt.OJwtPayload getPayload()
getPayload in interface com.orientechnologies.orient.core.metadata.security.jwt.OJsonWebTokenpublic boolean getIsVerified()
getIsVerified in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic void setIsVerified(boolean verified)
setIsVerified in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic boolean getIsValid()
getIsValid in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic void setIsValid(boolean valid)
setIsValid in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic String getUserName()
getUserName in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic String getDatabase()
getDatabase in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic long getExpiry()
getExpiry in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic com.orientechnologies.orient.core.id.ORID getUserId()
getUserId in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic String getDatabaseType()
getDatabaseType in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic com.orientechnologies.orient.core.metadata.security.OUser getUser(ODatabaseDocumentInternal db)
getUser in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic void setExpiry(long expiry)
setExpiry in interface com.orientechnologies.orient.core.metadata.security.OTokenpublic boolean isNowValid()
isNowValid in interface com.orientechnologies.orient.core.metadata.security.OTokenCopyright © 2009–2018 OrientDB. All rights reserved.