public interface io.vertx.ext.auth.oauth2.OAuth2Auth extends io.vertx.ext.auth.AuthProvider
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.ext.auth.oauth2.OAuth2Auth
super_class: java.lang.Object
{
public static io.vertx.ext.auth.oauth2.OAuth2Auth createKeycloak(io.vertx.core.Vertx, io.vertx.ext.auth.oauth2.OAuth2FlowType, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2FlowType;Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.ext.auth.oauth2.OAuth2ClientOptions
dup
invokespecial io.vertx.ext.auth.oauth2.OAuth2ClientOptions.<init>:()V
astore 3
start local 3 1: aload 2
ldc "auth-server-url"
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifeq 3
2: aload 3
aload 2
ldc "auth-server-url"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setSite:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
3: StackMap locals: io.vertx.ext.auth.oauth2.OAuth2ClientOptions
StackMap stack:
aload 2
ldc "resource"
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifeq 5
4: aload 3
aload 2
ldc "resource"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setClientID:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
5: StackMap locals:
StackMap stack:
aload 2
ldc "credentials"
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifeq 7
aload 2
ldc "credentials"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "secret"
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifeq 7
6: aload 3
aload 2
ldc "credentials"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "secret"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setClientSecret:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
7: StackMap locals:
StackMap stack:
aload 2
ldc "public-client"
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifeq 9
aload 2
ldc "public-client"
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 9
8: aload 3
iconst_1
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setUseBasicAuthorizationHeader:(Z)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
9: StackMap locals:
StackMap stack:
aload 2
ldc "realm"
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifeq 16
10: aload 2
ldc "realm"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 11: aload 3
new java.lang.StringBuilder
dup
ldc "/realms/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/protocol/openid-connect/auth"
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.OAuth2ClientOptions.setAuthorizationPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
12: aload 3
new java.lang.StringBuilder
dup
ldc "/realms/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/protocol/openid-connect/token"
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.OAuth2ClientOptions.setTokenPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
13: aload 3
aconst_null
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setRevocationPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
14: aload 3
new java.lang.StringBuilder
dup
ldc "/realms/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/protocol/openid-connect/logout"
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.OAuth2ClientOptions.setLogoutPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
15: aload 3
new java.lang.StringBuilder
dup
ldc "/realms/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/protocol/openid-connect/userinfo"
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.OAuth2ClientOptions.setUserInfoPath:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
end local 4 16: StackMap locals:
StackMap stack:
aload 2
ldc "realm-public-key"
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifeq 21
17: aload 3
new io.vertx.ext.auth.PubSecKeyOptions
dup
invokespecial io.vertx.ext.auth.PubSecKeyOptions.<init>:()V
18: ldc "RS256"
invokevirtual io.vertx.ext.auth.PubSecKeyOptions.setAlgorithm:(Ljava/lang/String;)Lio/vertx/ext/auth/PubSecKeyOptions;
19: aload 2
ldc "realm-public-key"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual io.vertx.ext.auth.PubSecKeyOptions.setPublicKey:(Ljava/lang/String;)Lio/vertx/ext/auth/PubSecKeyOptions;
20: invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.addPubSecKey:(Lio/vertx/ext/auth/PubSecKeyOptions;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
pop
21: StackMap locals:
StackMap stack:
new io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl
dup
aload 0
aload 3
aload 1
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setFlow:(Lio/vertx/ext/auth/oauth2/OAuth2FlowType;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
invokespecial io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 vertx Lio/vertx/core/Vertx;
0 22 1 flow Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
0 22 2 config Lio/vertx/core/json/JsonObject;
1 22 3 options Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
11 16 4 realm Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
vertx
flow
config
public static io.vertx.ext.auth.oauth2.OAuth2Auth create(io.vertx.core.Vertx, io.vertx.ext.auth.oauth2.OAuth2FlowType, io.vertx.ext.auth.oauth2.OAuth2ClientOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2FlowType;Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl
dup
aload 0
aload 2
aload 1
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setFlow:(Lio/vertx/ext/auth/oauth2/OAuth2FlowType;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
invokespecial io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;)V
areturn
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 flow Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
0 1 2 config Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
vertx
flow
config
public static io.vertx.ext.auth.oauth2.OAuth2Auth create(io.vertx.core.Vertx, io.vertx.ext.auth.oauth2.OAuth2FlowType);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2FlowType;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl
dup
aload 0
new io.vertx.ext.auth.oauth2.OAuth2ClientOptions
dup
invokespecial io.vertx.ext.auth.oauth2.OAuth2ClientOptions.<init>:()V
aload 1
invokevirtual io.vertx.ext.auth.oauth2.OAuth2ClientOptions.setFlow:(Lio/vertx/ext/auth/oauth2/OAuth2FlowType;)Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
invokespecial io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
0 1 1 flow Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
vertx
flow
public static io.vertx.ext.auth.oauth2.OAuth2Auth create(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new io.vertx.ext.auth.oauth2.OAuth2ClientOptions
dup
invokespecial io.vertx.ext.auth.oauth2.OAuth2ClientOptions.<init>:()V
invokestatic io.vertx.ext.auth.oauth2.OAuth2Auth.create:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public static io.vertx.ext.auth.oauth2.OAuth2Auth create(io.vertx.core.Vertx, io.vertx.ext.auth.oauth2.OAuth2ClientOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl
dup
aload 0
aload 1
invokespecial io.vertx.ext.auth.oauth2.impl.OAuth2AuthProviderImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
0 1 1 config Lio/vertx/ext/auth/oauth2/OAuth2ClientOptions;
MethodParameters:
Name Flags
vertx
config
public abstract java.lang.String authorizeURL(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
params
public abstract void getToken(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.oauth2.AccessToken>>);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/oauth2/AccessToken;>;>;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
params
handler
public abstract io.vertx.ext.auth.oauth2.OAuth2Auth decodeToken(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.oauth2.AccessToken>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/oauth2/AccessToken;>;>;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
java.lang.Deprecated()
MethodParameters:
Name Flags
token
handler
public io.vertx.ext.auth.oauth2.OAuth2Auth introspectToken(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.oauth2.AccessToken>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
ldc "access_token"
aload 2
invokeinterface io.vertx.ext.auth.oauth2.OAuth2Auth.introspectToken:(Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/oauth2/OAuth2Auth;
0 1 1 token Ljava/lang/String;
0 1 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/oauth2/AccessToken;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/oauth2/AccessToken;>;>;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
token
handler
public abstract io.vertx.ext.auth.oauth2.OAuth2Auth introspectToken(java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.oauth2.AccessToken>>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/oauth2/AccessToken;>;>;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
token
tokenType
handler
public abstract java.lang.String getScopeSeparator();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public abstract io.vertx.ext.auth.oauth2.OAuth2FlowType getFlowType();
descriptor: ()Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract io.vertx.ext.auth.oauth2.OAuth2Auth loadJWK(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
handler
public abstract io.vertx.ext.auth.oauth2.OAuth2Auth rbacHandler(io.vertx.ext.auth.oauth2.OAuth2RBAC);
descriptor: (Lio/vertx/ext/auth/oauth2/OAuth2RBAC;)Lio/vertx/ext/auth/oauth2/OAuth2Auth;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
rbac
}
SourceFile: "OAuth2Auth.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()