All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.labkey.remoteapi.security.WhoAmICommand Maven / Gradle / Ivy

package org.labkey.remoteapi.security;

import org.json.simple.JSONObject;
import org.labkey.remoteapi.Command;

public class WhoAmICommand extends Command
{
    public WhoAmICommand()
    {
        super("login", "whoami.api");
    }

    @Override
    protected WhoAmIResponse createResponse(String text, int status, String contentType, JSONObject json)
    {
        return new WhoAmIResponse(text, status, contentType, json, this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy