public class Auth extends Object
Constructor and Description |
---|
Auth() |
Auth(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessor() |
String |
getApplicationId() |
String |
getClientToken() |
long |
getLeaseDuration() |
JsonObject |
getMetadata() |
List<String> |
getPolicies() |
String |
getUserId() |
String |
getUsername() |
boolean |
isRenewable() |
Auth |
setAccessor(String accessor) |
Auth |
setClientToken(String clientToken) |
Auth |
setLeaseDuration(long leaseDuration) |
Auth |
setMetadata(JsonObject metadata) |
Auth |
setPolicies(List<String> policies) |
Auth |
setRenewable(boolean renewable) |
JsonObject |
toJson() |
String |
toString() |
public Auth()
public Auth(JsonObject json)
public String getAccessor()
public long getLeaseDuration()
public Auth setLeaseDuration(long leaseDuration)
public boolean isRenewable()
public Auth setRenewable(boolean renewable)
public JsonObject getMetadata()
public Auth setMetadata(JsonObject metadata)
public String getClientToken()
public String getApplicationId()
public String getUserId()
public String getUsername()
public JsonObject toJson()
Copyright © 2023 Eclipse. All rights reserved.