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