public class AzureActiveDirectoryAuthenticator extends Object implements Authenticator
| Constructor and Description |
|---|
AzureActiveDirectoryAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the name of this authenticator, this should be the value that is also in a kubeconfig
file.
|
String |
getToken(Map<String,Object> config)
Get a token from this authenticator.
|
boolean |
isExpired(Map<String,Object> config)
Determine if this config is expired
|
Map<String,Object> |
refresh(Map<String,Object> config)
Refresh an expired token with a new fresh one.
|
public String getName()
AuthenticatorgetName in interface Authenticatorpublic String getToken(Map<String,Object> config)
AuthenticatorgetToken in interface Authenticatorconfig - The configuration information for this authenticatorpublic boolean isExpired(Map<String,Object> config)
AuthenticatorisExpired in interface Authenticatorpublic Map<String,Object> refresh(Map<String,Object> config)
Authenticatorrefresh in interface AuthenticatorCopyright © 2021. All rights reserved.