Interface IntrospectionService


  • public interface IntrospectionService
    Introspection service.
    Version:
    0.9, 17/09/2013
    Author:
    Yuriy Zabrovarnyy
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonNode introspect​(java.lang.String p_authorization, java.lang.String p_token)  
      io.jans.as.model.common.IntrospectionResponse introspectToken​(java.lang.String p_authorization, java.lang.String p_token)
      Returns introspection response for specified token.
      java.lang.String introspectTokenWithResponseAsJwt​(java.lang.String p_authorization, java.lang.String p_token, boolean responseAsJwt)  
    • Method Detail

      • introspectToken

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        io.jans.as.model.common.IntrospectionResponse introspectToken​(@HeaderParam("Authorization")
                                                                      java.lang.String p_authorization,
                                                                      @FormParam("token")
                                                                      java.lang.String p_token)
        Returns introspection response for specified token.
        Parameters:
        p_authorization - authorization token
        p_token - token to introspect
        Returns:
        introspection response
      • introspectTokenWithResponseAsJwt

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        java.lang.String introspectTokenWithResponseAsJwt​(@HeaderParam("Authorization")
                                                          java.lang.String p_authorization,
                                                          @FormParam("token")
                                                          java.lang.String p_token,
                                                          @FormParam("response_as_jwt")
                                                          boolean responseAsJwt)
      • introspect

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        com.fasterxml.jackson.databind.JsonNode introspect​(@HeaderParam("Authorization")
                                                           java.lang.String p_authorization,
                                                           @FormParam("token")
                                                           java.lang.String p_token)