@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 |
---|---|
io.reactivex.Single<io.micronaut.http.MutableHttpResponse<?>> |
echo(Authentication authentication,
io.micronaut.http.HttpRequest<?> request) |
io.reactivex.Single<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") public io.reactivex.Single<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 public io.reactivex.Single<io.micronaut.http.MutableHttpResponse<?>> echo(@NonNull Authentication authentication, @NonNull io.micronaut.http.HttpRequest<?> request)
authentication
- Currently authenticated userrequest
- HTTP Request