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