public interface io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth extends io.vertx.ext.auth.oauth2.providers.OpenIDConnectAuth
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth
super_class: java.lang.Object
{
public static io.vertx.ext.auth.oauth2.OAuth2Auth create(io.vertx.core.Vertx, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
invokestatic io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth.create:(Lio/vertx/core/Vertx;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
0 1 1 region Ljava/lang/String;
0 1 2 clientId Ljava/lang/String;
0 1 3 clientSecret Ljava/lang/String;
0 1 4 guid Ljava/lang/String;
MethodParameters:
Name Flags
vertx
region
clientId
clientSecret
guid
public static io.vertx.ext.auth.oauth2.OAuth2Auth create(io.vertx.core.Vertx, java.lang.String, java.lang.String, java.lang.String, java.lang.String, io.vertx.core.http.HttpClientOptions);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "region cannot be null"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new io.vertx.ext.auth.oauth2.OAuth2Options
dup
invokespecial io.vertx.ext.auth.oauth2.OAuth2Options.<init>:()V
3: aload 5
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setHttpClientOptions:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
4: getstatic io.vertx.ext.auth.oauth2.OAuth2FlowType.AUTH_CODE:Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setFlow:(Lio/vertx/ext/auth/oauth2/OAuth2FlowType;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
5: aload 2
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setClientID:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
6: aload 3
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setClientSecret:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
7: aload 4
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setTenant:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
8: new java.lang.StringBuilder
dup
ldc "https://cognito-idp."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".amazonaws.com/{tenant}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setSite:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
9: ldc "/oauth2/token"
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setTokenPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
10: ldc "/oauth2/authorize"
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setAuthorizationPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
11: ldc "/oauth2/userInfo"
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setUserInfoPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
12: ldc "/.well-known/jwks.json"
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setJwkPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
13: ldc "/logout"
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setLogoutPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
14: ldc "+"
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setScopeSeparator:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
15: invokestatic io.vertx.ext.auth.oauth2.OAuth2Auth.create:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2Options;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
16: areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 vertx Lio/vertx/core/Vertx;
0 17 1 region Ljava/lang/String;
0 17 2 clientId Ljava/lang/String;
0 17 3 clientSecret Ljava/lang/String;
0 17 4 userPoolId Ljava/lang/String;
0 17 5 httpClientOptions Lio/vertx/core/http/HttpClientOptions;
MethodParameters:
Name Flags
vertx
region
clientId
clientSecret
userPoolId
httpClientOptions
public static void discover(io.vertx.core.Vertx, io.vertx.ext.auth.oauth2.OAuth2Options, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.oauth2.OAuth2Auth>>);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2Options;Lio/vertx/core/Handler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
1: new io.vertx.ext.auth.oauth2.OAuth2Options
dup
aload 1
invokespecial io.vertx.ext.auth.oauth2.OAuth2Options.<init>:(Lio/vertx/ext/auth/oauth2/OAuth2Options;)V
2: ldc "+"
invokevirtual io.vertx.ext.auth.oauth2.OAuth2Options.setScopeSeparator:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2Options;
3: aload 2
4: invokestatic io.vertx.ext.auth.oauth2.providers.OpenIDConnectAuth.discover:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2Options;Lio/vertx/core/Handler;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 vertx Lio/vertx/core/Vertx;
0 6 1 config Lio/vertx/ext/auth/oauth2/OAuth2Options;
0 6 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/oauth2/OAuth2Auth;>;>;
Signature: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2Options;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/oauth2/OAuth2Auth;>;>;)V
MethodParameters:
Name Flags
vertx final
config final
handler final
public static io.vertx.core.Future<io.vertx.ext.auth.oauth2.OAuth2Auth> discover(io.vertx.core.Vertx, io.vertx.ext.auth.oauth2.OAuth2Options);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2Options;)Lio/vertx/core/Future;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokestatic io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth.discover:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2Options;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 vertx Lio/vertx/core/Vertx;
0 3 1 config Lio/vertx/ext/auth/oauth2/OAuth2Options;
1 3 2 promise Lio/vertx/core/Promise<Lio/vertx/ext/auth/oauth2/OAuth2Auth;>;
Signature: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2Options;)Lio/vertx/core/Future<Lio/vertx/ext/auth/oauth2/OAuth2Auth;>;
MethodParameters:
Name Flags
vertx final
config final
}
SourceFile: "AmazonCognitoAuth.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()