Package eu.webtoolkit.jwt.auth.jpa
Class AuthIdentity
java.lang.Object
eu.webtoolkit.jwt.auth.jpa.AuthIdentity
A JPA implementation for an authentication identity
This class is used by
AuthInfo
, and stores identities.-
Constructor Summary
ConstructorDescriptionDefault constructor.AuthIdentity
(String provider, String identity) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the identity owner.long
getId()
int
void
setAuthInfo
(AuthInfo info) Set the identity owner.void
setId
(long id) void
setIdentity
(String identity) void
setProvider
(String provider) void
setVersion
(int version)
-
Constructor Details
-
AuthIdentity
public AuthIdentity()Default constructor. -
AuthIdentity
Constructor.
-
-
Method Details
-
getAuthInfo
Returns the identity owner. -
setAuthInfo
Set the identity owner. -
getProvider
-
setProvider
-
getIdentity
-
setIdentity
-
getId
public long getId() -
setId
public void setId(long id) -
getVersion
public int getVersion() -
setVersion
public void setVersion(int version)
-