public class TokenFileAuthentication extends Object implements Authentication, okhttp3.Interceptor
Constructor and Description |
---|
TokenFileAuthentication(String file) |
Modifier and Type | Method and Description |
---|---|
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
void |
provide(io.kubernetes.client.openapi.ApiClient client) |
void |
setExpiry(Instant expiry) |
void |
setFile(String file) |
public TokenFileAuthentication(String file)
public void setExpiry(Instant expiry)
public void setFile(String file)
public void provide(io.kubernetes.client.openapi.ApiClient client)
provide
in interface Authentication
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException
intercept
in interface okhttp3.Interceptor
IOException
Copyright © 2021. All rights reserved.