@Controller(value="${micronaut.security.endpoints.introspection.path:/token_info}") @Secured(value="isAuthenticated()") public class IntrospectionController extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected IntrospectionProcessor |
processor |
Constructor and Description |
---|
IntrospectionController(IntrospectionProcessor processor) |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> |
echo(Authentication authentication,
io.micronaut.http.HttpRequest<?> request) |
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> |
tokenInfo(@Valid @NotNull IntrospectionRequest introspectionRequest,
io.micronaut.http.HttpRequest<?> request) |
protected final IntrospectionProcessor processor
public IntrospectionController(IntrospectionProcessor processor)
processor
- Introspection Processor@Post @Consumes(value="application/x-www-form-urlencoded") @SingleResult public org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> tokenInfo(@NonNull @Body @Valid @NotNull @Valid @NotNull IntrospectionRequest introspectionRequest, @NonNull io.micronaut.http.HttpRequest<?> request)
introspectionRequest
- Introspection Requestrequest
- HTTP Request@Get @SingleResult public org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> echo(@NonNull Authentication authentication, @NonNull io.micronaut.http.HttpRequest<?> request)
authentication
- Currently authenticated userrequest
- HTTP Request