public class SalesforceAuth extends OpenIDConnectAuth
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<SalesforceAuth> |
__TYPE_ARG |
Constructor and Description |
---|
SalesforceAuth(Object delegate) |
SalesforceAuth(SalesforceAuth delegate) |
Modifier and Type | Method and Description |
---|---|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret)
Create a OAuth2Auth provider for Salesforce
|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Salesforce
|
static void |
discover(Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static void |
discover(Vertx vertx,
OAuth2Options config,
Handler<AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
boolean |
equals(Object o) |
SalesforceAuth |
getDelegate() |
int |
hashCode() |
static SalesforceAuth |
newInstance(SalesforceAuth arg) |
static Single<OAuth2Auth> |
rxDiscover(Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
String |
toString() |
newInstance
public static final io.vertx.lang.rx.TypeArg<SalesforceAuth> __TYPE_ARG
public SalesforceAuth(SalesforceAuth delegate)
public SalesforceAuth(Object delegate)
public String toString()
toString
in class OpenIDConnectAuth
public boolean equals(Object o)
equals
in class OpenIDConnectAuth
public int hashCode()
hashCode
in class OpenIDConnectAuth
public SalesforceAuth getDelegate()
getDelegate
in class OpenIDConnectAuth
public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
vertx
- clientId
- the client id given to you by SalesforceclientSecret
- the client secret given to you by Salesforcepublic static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, HttpClientOptions httpClientOptions)
vertx
- clientId
- the client id given to you by SalesforceclientSecret
- the client secret given to you by SalesforcehttpClientOptions
- custom http client optionspublic static void discover(Vertx vertx, OAuth2Options config, Handler<AsyncResult<OAuth2Auth>> handler)
If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded into the OAuth provider so tokens can be decoded.
vertx
- the vertx instanceconfig
- the initial confighandler
- the instantiated Oauth2 provider instance handlerpublic static void discover(Vertx vertx, OAuth2Options config)
If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded into the OAuth provider so tokens can be decoded.
vertx
- the vertx instanceconfig
- the initial configpublic static Single<OAuth2Auth> rxDiscover(Vertx vertx, OAuth2Options config)
If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded into the OAuth provider so tokens can be decoded.
vertx
- the vertx instanceconfig
- the initial configpublic static SalesforceAuth newInstance(SalesforceAuth arg)
Copyright © 2024 Eclipse. All rights reserved.