Class Login.Response
- java.lang.Object
-
- io.helidon.integrations.common.rest.ApiJsonParser
-
- io.helidon.integrations.common.rest.ApiResponse
-
- io.helidon.integrations.common.rest.ApiEntityResponse
-
- io.helidon.integrations.vault.VaultResponse
-
- io.helidon.integrations.vault.auths.approle.Login.Response
-
- Enclosing class:
- Login
public static final class Login.Response extends VaultResponse
Response object parsed from JSON returned by theRestApi
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accessor()
Accessor.Map<String,String>
metadata()
Token metadata.VaultToken
token()
Token to use to invoke vault operations.List<String>
tokenPolicies()
Token policies attached to the token.-
Methods inherited from class io.helidon.integrations.vault.VaultResponse
vaultRequestId
-
Methods inherited from class io.helidon.integrations.common.rest.ApiResponse
headers, requestId, status
-
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
-
-
-
-
Method Detail
-
token
public VaultToken token()
Token to use to invoke vault operations.- Returns:
- vault token
-
accessor
public String accessor()
Accessor.- Returns:
- accessor
-
tokenPolicies
public List<String> tokenPolicies()
Token policies attached to the token.- Returns:
- list of token policy names
-
-