Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<TwitterAuth> |
__TYPE_ARG |
Constructor and Description |
---|
TwitterAuth(Object delegate) |
TwitterAuth(TwitterAuth delegate) |
Modifier and Type | Method and Description |
---|---|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret)
Create a OAuth2Auth provider for Twitter
|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Twitter
|
boolean |
equals(Object o) |
TwitterAuth |
getDelegate() |
int |
hashCode() |
static TwitterAuth |
newInstance(TwitterAuth arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<TwitterAuth> __TYPE_ARG
public TwitterAuth(TwitterAuth delegate)
public TwitterAuth(Object delegate)
public TwitterAuth getDelegate()
public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
vertx
- clientId
- the client id given to you by TwitterclientSecret
- the client secret given to you by Twitterpublic static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
vertx
- clientId
- the client id given to you by TwitterclientSecret
- the client secret given to you by TwitterhttpClientOptions
- custom http client optionspublic static TwitterAuth newInstance(TwitterAuth arg)
Copyright © 2021 Eclipse. All rights reserved.