class com.mongodb.internal.connection.NativeAuthenticator extends com.mongodb.internal.connection.Authenticator
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.internal.connection.NativeAuthenticator
  super_class: com.mongodb.internal.connection.Authenticator
{
  void <init>(com.mongodb.internal.connection.MongoCredentialWithCache);
    descriptor: (Lcom/mongodb/internal/connection/MongoCredentialWithCache;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.NativeAuthenticator this
        start local 1 // com.mongodb.internal.connection.MongoCredentialWithCache credential
         0: .line 33
            aload 0 /* this */
            aload 1 /* credential */
            invokespecial com.mongodb.internal.connection.Authenticator.<init>:(Lcom/mongodb/internal/connection/MongoCredentialWithCache;)V
         1: .line 34
            return
        end local 1 // com.mongodb.internal.connection.MongoCredentialWithCache credential
        end local 0 // com.mongodb.internal.connection.NativeAuthenticator this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Lcom/mongodb/internal/connection/NativeAuthenticator;
            0    2     1  credential  Lcom/mongodb/internal/connection/MongoCredentialWithCache;
    MethodParameters:
            Name  Flags
      credential  final

  public void authenticate(com.mongodb.internal.connection.InternalConnection, com.mongodb.connection.ConnectionDescription);
    descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // com.mongodb.internal.connection.NativeAuthenticator this
        start local 1 // com.mongodb.internal.connection.InternalConnection connection
        start local 2 // com.mongodb.connection.ConnectionDescription connectionDescription
         0: .line 39
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getMongoCredential:()Lcom/mongodb/MongoCredential;
            invokevirtual com.mongodb.MongoCredential.getSource:()Ljava/lang/String;
         1: .line 40
            invokestatic com.mongodb.internal.authentication.NativeAuthenticationHelper.getNonceCommand:()Lorg/bson/BsonDocument;
         2: .line 41
            aload 1 /* connection */
         3: .line 39
            invokestatic com.mongodb.internal.connection.CommandHelper.executeCommand:(Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/internal/connection/InternalConnection;)Lorg/bson/BsonDocument;
            astore 3 /* nonceResponse */
        start local 3 // org.bson.BsonDocument nonceResponse
         4: .line 43
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getUserNameNonNull:()Ljava/lang/String;
         5: .line 44
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getPasswordNonNull:()[C
         6: .line 45
            aload 3 /* nonceResponse */
            ldc "nonce"
            invokevirtual org.bson.BsonDocument.get:(Ljava/lang/Object;)Lorg/bson/BsonValue;
            checkcast org.bson.BsonString
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
         7: .line 43
            invokestatic com.mongodb.internal.authentication.NativeAuthenticationHelper.getAuthCommand:(Ljava/lang/String;[CLjava/lang/String;)Lorg/bson/BsonDocument;
            astore 4 /* authCommand */
        start local 4 // org.bson.BsonDocument authCommand
         8: .line 46
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getMongoCredential:()Lcom/mongodb/MongoCredential;
            invokevirtual com.mongodb.MongoCredential.getSource:()Ljava/lang/String;
            aload 4 /* authCommand */
            aload 1 /* connection */
            invokestatic com.mongodb.internal.connection.CommandHelper.executeCommand:(Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/internal/connection/InternalConnection;)Lorg/bson/BsonDocument;
            pop
        end local 4 // org.bson.BsonDocument authCommand
        end local 3 // org.bson.BsonDocument nonceResponse
         9: .line 47
            goto 12
      StackMap locals:
      StackMap stack: com.mongodb.MongoCommandException
        10: astore 3 /* e */
        start local 3 // com.mongodb.MongoCommandException e
        11: .line 48
            new com.mongodb.MongoSecurityException
            dup
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getMongoCredential:()Lcom/mongodb/MongoCredential;
            ldc "Exception authenticating"
            aload 3 /* e */
            invokespecial com.mongodb.MongoSecurityException.<init>:(Lcom/mongodb/MongoCredential;Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // com.mongodb.MongoCommandException e
        12: .line 50
      StackMap locals:
      StackMap stack:
            return
        end local 2 // com.mongodb.connection.ConnectionDescription connectionDescription
        end local 1 // com.mongodb.internal.connection.InternalConnection connection
        end local 0 // com.mongodb.internal.connection.NativeAuthenticator this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   13     0                   this  Lcom/mongodb/internal/connection/NativeAuthenticator;
            0   13     1             connection  Lcom/mongodb/internal/connection/InternalConnection;
            0   13     2  connectionDescription  Lcom/mongodb/connection/ConnectionDescription;
            4    9     3          nonceResponse  Lorg/bson/BsonDocument;
            8    9     4            authCommand  Lorg/bson/BsonDocument;
           11   12     3                      e  Lcom/mongodb/MongoCommandException;
      Exception table:
        from    to  target  type
           0     9      10  Class com.mongodb.MongoCommandException
    MethodParameters:
                       Name  Flags
      connection             final
      connectionDescription  final

  void authenticateAsync(com.mongodb.internal.connection.InternalConnection, com.mongodb.connection.ConnectionDescription, com.mongodb.async.SingleResultCallback<java.lang.Void>);
    descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback;)V
    flags: (0x0000) 
    Code:
      stack=8, locals=4, args_size=4
        start local 0 // com.mongodb.internal.connection.NativeAuthenticator this
        start local 1 // com.mongodb.internal.connection.InternalConnection connection
        start local 2 // com.mongodb.connection.ConnectionDescription connectionDescription
        start local 3 // com.mongodb.async.SingleResultCallback callback
         0: .line 55
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getMongoCredential:()Lcom/mongodb/MongoCredential;
            invokevirtual com.mongodb.MongoCredential.getSource:()Ljava/lang/String;
            invokestatic com.mongodb.internal.authentication.NativeAuthenticationHelper.getNonceCommand:()Lorg/bson/BsonDocument;
            aload 1 /* connection */
         1: .line 56
            new com.mongodb.internal.connection.NativeAuthenticator$1
            dup
            aload 0 /* this */
            aload 3 /* callback */
            aload 1 /* connection */
            invokespecial com.mongodb.internal.connection.NativeAuthenticator$1.<init>:(Lcom/mongodb/internal/connection/NativeAuthenticator;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/internal/connection/InternalConnection;)V
         2: .line 55
            invokestatic com.mongodb.internal.connection.CommandHelper.executeCommandAsync:(Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
         3: .line 79
            return
        end local 3 // com.mongodb.async.SingleResultCallback callback
        end local 2 // com.mongodb.connection.ConnectionDescription connectionDescription
        end local 1 // com.mongodb.internal.connection.InternalConnection connection
        end local 0 // com.mongodb.internal.connection.NativeAuthenticator this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    4     0                   this  Lcom/mongodb/internal/connection/NativeAuthenticator;
            0    4     1             connection  Lcom/mongodb/internal/connection/InternalConnection;
            0    4     2  connectionDescription  Lcom/mongodb/connection/ConnectionDescription;
            0    4     3               callback  Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
    Signature: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
    MethodParameters:
                       Name  Flags
      connection             final
      connectionDescription  final
      callback               final

  private java.lang.Throwable translateThrowable(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.NativeAuthenticator this
        start local 1 // java.lang.Throwable t
         0: .line 82
            aload 1 /* t */
            instanceof com.mongodb.MongoCommandException
            ifeq 2
         1: .line 83
            new com.mongodb.MongoSecurityException
            dup
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.NativeAuthenticator.getMongoCredential:()Lcom/mongodb/MongoCredential;
            ldc "Exception authenticating"
            aload 1 /* t */
            invokespecial com.mongodb.MongoSecurityException.<init>:(Lcom/mongodb/MongoCredential;Ljava/lang/String;Ljava/lang/Throwable;)V
            areturn
         2: .line 85
      StackMap locals:
      StackMap stack:
            aload 1 /* t */
            areturn
        end local 1 // java.lang.Throwable t
        end local 0 // com.mongodb.internal.connection.NativeAuthenticator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/mongodb/internal/connection/NativeAuthenticator;
            0    3     1     t  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      t     final
}
SourceFile: "NativeAuthenticator.java"
NestMembers:
  com.mongodb.internal.connection.NativeAuthenticator$1  com.mongodb.internal.connection.NativeAuthenticator$1$1
InnerClasses:
  com.mongodb.internal.connection.NativeAuthenticator$1