Class AuthMethodsResponse
- java.lang.Object
 - 
- de.stklcode.jvault.connector.model.response.VaultDataResponse
 - 
- de.stklcode.jvault.connector.model.response.AuthMethodsResponse
 
 
 
- 
- All Implemented Interfaces:
 VaultResponse
public final class AuthMethodsResponse extends VaultDataResponse
Authentication method response.- Since:
 - 0.1
 - Author:
 - Stefan Kalscheuer
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AuthMethodsResponse()Construct emptyAuthMethodsResponseobject. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,AuthMethod>getSupportedMethods()voidsetData(Map<String,Object> data)Set data.- 
Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponse
getLeaseDuration, getLeaseId, getWarnings, isRenewable 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AuthMethodsResponse
public AuthMethodsResponse()
Construct emptyAuthMethodsResponseobject. 
 - 
 
- 
Method Detail
- 
setData
public void setData(Map<String,Object> data) throws InvalidResponseException
Description copied from class:VaultDataResponseSet data. To be implemented in the specific subclasses, as data can be of arbitrary structure.- Specified by:
 setDatain classVaultDataResponse- Parameters:
 data- Raw response data- Throws:
 InvalidResponseException- on parsing errors
 
- 
getSupportedMethods
public Map<String,AuthMethod> getSupportedMethods()
- Returns:
 - Supported authentication methods
 
 
 - 
 
 -