Guidance on hiding the password for AuthToken

I would like to be able to remove the credentials, I was wondering if anyone guides or advice to implement the AuthToken.custom procedure, I'm not too familiar with principal, realm, scheme.

Currently I'm using the Neo4j 4.4.12 driver jar

AuthToken.basic(String username, String password)

AuthToken.custom(String principal, String credentials, String realm, String scheme)