Class PatreonCredentials
java.lang.Object
com.patreonshout.config.credentials.PatreonCredentials
public class PatreonCredentials
extends java.lang.Object
This class holds Patreon credential information for the Patreon client we use to create posts on a user's behalf
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
clientID
clientId is the id of our Patreon clientprivate java.lang.String
clientSecret
clientSecret is the secret of our Patreon clientprivate java.lang.String
redirectUri
redirectUri is the redirect uri a user is sent to after doing an OAuth -
Constructor Summary
Constructors Constructor Description PatreonCredentials(java.lang.String clientID, java.lang.String clientSecret, java.lang.String redirectUri)
Sets the Twitter credentials -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
clientID
private final java.lang.String clientIDclientId is the id of our Patreon client -
clientSecret
private final java.lang.String clientSecretclientSecret is the secret of our Patreon client -
redirectUri
private final java.lang.String redirectUriredirectUri is the redirect uri a user is sent to after doing an OAuth
-
-
Constructor Details
-
PatreonCredentials
public PatreonCredentials(java.lang.String clientID, java.lang.String clientSecret, java.lang.String redirectUri)Sets the Twitter credentials- Parameters:
clientID
- is the id of our Patreon clientclientSecret
- is the secret of our Patreon clientredirectUri
- is the redirect uri a user is sent to after doing an OAuth
-