public class AuthSession extends Object
Constructor and Description |
---|
AuthSession(Map<String,String> headers,
CredentialsProvider credentialsProvider) |
Modifier and Type | Method and Description |
---|---|
static AuthSession |
fromRefreshCredentialsProvider(ScheduledExecutorService executor,
Map<String,String> headers,
CredentialsProvider credentialsProvider) |
Map<String,String> |
getHeaders() |
Boolean |
refresh() |
public AuthSession(Map<String,String> headers, CredentialsProvider credentialsProvider)
public static AuthSession fromRefreshCredentialsProvider(ScheduledExecutorService executor, Map<String,String> headers, CredentialsProvider credentialsProvider)
public Boolean refresh()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.