public class io.vertx.ext.auth.oauth2.Oauth2Credentials implements io.vertx.ext.auth.authentication.Credentials
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.auth.oauth2.Oauth2Credentials
super_class: java.lang.Object
{
private java.lang.String code;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String redirectUri;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.json.JsonObject ;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$io$vertx$ext$auth$oauth2$OAuth2FlowType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
public void <init>(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual io.vertx.core.json.JsonObject.iterator:()Ljava/util/Iterator;
astore 3
goto 15
StackMap locals: io.vertx.ext.auth.oauth2.Oauth2Credentials io.vertx.core.json.JsonObject top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
dup
astore 4
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
3059181: 4
951230089: 5
default: 12
}
StackMap locals: io.vertx.ext.auth.oauth2.Oauth2Credentials io.vertx.core.json.JsonObject java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
4: aload 4
ldc "code"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 12
StackMap locals:
StackMap stack:
5: aload 4
ldc "redirect_uri"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 12
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 15
7: aload 0
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.ext.auth.oauth2.Oauth2Credentials.setCode:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
pop
8: goto 15
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
instanceof java.lang.String
ifeq 15
10: aload 0
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.ext.auth.oauth2.Oauth2Credentials.setRedirectUri:(Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
pop
11: goto 15
12: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.extra:Lio/vertx/core/json/JsonObject;
ifnonnull 14
13: aload 0
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
putfield io.vertx.ext.auth.oauth2.Oauth2Credentials.extra:Lio/vertx/core/json/JsonObject;
14: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.extra:Lio/vertx/core/json/JsonObject;
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
end local 2 15: StackMap locals: io.vertx.ext.auth.oauth2.Oauth2Credentials io.vertx.core.json.JsonObject top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
0 17 1 jsonObject Lio/vertx/core/json/JsonObject;
3 15 2 member Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
jsonObject
public java.lang.String getCode();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.code:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
public io.vertx.ext.auth.oauth2.Oauth2Credentials setCode(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.auth.oauth2.Oauth2Credentials.code:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
0 2 1 code Ljava/lang/String;
MethodParameters:
Name Flags
code
public java.lang.String getRedirectUri();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.redirectUri:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
public io.vertx.ext.auth.oauth2.Oauth2Credentials setRedirectUri(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.auth.oauth2.Oauth2Credentials.redirectUri:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
0 2 1 redirectUri Ljava/lang/String;
MethodParameters:
Name Flags
redirectUri
public io.vertx.core.json.JsonObject ();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.extra:Lio/vertx/core/json/JsonObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
public io.vertx.ext.auth.oauth2.Oauth2Credentials (io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.auth.oauth2.Oauth2Credentials.extra:Lio/vertx/core/json/JsonObject;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
0 2 1 extra Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
extra
public io.vertx.core.json.JsonObject toJson();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual io.vertx.ext.auth.oauth2.Oauth2Credentials.getCode:()Ljava/lang/String;
ifnull 3
2: aload 1
ldc "code"
aload 0
invokevirtual io.vertx.ext.auth.oauth2.Oauth2Credentials.getCode:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
3: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
aload 0
invokevirtual io.vertx.ext.auth.oauth2.Oauth2Credentials.getRedirectUri:()Ljava/lang/String;
ifnull 5
4: aload 1
ldc "redirect_uri"
aload 0
invokevirtual io.vertx.ext.auth.oauth2.Oauth2Credentials.getRedirectUri:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.extra:Lio/vertx/core/json/JsonObject;
ifnull 7
6: aload 1
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.extra:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.mergeIn:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
pop
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
1 8 1 json Lio/vertx/core/json/JsonObject;
public <V> void checkValid();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast io.vertx.ext.auth.oauth2.OAuth2FlowType
astore 2
start local 2 1: invokestatic io.vertx.ext.auth.oauth2.Oauth2Credentials.$SWITCH_TABLE$io$vertx$ext$auth$oauth2$OAuth2FlowType:()[I
aload 2
invokevirtual io.vertx.ext.auth.oauth2.OAuth2FlowType.ordinal:()I
iaload
tableswitch { // 1 - 1
1: 2
default: 6
}
2: StackMap locals: io.vertx.ext.auth.oauth2.OAuth2FlowType
StackMap stack:
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.code:Ljava/lang/String;
ifnull 3
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.code:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals:
StackMap stack:
new io.vertx.ext.auth.authentication.CredentialValidationException
dup
ldc "code cannot be null or empty"
invokespecial io.vertx.ext.auth.authentication.CredentialValidationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.redirectUri:Ljava/lang/String;
ifnull 6
aload 0
getfield io.vertx.ext.auth.oauth2.Oauth2Credentials.redirectUri:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 6
5: new io.vertx.ext.auth.authentication.CredentialValidationException
dup
ldc "redirectUri cannot be empty"
invokespecial io.vertx.ext.auth.authentication.CredentialValidationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
0 7 1 arg TV;
1 7 2 flow Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
Exceptions:
throws io.vertx.ext.auth.authentication.CredentialValidationException
Signature: <V:Ljava/lang/Object;>(TV;)V
MethodParameters:
Name Flags
arg
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.auth.oauth2.Oauth2Credentials.toJson:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/oauth2/Oauth2Credentials;
static int[] $SWITCH_TABLE$io$vertx$ext$auth$oauth2$OAuth2FlowType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.ext.auth.oauth2.Oauth2Credentials.$SWITCH_TABLE$io$vertx$ext$auth$oauth2$OAuth2FlowType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.ext.auth.oauth2.OAuth2FlowType.values:()[Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.ext.auth.oauth2.OAuth2FlowType.AUTH_CODE:Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2FlowType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.ext.auth.oauth2.OAuth2FlowType.AUTH_JWT:Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2FlowType.ordinal:()I
iconst_5
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.vertx.ext.auth.oauth2.OAuth2FlowType.CLIENT:Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2FlowType.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.vertx.ext.auth.oauth2.OAuth2FlowType.IMPLICIT:Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2FlowType.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic io.vertx.ext.auth.oauth2.OAuth2FlowType.PASSWORD:Lio/vertx/ext/auth/oauth2/OAuth2FlowType;
invokevirtual io.vertx.ext.auth.oauth2.OAuth2FlowType.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic io.vertx.ext.auth.oauth2.Oauth2Credentials.$SWITCH_TABLE$io$vertx$ext$auth$oauth2$OAuth2FlowType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "Oauth2Credentials.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.DataObject()