Class AuthUserGetResponse

java.lang.Object
io.etcd.jetcd.impl.AbstractResponse<io.etcd.jetcd.api.AuthUserGetResponse>
io.etcd.jetcd.auth.AuthUserGetResponse
All Implemented Interfaces:
Response

public class AuthUserGetResponse extends AbstractResponse<io.etcd.jetcd.api.AuthUserGetResponse>
AuthUserGetResponse returned by Auth.userGet(ByteSequence) contains a header and a list of roles associated with the user.
  • Constructor Details

    • AuthUserGetResponse

      public AuthUserGetResponse(io.etcd.jetcd.api.AuthUserGetResponse response)
  • Method Details

    • getRoles

      public List<String> getRoles()
      Returns a list of roles.
      Returns:
      the roles.