/*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.xdi.oxauth.client.uma;
import org.xdi.oxauth.model.uma.RptIntrospectionResponse;
import org.xdi.oxauth.model.uma.UmaConstants;
import javax.ws.rs.FormParam;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Produces;
/**
* The endpoint at which the host requests the status of an RPT presented to it by a requester.
* The endpoint is RPT introspection profile implementation defined here:
* http://docs.kantarainitiative.org/uma/draft-uma-core.html#uma-bearer-token-profile
*/
public interface RptStatusService {
@POST
@Produces({UmaConstants.JSON_MEDIA_TYPE})
public RptIntrospectionResponse requestRptStatus(@HeaderParam("Authorization") String authorization,
@FormParam("token") String rptAsString,
@FormParam("token_type_hint") String tokenTypeHint);
}