Search in sources :

Example 1 with WebPartners

use of org.jbei.ice.lib.net.WebPartners in project ice by JBEI.

the class AccessTokenResource method getWebPartner.

/**
     * Validates web of registries access token (api key)
     */
@GET
@Path("/web")
public Response getWebPartner(@QueryParam("url") String url) {
    WebPartners partners = new WebPartners();
    RegistryPartner partner = partners.get(worPartnerToken, url);
    return super.respond(partner);
}
Also used : WebPartners(org.jbei.ice.lib.net.WebPartners) RegistryPartner(org.jbei.ice.lib.dto.web.RegistryPartner)

Aggregations

RegistryPartner (org.jbei.ice.lib.dto.web.RegistryPartner)1 WebPartners (org.jbei.ice.lib.net.WebPartners)1