Make createPatSupplier private to public

Closes #29986

Signed-off-by: Krishna Kumar <krishnachaurasia1998@gmail.com>
This commit is contained in:
Krishna Kumar 2024-07-23 16:41:42 +05:30 committed by GitHub
parent 6de396d537
commit fc80cc75fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -256,14 +256,14 @@ public class AuthzClient {
}
}
private TokenCallable createPatSupplier(String userName, String password) {
public TokenCallable createPatSupplier(String userName, String password) {
if (patSupplier == null) {
patSupplier = createRefreshableAccessTokenSupplier(userName, password);
}
return patSupplier;
}
private TokenCallable createPatSupplier() {
public TokenCallable createPatSupplier() {
return createPatSupplier(null, null);
}