@Path(value="/introspect") @PermitAll public final class IntrospectionService extends Object
| Constructor and Description |
|---|
IntrospectionService(org.hibernate.Session session,
javax.ws.rs.core.SecurityContext securityContext)
Create a new introspection service.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
introspectionRequest(BigInteger tokenId)
Attempt to return the claims associated with this token.
|
@Inject
public IntrospectionService(org.hibernate.Session session,
javax.ws.rs.core.SecurityContext securityContext)
session - Injected hibernate session.securityContext - The security context for the current request.@POST
@Consumes(value="application/x-www-form-urlencoded")
@Produces(value="application/json")
public javax.ws.rs.core.Response introspectionRequest(@FormParam(value="token")
BigInteger tokenId)
tokenId - The token ID to introspect.Copyright © 2018 krotscheck.net. All rights reserved.