Interface RESTSecurityTokenService

    • Method Detail

      • getXMLToken

        @GET
        @Path("{tokenType}")
        @Produces("application/xml")
        javax.ws.rs.core.Response getXMLToken​(@PathParam("tokenType")
                                              String tokenType,
                                              @QueryParam("keyType")
                                              String keyType,
                                              @QueryParam("claim")
                                              List<String> requestedClaims,
                                              @QueryParam("appliesTo")
                                              String appliesTo,
                                              @QueryParam("wstrustResponse") @DefaultValue("false")
                                              boolean wstrustResponse)
        Returns:
        Issues required token type with default token settings.
      • getJSONToken

        @GET
        @Path("{tokenType}")
        @Produces("application/json;qs=0.8")
        javax.ws.rs.core.Response getJSONToken​(@PathParam("tokenType") @DefaultValue("jwt")
                                               String tokenType,
                                               @QueryParam("keyType")
                                               String keyType,
                                               @QueryParam("claim")
                                               List<String> requestedClaims,
                                               @QueryParam("appliesTo")
                                               String appliesTo)
      • getPlainToken

        @GET
        @Path("{tokenType}")
        @Produces("text/plain;qs=0.9")
        javax.ws.rs.core.Response getPlainToken​(@PathParam("tokenType")
                                                String tokenType,
                                                @QueryParam("keyType")
                                                String keyType,
                                                @QueryParam("claim")
                                                List<String> requestedClaims,
                                                @QueryParam("appliesTo")
                                                String appliesTo)
      • getKeyExchangeToken

        @POST
        @Path("KeyExchangeToken")
        @Produces({"application/xml","application/json"})
        javax.ws.rs.core.Response getKeyExchangeToken​(RequestSecurityTokenType request)