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.StringaccessTokenHolds the Patreon content creator's access tokenprotected intexpiresInHolds the expiration date for when we need to refresh the access_tokenprotected java.lang.StringrefreshTokenHolds the Patreon content creator's refresh tokenprotected java.lang.StringscopeHolds the scope we are provided for the Patreon API per content creatorprotected WebAccountwebAccountwebAccount is theWebAccountobject linked with this objectprotected intwebAccountIdHolds the ID of theWebAccountthis 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 theWebAccountthis 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 theWebAccountobject linked with this object
-
-
Constructor Details
-
PatreonTokens
public PatreonTokens()
-