Search in sources :

Example 1 with IntrospectionService

use of io.jans.ca.server.service.IntrospectionService in project jans by JanssenProject.

the class IntrospectAccessTokenOperation method execute.

@Override
public IOpResponse execute(IntrospectAccessTokenParams params) {
    getValidationService().validate(params);
    final IntrospectionService introspectionService = getInstance(IntrospectionService.class);
    IntrospectionResponse response = introspectionService.introspectToken(params.getRpId(), params.getAccessToken());
    return new POJOResponse(response);
}
Also used : POJOResponse(io.jans.ca.common.response.POJOResponse) IntrospectionResponse(io.jans.as.model.common.IntrospectionResponse) IntrospectionService(io.jans.ca.server.service.IntrospectionService)

Aggregations

IntrospectionResponse (io.jans.as.model.common.IntrospectionResponse)1 POJOResponse (io.jans.ca.common.response.POJOResponse)1 IntrospectionService (io.jans.ca.server.service.IntrospectionService)1