Package org.cyclos.entities.access
Class OidcAccessToken
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.access.OidcAccessToken
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class OidcAccessToken extends NetworkedEntity
An access token is a token obtained after the authorization process
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description OidcAccessToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OidcAuthorizationgetAuthorization()DategetCreationDate()DategetExpirationDate()StringgetIdToken()NetworkgetNetwork()Returns the network this entity belongs toStringgetTokenValue()voidsetAuthorization(OidcAuthorization authorization)voidsetCreationDate(Date creationDate)voidsetExpirationDate(Date expirationDate)voidsetIdToken(String idToken)voidsetTokenValue(String accessToken)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAuthorization
public OidcAuthorization getAuthorization()
-
getCreationDate
public Date getCreationDate()
-
getExpirationDate
public Date getExpirationDate()
-
getIdToken
public String getIdToken()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getTokenValue
public String getTokenValue()
-
setAuthorization
public void setAuthorization(OidcAuthorization authorization)
-
setCreationDate
public void setCreationDate(Date creationDate)
-
setExpirationDate
public void setExpirationDate(Date expirationDate)
-
setIdToken
public void setIdToken(String idToken)
-
setTokenValue
public void setTokenValue(String accessToken)
-
-