Class 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 Detail

      • AuthUserGetResponse

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

      • getRoles

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