Class PatreonTokens

java.lang.Object
com.patreonshout.beans.PatreonTokens

@Entity
public class PatreonTokens
extends java.lang.Object
POJO that relates to the creator_tokens table in our database
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String accessToken
    Holds the Patreon content creator's access token
    protected int expiresIn
    Holds the expiration date for when we need to refresh the access_token
    protected java.lang.String refreshToken
    Holds the Patreon content creator's refresh token
    protected java.lang.String scope
    Holds the scope we are provided for the Patreon API per content creator
    protected WebAccount webAccount
    webAccount is the WebAccount object linked with this object
    protected int webAccountId
    Holds the ID of the WebAccount this object belongs to
  • Constructor Summary

    Constructors
    Constructor Description
    PatreonTokens()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • webAccountId

      protected int webAccountId
      Holds the ID of the WebAccount this object belongs to
    • accessToken

      protected java.lang.String accessToken
      Holds the Patreon content creator's access token
    • refreshToken

      protected java.lang.String refreshToken
      Holds the Patreon content creator's refresh token
    • scope

      protected java.lang.String scope
      Holds the scope we are provided for the Patreon API per content creator
    • expiresIn

      protected int expiresIn
      Holds the expiration date for when we need to refresh the access_token
    • webAccount

      protected WebAccount webAccount
      webAccount is the WebAccount object linked with this object
  • Constructor Details

    • PatreonTokens

      public PatreonTokens()