public class IBMCloudAuth extends OpenIDConnectAuth
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<IBMCloudAuth> |
__TYPE_ARG |
Constructor and Description |
---|
IBMCloudAuth(IBMCloudAuth delegate) |
IBMCloudAuth(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static OAuth2Auth |
create(Vertx vertx,
String region,
String clientId,
String clientSecret,
String guid)
Create a OAuth2Auth provider for IBM Cloud
|
static OAuth2Auth |
create(Vertx vertx,
String region,
String clientId,
String clientSecret,
String guid,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for IBM Cloud
|
static Single<OAuth2Auth> |
discover(Vertx vertx,
OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
boolean |
equals(Object o) |
IBMCloudAuth |
getDelegate() |
int |
hashCode() |
static IBMCloudAuth |
newInstance(IBMCloudAuth 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<IBMCloudAuth> __TYPE_ARG
public IBMCloudAuth(IBMCloudAuth delegate)
public IBMCloudAuth(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 IBMCloudAuth getDelegate()
getDelegate
in class OpenIDConnectAuth
public static OAuth2Auth create(Vertx vertx, String region, String clientId, String clientSecret, String guid)
vertx
- region
- the region to useclientId
- the client id given to you by IBM CloudclientSecret
- the client secret given to you by IBM Cloudguid
- the guid of your application given to you by IBM Cloudpublic static OAuth2Auth create(Vertx vertx, String region, String clientId, String clientSecret, String guid, HttpClientOptions httpClientOptions)
vertx
- region
- the region to useclientId
- the client id given to you by IBM CloudclientSecret
- the client secret given to you by IBM Cloudguid
- the guid of your application given to you by IBM CloudhttpClientOptions
- custom http client optionspublic static Single<OAuth2Auth> 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 IBMCloudAuth newInstance(IBMCloudAuth arg)
Copyright © 2023 Eclipse. All rights reserved.