@ReadOperation
    @Operation(summary = "Get single token by id", parameters = @Parameter(name = "token", required = true, description = "The token id"))
    public Ticket getToken(@Selector final String token) {
        try {
            val ticketId = extractAccessTokenFrom(token);
            return ticketRegistry.getObject().getTicket(ticketId, Ticket.class);
        } catch (final Exception e) {
            LOGGER.debug("Ticket [{}] is has expired or cannot be found", token);
            return null;
        }
    }
Gets access token.

@param token the token id
@return the access token
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/mgmt/OAuth20TokenManagementEndpoint.java