Package com.patreonshout.beans
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 tokenprotected int
expiresIn
Holds the expiration date for when we need to refresh the access_tokenprotected java.lang.String
refreshToken
Holds the Patreon content creator's refresh tokenprotected java.lang.String
scope
Holds the scope we are provided for the Patreon API per content creatorprotected WebAccount
webAccount
webAccount is theWebAccount
object linked with this objectprotected int
webAccountId
Holds the ID of theWebAccount
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 webAccountIdHolds the ID of theWebAccount
this object belongs to -
accessToken
protected java.lang.String accessTokenHolds the Patreon content creator's access token -
refreshToken
protected java.lang.String refreshTokenHolds the Patreon content creator's refresh token -
scope
protected java.lang.String scopeHolds the scope we are provided for the Patreon API per content creator -
expiresIn
protected int expiresInHolds the expiration date for when we need to refresh the access_token -
webAccount
webAccount is theWebAccount
object linked with this object
-
-
Constructor Details
-
PatreonTokens
public PatreonTokens()
-