Class TwitterCredentials
java.lang.Object
com.patreonshout.config.credentials.TwitterCredentials
public class TwitterCredentials
extends java.lang.Object
This class holds twitter credential information for the Twitter app we use to create posts on a user's behalf
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringclientIDclientId is the id of our Twitter appprivate java.lang.StringclientSecretclientSecret is the secret of our Twitter appprivate java.lang.StringredirectUriredirectUri is the redirect uri a user is sent to after doing an OAuth -
Constructor Summary
Constructors Constructor Description TwitterCredentials(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 Twitter app -
clientSecret
private final java.lang.String clientSecretclientSecret is the secret of our Twitter app -
redirectUri
private final java.lang.String redirectUriredirectUri is the redirect uri a user is sent to after doing an OAuth
-
-
Constructor Details
-
TwitterCredentials
public TwitterCredentials(java.lang.String clientID, java.lang.String clientSecret, java.lang.String redirectUri)Sets the Twitter credentials- Parameters:
clientID- is the id of our Twitter appclientSecret- is the secret of our Twitter appredirectUri- is the redirect uri a user is sent to after doing an OAuth
-