Make createPatSupplier private to public
Closes #29986 Signed-off-by: Krishna Kumar <krishnachaurasia1998@gmail.com>
This commit is contained in:
parent
6de396d537
commit
fc80cc75fe
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue