Class AuthIdentity

java.lang.Object
eu.webtoolkit.jwt.auth.jpa.AuthIdentity

public class AuthIdentity extends Object
A JPA implementation for an authentication identity This class is used by AuthInfo, and stores identities.
  • Constructor Details

    • AuthIdentity

      public AuthIdentity()
      Default constructor.
    • AuthIdentity

      public AuthIdentity(String provider, String identity)
      Constructor.
  • Method Details

    • getAuthInfo

      public AuthInfo getAuthInfo()
      Returns the identity owner.
    • setAuthInfo

      public void setAuthInfo(AuthInfo info)
      Set the identity owner.
    • getProvider

      public String getProvider()
    • setProvider

      public void setProvider(String provider)
    • getIdentity

      public String getIdentity()
    • setIdentity

      public void setIdentity(String identity)
    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getVersion

      public int getVersion()
    • setVersion

      public void setVersion(int version)